[workspace] resolver = "3" members = ["crates/*"] [workspace.package] version = "0.3.1" edition = "2024" license = "MIT OR Apache-2.0" rust-version = "1.89" publish = false [workspace.dependencies] hud-core = { path = "crates/hud-core" } hud-server = { path = "crates/hud-server" } # atproto's primitives, from their own repository's registry (.cargo/config.toml). atproto = { version = "0.1.1", registry = "atproto" } axum = "0.8" base64 = "0.22" # Compressed answers read back, in hud-server's tests; the versions # tower-http's encoders use. brotli = "9" bytes = "1" # The same, gzip's. flate2 = "1" futures = "0.3" # Places' H3 cells, as Grain's galleries name a location (hud-core's places.rs). h3o = "0.11" # DNS asked of public resolvers, never the system's: handles' and # lexicons' TXT records, and the addresses outbound requests connect to. hickory-resolver = { version = "0.26", default-features = false, features = ["tokio"] } # Markdown read into a view's blocks on the server (hud-core's ui/document.rs). pulldown-cmark = { version = "0.13", default-features = false } # Trace ids, as random as the OS gives; the version atproto's keys use. rand_core = { version = "0.6", features = ["getrandom"] } reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "http2", "stream"] } # The operator's copy of the log lines (HUD_LOGS), in a SQLite file of # its own (hud-core's logs.rs). rusqlite = { version = "0.40", features = ["bundled"] } # Objects keep their keys' order: a lexicon's properties are shown in the # order it writes them, and a record's as its author wrote them. serde_json = { version = "1", features = ["preserve_order"] } # An app file's `hud`, the HUD versions it runs on, a semver requirement # (hud-core's operator.rs). semver = "1" # Audio blobs are kept on disk only once their bytes hash to their CID. sha2 = "0.10" tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "signal", "sync", "time", "fs"] } tokio-util = { version = "0.7", features = ["io"] } # Requests sent through the router whole, in hud-server's tests. tower = { version = "0.5", features = ["util"] } # Answers compressed at the origin, gzip or Brotli as the client takes # (hud-server's lib.rs): no proxy in front of HUD encodes them. tower-http = { version = "0.6", features = ["compression-gzip", "compression-br"] } tracing = "0.1" # The log as JSON lines, written by hud-core's telemetry.rs, its level # changed at run time through the reload layer. tracing-subscriber = { version = "0.3", default-features = false, features = ["std", "fmt", "env-filter", "registry"] } # Footnote labels matched as pulldown-cmark matches them, by Unicode case # folding (hud-core's ui/document.rs); the version pulldown-cmark uses. unicase = "2.10" # A clamped text's cut counted and made by graphemes, never inside one # (hud-core's ui/clamp.rs); the version atproto uses. unicode-segmentation = "1.13" url = "2" # Every worktree keeps its own target/, so debug info is kept small: line # tables for our crates, none for dependencies. [profile.dev] debug = "line-tables-only" [profile.dev.package."*"] debug = false [profile.release] lto = "thin" codegen-units = 1 strip = true