[workspace] members = [ "crates/firma", "crates/firma-audit-schema", "crates/firma-authority", "crates/firma-config-loader", "crates/firma-config-schema", "crates/firma-config-utils", "crates/firma-connection-store", "crates/firma-core", "crates/firma-demo-fixture", "crates/firma-demo-tui", "crates/firma-fs", "crates/firma-futures-util", "crates/firma-grpc-interceptor-proto", "crates/firma-http", "crates/firma-identifiers", "crates/firma-login", "crates/firma-process-orchestrator", "crates/firma-protobuf", "crates/firma-run", "crates/firma-runtime-state", "crates/firma-secret-provider", "crates/firma-sidecar", "crates/firma-stack", "crates/firma-test-helpers", "crates/firma-tui", "crates/firma-vz-guest-init", "crates/firma-vz-runner", ] resolver = "3" [workspace.package] version = "0.2.0-rc4" edition = "2024" license = "GPL-3.0-only" publish = false repository = "https://github.com/Firma-AI/openfirma" rust-version = "1.99" [workspace.lints.clippy] pedantic = { level = "warn", priority = -1 } nursery = { level = "warn", priority = -1 } unwrap_used = "warn" expect_used = "warn" panic = "warn" missing_const_for_fn = "allow" allow_attributes = "warn" [workspace.lints.rust] unsafe_code = "warn" [workspace.lints.rustdoc] private_intra_doc_links = "allow" # Line tables keep file and line numbers in panics and backtraces at a fraction # of the cost of full debuginfo, which makes linking dominate incremental # rebuilds. The test profile inherits this setting. To inspect variables in a # debugger, build with `CARGO_PROFILE_DEV_DEBUG=full` and # `CARGO_PROFILE_DEV_SPLIT_DEBUGINFO=unpacked`. [profile.dev] debug = "line-tables-only" [profile.release] lto = "fat" codegen-units = 1 # The profile that 'dist' will build with [profile.dist] inherits = "release" lto = "thin" [workspace.dependencies] aho-corasick = "1" anyhow = "1" apple-native-keyring-store = { version = "1", features = ["keychain"] } arbitrary = "1" arc-swap = "1" async-stream = "0.3" async-trait = "0.1" axum = { version = "0.8", default-features = false } axum-server = "0.8" base64 = "0.23" block2 = "0.6" brotli = "9" bytesize = "2.7" camino = "1.2" cedar-policy = "4.14" cedar-policy-core = "4.14" chrono = { version = "0.4", features = ["serde"] } clap = { version = "4", default-features = false } criterion = { version = "0.8", default-features = false, features = ["cargo_bench_support"] } ctrlc = { version = "3.5", features = ["termination"] } dialoguer = "0.12" dirs = "7" dispatch2 = "0.3" ecdsa = { version = "0.17", features = ["algorithm", "der"] } either = "1.17" firma-audit-schema = { path = "crates/firma-audit-schema", version = "0.2.0-rc4" } firma-authority = { path = "crates/firma-authority", version = "0.2.0-rc4" } firma-config-loader = { path = "crates/firma-config-loader", version = "0.2.0-rc4" } firma-config-schema = { path = "crates/firma-config-schema", version = "0.2.0-rc4" } firma-config-utils = { path = "crates/firma-config-utils", version = "0.2.0-rc4" } firma-connection-store = { path = "crates/firma-connection-store", version = "0.2.0-rc4" } firma-core = { path = "crates/firma-core", version = "0.2.0-rc4" } firma-fs = { path = "crates/firma-fs", version = "0.2.0-rc4" } firma-futures-util = { path = "crates/firma-futures-util", version = "0.2.0-rc4" } firma-grpc-interceptor-proto = { path = "crates/firma-grpc-interceptor-proto", version = "0.2.0-rc4" } firma-http = { path = "crates/firma-http", version = "0.2.0-rc4" } firma-identifiers = { path = "crates/firma-identifiers", version = "0.2.0-rc4" } firma-login = { path = "crates/firma-login", version = "0.2.0-rc4" } firma-process-orchestrator = { path = "crates/firma-process-orchestrator", version = "0.2.0-rc4" } firma-protobuf = { path = "crates/firma-protobuf", version = "0.2.0-rc4" } firma-run = { path = "crates/firma-run", version = "0.2.0-rc4" } firma-runtime-state = { path = "crates/firma-runtime-state", version = "0.2.0-rc4" } firma-secret-provider = { path = "crates/firma-secret-provider", version = "0.2.0-rc4" } firma-sidecar = { path = "crates/firma-sidecar", version = "0.2.0-rc4" } firma-stack = { path = "crates/firma-stack", version = "0.2.0-rc4" } firma-test-helpers = { path = "crates/firma-test-helpers", version = "0.2.0-rc4" } firma-tui = { path = "crates/firma-tui", version = "0.2.0-rc4" } flate2 = "1" form_urlencoded = "1" fs-err = "3.3" fs2 = "0.4.3" getrandom = "0.4" governor = "0.10" headers = "0.4" hex = "0.4" http = "1" http-body = "1" http-body-util = "0.1" hyper = { version = "1", default-features = false } hyper-util = { version = "0.1", default-features = false, features = ["tokio"] } insta = { version = "1", features = ["filters", "json", "redactions"] } jiff = "0.2" json-escape = "0.3" keyring-core = "1" libc = "0.2" lru = "0.18.2" miette = { version = "7", features = ["fancy-no-backtrace"] } mime = "0.3" nix = { version = "0.31", features = ["fs", "process", "signal", "socket", "user"] } notify = "8.2" objc2 = "0.6" objc2-foundation = "0.3" objc2-virtualization = { version = "0.3.2", default-features = false } owo-colors = { version = "4", features = ["supports-colors"] } p256 = { version = "0.14", features = ["ecdsa", "pem"] } pasetors = "0.8" percent-encoding = "2" pin-project = "1.1" pretty_assertions = "1" proptest = "1" prost = "0.14" prost-build = "0.14" prost-types = "0.14" protoc-bin-vendored = "3.2" quick-xml = "0.42" rand = { version = "0.9", default-features = false, features = ["small_rng"] } rcgen = { version = "0.14", features = ["x509-parser"] } regex = "1" reqwest = { version = "0.13", default-features = false, features = ["charset", "http2", "query", "rustls-no-provider"] } rustls = { version = "0.23", default-features = false, features = ["logging", "ring", "std", "tls12"] } rustls-platform-verifier = "0.7" same-file = "1" secrecy = "0.10" serde = { version = "1", features = ["derive"] } serde_json = "1" serde_json_path = "0.7" serde_repr = "0.1" serde_yaml = "0.9" sha2 = "0.11" signal-hook = "0.3" socket2 = "0.6" strum = "0.28" subtle = "2.6" tempfile = "3" thiserror = "2" time = { version = "0.3", default-features = false } tokio = { version = "1", default-features = false, features = ["rt-multi-thread", "macros", "net", "sync", "time"] } tokio-rustls = { version = "0.26", default-features = false, features = ["logging", "ring", "tls12"] } tokio-stream = { version = "0.1", features = ["sync"] } tokio-util = { version = "0.7", features = ["rt"] } toml = "1" toml_edit = "0.25" tonic = { version = "0.14", features = ["transport"] } tonic-health = "0.14" tonic-prost = "0.14" tonic-prost-build = "0.14" tower = { version = "0.5", default-features = false, features = ["util"] } tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] } type-safe-id = { version = "0.3.3", features = ["serde"] } url = "2" uuid = { version = "1", features = ["v4", "v7", "serde"] } wait-timeout = "0.2" webbrowser = { version = "1.2", features = ["hardened"] } webpki-roots = "1" windows-native-keyring-store = { version = "1", default-features = false } windows-sys = { version = "0.61", features = ["Win32_Foundation", "Win32_Security", "Win32_Storage_FileSystem", "Win32_System_Console", "Win32_System_Diagnostics_ToolHelp", "Win32_System_JobObjects", "Win32_System_Threading"] } wiremock = "0.6" x509-parser = "0.18" xxhash-rust = { version = "0.8", features = ["xxh3"] } zbus-secret-service-keyring-store = { version = "1", features = ["rt-async-io-crypto-rust"] } zeroize = "1" zstd = "0.14"