diff --git a/nix/Cargo.nix b/nix/Cargo.nix index dd419f04..68bce476 100644 --- a/nix/Cargo.nix +++ b/nix/Cargo.nix @@ -323,16 +323,6 @@ rec { # File a bug if you depend on any for non-debug work! debug = internal.debugCrate { inherit packageId; }; }; - "knot-consent" = rec { - packageId = "knot-consent"; - build = internal.buildRustCrateWithFeatures { - packageId = "knot-consent"; - }; - - # Debug support which might change between releases. - # File a bug if you depend on any for non-debug work! - debug = internal.debugCrate { inherit packageId; }; - }; "knot-edge" = rec { packageId = "knot-edge"; build = internal.buildRustCrateWithFeatures { @@ -4126,7 +4116,7 @@ rec { name = "tower-http"; packageId = "tower-http 0.7.0"; usesDefaultFeatures = false; - features = [ "trace" ]; + features = [ "cors" "trace" ]; } { name = "tracing"; @@ -10029,7 +10019,11 @@ rec { { name = "gix"; packageId = "gix"; - features = [ "parallel" "blob-diff" "blame" "merge" "sha1" "sha256" "revision" "tree-editor" ]; + features = [ "parallel" "blob-diff" "blame" "merge" "sha1" "sha256" "revision" "tree-editor" "worktree-stream" ]; + } + { + name = "gix-archive"; + packageId = "gix-archive"; } { name = "gix-pack"; @@ -10104,6 +10098,10 @@ rec { name = "tangled-axum"; packageId = "tangled-axum"; } + { + name = "tempfile"; + packageId = "tempfile"; + } { name = "thiserror"; packageId = "thiserror 2.0.18"; @@ -10119,10 +10117,6 @@ rec { } ]; devDependencies = [ - { - name = "tempfile"; - packageId = "tempfile"; - } { name = "tokio"; packageId = "tokio"; @@ -18396,56 +18390,6 @@ rec { } ]; - }; - "knot-consent" = rec { - crateName = "knot-consent"; - version = "2.0.0"; - edition = "2024"; - src = lib.cleanSourceWith { filter = sourceFilter; src = ../knot2/crates/knot-consent; }; - libName = "knot_consent"; - dependencies = [ - { - name = "knot-atproto"; - packageId = "knot-atproto"; - } - { - name = "knot-index"; - packageId = "knot-index"; - } - { - name = "knot-runtime"; - packageId = "knot-runtime"; - } - { - name = "knot-types"; - packageId = "knot-types"; - } - { - name = "tracing"; - packageId = "tracing"; - } - ]; - devDependencies = [ - { - name = "bytes"; - packageId = "bytes"; - } - { - name = "http"; - packageId = "http"; - } - { - name = "tokio"; - packageId = "tokio"; - features = [ "macros" "rt-multi-thread" "time" "signal" "io-util" "net" "sync" ]; - } - { - name = "url"; - packageId = "url"; - features = [ "serde" ]; - } - ]; - }; "knot-edge" = rec { crateName = "knot-edge"; @@ -19655,6 +19599,10 @@ rec { packageId = "serde"; features = [ "derive" ]; } + { + name = "serde_bytes"; + packageId = "serde_bytes"; + } { name = "serde_ipld_dagcbor"; packageId = "serde_ipld_dagcbor"; @@ -19898,6 +19846,11 @@ rec { name = "base64"; packageId = "base64"; } + { + name = "clap"; + packageId = "clap"; + features = [ "derive" "env" ]; + } { name = "knot-atproto"; packageId = "knot-atproto"; @@ -19974,11 +19927,22 @@ rec { name = "knot-xrpc"; packageId = "knot-xrpc"; } + { + name = "reqwest"; + packageId = "reqwest 0.13.1"; + usesDefaultFeatures = false; + features = [ "rustls" "http2" "json" "gzip" "stream" ]; + } { name = "rustix"; packageId = "rustix"; features = [ "process" ]; } + { + name = "serde_json"; + packageId = "serde_json"; + features = [ "raw_value" ]; + } { name = "tikv-jemalloc-ctl"; packageId = "tikv-jemalloc-ctl"; @@ -20091,10 +20055,6 @@ rec { name = "knot-config"; packageId = "knot-config"; } - { - name = "knot-consent"; - packageId = "knot-consent"; - } { name = "knot-events"; packageId = "knot-events"; @@ -20250,10 +20210,6 @@ rec { name = "knot-cobs"; packageId = "knot-cobs"; } - { - name = "knot-consent"; - packageId = "knot-consent"; - } { name = "knot-git"; packageId = "knot-git"; @@ -20577,10 +20533,6 @@ rec { name = "knot-cobs"; packageId = "knot-cobs"; } - { - name = "knot-consent"; - packageId = "knot-consent"; - } { name = "knot-events"; packageId = "knot-events";