From 15363128e94c411e129a257535812527df361ca2 Mon Sep 17 00:00:00 2001 From: Apilium Developer Team Date: Sat, 7 Mar 2026 10:42:40 +0100 Subject: [PATCH 1/7] chore: bump all product crate versions to 0.3.6 Aligns all 12 product crates to v0.3.6 and updates inter-crate dependency version requirements accordingly. --- crates/ai_hash/Cargo.toml | 2 +- crates/aingle/Cargo.toml | 6 +++--- crates/aingle_ai/Cargo.toml | 2 +- crates/aingle_contracts/Cargo.toml | 4 ++-- crates/aingle_cortex/Cargo.toml | 20 ++++++++++---------- crates/aingle_graph/Cargo.toml | 6 +++--- crates/aingle_logic/Cargo.toml | 6 +++--- crates/aingle_minimal/Cargo.toml | 10 +++++----- crates/aingle_viz/Cargo.toml | 6 +++--- crates/aingle_zk/Cargo.toml | 4 ++-- crates/aingle_zome_types/Cargo.toml | 4 ++-- crates/hope_agents/Cargo.toml | 4 ++-- crates/titans_memory/Cargo.toml | 2 +- 13 files changed, 38 insertions(+), 38 deletions(-) diff --git a/crates/ai_hash/Cargo.toml b/crates/ai_hash/Cargo.toml index 6afc6a0..377b9a8 100644 --- a/crates/ai_hash/Cargo.toml +++ b/crates/ai_hash/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ai_hash" -version = "0.0.3" +version = "0.3.6" authors = ["Apilium Technologies "] keywords = [ "aingle", "ai", "hash", "blake", "blake2b" ] categories = [ "cryptography" ] diff --git a/crates/aingle/Cargo.toml b/crates/aingle/Cargo.toml index e775d47..7126233 100644 --- a/crates/aingle/Cargo.toml +++ b/crates/aingle/Cargo.toml @@ -26,14 +26,14 @@ ghost_actor = "0.3.0-alpha.1" ai_hash = { version = ">=0.0.1", path = "../ai_hash", features = ["full"] } aingle_cascade = { version = "0.0.1", path = "../aingle_cascade" } aingle_conductor_api = { version = "0.0.1", path = "../aingle_conductor_api" } -aingle_ai = { version = "0.1.0", path = "../aingle_ai", optional = true } +aingle_ai = { version = "0.3", path = "../aingle_ai", optional = true } aingle_keystore = { version = "0.0.1", path = "../aingle_keystore" } aingle_p2p = { version = "0.0.1", path = "../aingle_p2p" } aingle_sqlite = { version = "0.0.1", path = "../aingle_sqlite" } aingle_middleware_bytes = "=0.0.3" aingle_state = { version = "0.0.1", path = "../aingle_state" } aingle_types = { version = "0.0.1", path = "../aingle_types" } -aingle_cortex = { version = "0.2.6", path = "../aingle_cortex", default-features = false, features = ["rest"] } +aingle_cortex = { version = "0.3", path = "../aingle_cortex", default-features = false, features = ["rest"] } aingle_wasmer_host = "0.0.1" aingle_websocket = { version = "0.0.1", path = "../aingle_websocket" } wasmer = "=7.0.1" @@ -94,7 +94,7 @@ anyhow = "1.0" assert_cmd = "2.1" criterion = "0.5" maplit = "1" -pretty_assertions = "0.7.2" +pretty_assertions = "1.4" serial_test = "3.4" test-case = "3.3" diff --git a/crates/aingle_ai/Cargo.toml b/crates/aingle_ai/Cargo.toml index 25d4b05..8e29e06 100644 --- a/crates/aingle_ai/Cargo.toml +++ b/crates/aingle_ai/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aingle_ai" -version = "0.1.1" +version = "0.3.6" description = "AI integration layer for AIngle - Titans Memory, Nested Learning, HOPE Agents" license = "Apache-2.0" repository = "https://github.com/ApiliumCode/aingle" diff --git a/crates/aingle_contracts/Cargo.toml b/crates/aingle_contracts/Cargo.toml index 5f84116..36cf710 100644 --- a/crates/aingle_contracts/Cargo.toml +++ b/crates/aingle_contracts/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aingle_contracts" -version = "0.2.0" +version = "0.3.6" description = "Smart Contracts DSL and WASM Runtime for AIngle" license = "Apache-2.0" repository = "https://github.com/ApiliumCode/aingle" @@ -47,5 +47,5 @@ tracing = "0.1" dashmap = "6.0" [dev-dependencies] -tempfile = "3.25" +tempfile = "3.26" tokio-test = "0.4" diff --git a/crates/aingle_cortex/Cargo.toml b/crates/aingle_cortex/Cargo.toml index 70f99df..6788d75 100644 --- a/crates/aingle_cortex/Cargo.toml +++ b/crates/aingle_cortex/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aingle_cortex" -version = "0.2.6" +version = "0.3.6" description = "Córtex API - REST/GraphQL/SPARQL interface for AIngle semantic graphs" license = "Apache-2.0" repository = "https://github.com/ApiliumCode/aingle" @@ -26,13 +26,13 @@ path = "src/main.rs" [dependencies] # Core AIngle crates -aingle_graph = { version = "0.2", path = "../aingle_graph" } -aingle_logic = { version = "0.2", path = "../aingle_logic" } -aingle_zk = { version = "0.2", path = "../aingle_zk" } -titans_memory = { version = "0.2", path = "../titans_memory" } +aingle_graph = { version = "0.3", path = "../aingle_graph" } +aingle_logic = { version = "0.3", path = "../aingle_logic" } +aingle_zk = { version = "0.3", path = "../aingle_zk" } +titans_memory = { version = "0.3", path = "../titans_memory" } -# Web framework (use 0.7 for async-graphql-axum compatibility) -axum = { version = "0.7", features = ["ws", "macros"] } +# Web framework +axum = { version = "0.8", features = ["ws", "macros"] } tower = "0.5" tower-http = { version = "0.6", features = ["cors", "trace", "compression-gzip"] } @@ -44,7 +44,7 @@ async-graphql-axum = { version = "7.2", optional = true } spargebra = { version = "0.4", optional = true } # Authentication (optional) -jsonwebtoken = { version = "9.0", optional = true } +jsonwebtoken = { version = "10", optional = true } argon2 = { version = "0.5", optional = true } # Async runtime @@ -81,12 +81,12 @@ regex = "1.12" reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] } # Zome types (for WASM boundary types in client.rs) -aingle_zome_types = { version = ">=0.0.1", path = "../aingle_zome_types", default-features = false } +aingle_zome_types = { version = ">=0.3", path = "../aingle_zome_types", default-features = false } # Rate limiting dashmap = "6.0" [dev-dependencies] -tempfile = "3.25" +tempfile = "3.26" reqwest = { version = "0.12", features = ["json"] } tokio-test = "0.4" diff --git a/crates/aingle_graph/Cargo.toml b/crates/aingle_graph/Cargo.toml index 9ff7077..08896b6 100644 --- a/crates/aingle_graph/Cargo.toml +++ b/crates/aingle_graph/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aingle_graph" -version = "0.2.2" +version = "0.3.6" description = "Native GraphDB for AIngle - Semantic triple store with SPO indexes" license = "Apache-2.0" repository = "https://github.com/ApiliumCode/aingle" @@ -27,7 +27,7 @@ full = ["sled-backend", "rocksdb-backend", "sqlite-backend", "rdf"] # Serialization serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -bincode = "1.3" +bincode = { version = "2.0.1", features = ["serde"] } # Hashing blake3 = "1.8" @@ -55,7 +55,7 @@ rio_api = { version = "0.8", optional = true } [dev-dependencies] criterion = "0.5" -tempfile = "3.25" +tempfile = "3.26" [[bench]] name = "graph_bench" diff --git a/crates/aingle_logic/Cargo.toml b/crates/aingle_logic/Cargo.toml index 147c834..42183d7 100644 --- a/crates/aingle_logic/Cargo.toml +++ b/crates/aingle_logic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aingle_logic" -version = "0.2.1" +version = "0.3.6" description = "Proof-of-Logic validation engine for AIngle semantic graphs" license = "Apache-2.0" repository = "https://github.com/ApiliumCode/aingle" @@ -21,7 +21,7 @@ owl = [] [dependencies] # Graph database -aingle_graph = { version = "0.2", path = "../aingle_graph" } +aingle_graph = { version = "0.3", path = "../aingle_graph" } # Serialization serde = { version = "1.0", features = ["derive"] } @@ -46,4 +46,4 @@ regex = "1.12" hex = "0.4" [dev-dependencies] -tempfile = "3.25" +tempfile = "3.26" diff --git a/crates/aingle_minimal/Cargo.toml b/crates/aingle_minimal/Cargo.toml index 7d1f075..43954a9 100644 --- a/crates/aingle_minimal/Cargo.toml +++ b/crates/aingle_minimal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aingle_minimal" -version = "0.3.1" +version = "0.3.6" description = "Ultra-light AIngle node for IoT devices (<1MB RAM)" license = "Apache-2.0" repository = "https://github.com/ApiliumCode/aingle" @@ -78,11 +78,11 @@ rusqlite = { version = "0.25", default-features = false, features = ["bundled"], rocksdb = { version = "0.24", optional = true } # mDNS/DNS-SD for peer discovery -mdns-sd = { version = "0.11", optional = true } +mdns-sd = { version = "0.18", optional = true } if-addrs = { version = "0.13", optional = true } # WebRTC for browser support -webrtc = { version = "0.14", optional = true } +webrtc = { version = "0.17", optional = true } bytes = { version = "1.11", optional = true } # WebSocket signaling server for WebRTC async-tungstenite = { version = "0.27", features = ["async-std-runtime"], optional = true } @@ -122,10 +122,10 @@ embedded-hal = { version = "1.0", optional = true } embedded-hal-async = { version = "1.0", optional = true } # AI Memory (Titans Memory) -titans_memory = { version = "0.1", optional = true } +titans_memory = { version = "0.3", path = "../titans_memory", optional = true } # HOPE Agents (AI Agent Framework) -hope_agents = { version = "0.1", optional = true } +hope_agents = { version = "0.3", path = "../hope_agents", optional = true } # REST API server (lightweight HTTP) tiny_http = { version = "0.12", optional = true } diff --git a/crates/aingle_viz/Cargo.toml b/crates/aingle_viz/Cargo.toml index 2361779..b0fbf9c 100644 --- a/crates/aingle_viz/Cargo.toml +++ b/crates/aingle_viz/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aingle_viz" -version = "0.2.0" +version = "0.3.6" description = "DAG Visualization for AIngle - Web-based graph explorer" license = "Apache-2.0" repository = "https://github.com/ApiliumCode/aingle" @@ -17,7 +17,7 @@ default = [] [dependencies] # Web framework -axum = { version = "0.7", features = ["ws", "macros"] } +axum = { version = "0.8", features = ["ws", "macros"] } tower = { version = "0.5", features = ["util"] } tower-http = { version = "0.6", features = ["cors", "fs", "trace"] } @@ -30,7 +30,7 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" # Graph data -aingle_graph = { version = "0.2", path = "../aingle_graph" } +aingle_graph = { version = "0.3", path = "../aingle_graph" } aingle_minimal = { version = "0.3", path = "../aingle_minimal", default-features = false, features = ["sqlite"] } # Utilities diff --git a/crates/aingle_zk/Cargo.toml b/crates/aingle_zk/Cargo.toml index f1de663..dc7619c 100644 --- a/crates/aingle_zk/Cargo.toml +++ b/crates/aingle_zk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aingle_zk" -version = "0.2.1" +version = "0.3.6" description = "Zero-Knowledge Proofs for AIngle - privacy-preserving cryptographic primitives" license = "Apache-2.0" repository = "https://github.com/ApiliumCode/aingle" @@ -42,7 +42,7 @@ rayon = "1.8" # Serialization serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -bincode = "1.3" +bincode = { version = "2.0.1", features = ["serde"] } # Error handling thiserror = "2.0" diff --git a/crates/aingle_zome_types/Cargo.toml b/crates/aingle_zome_types/Cargo.toml index 2289c74..c2317b4 100644 --- a/crates/aingle_zome_types/Cargo.toml +++ b/crates/aingle_zome_types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "aingle_zome_types" -version = "0.0.4" +version = "0.3.6" description = "AIngle zome types" license = "Apache-2.0" homepage = "https://apilium.com" @@ -14,7 +14,7 @@ edition = "2018" [dependencies] chrono = { version = "0.4", default-features = false, features = ["clock", "std"] } -ai_hash = { version = ">=0.0.1", path = "../ai_hash", default-features = false, features = ["serialized-bytes", "string-encoding"] } +ai_hash = { version = ">=0.3", path = "../ai_hash", default-features = false, features = ["serialized-bytes", "string-encoding"] } aingle_middleware_bytes = "=0.0.3" paste = "1.0" serde = { version = "1.0", features = [ "derive" ] } diff --git a/crates/hope_agents/Cargo.toml b/crates/hope_agents/Cargo.toml index 300233a..0799dcc 100644 --- a/crates/hope_agents/Cargo.toml +++ b/crates/hope_agents/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hope_agents" -version = "0.2.1" +version = "0.3.6" description = "HOPE Agents: Hierarchical Optimizing Policy Engine for AIngle AI agents" license = "Apache-2.0" repository = "https://github.com/ApiliumCode/aingle" @@ -31,7 +31,7 @@ serde_json = "1.0" log = "0.4" # AI Memory integration -titans_memory = { version = "0.2", path = "../titans_memory", optional = true } +titans_memory = { version = "0.3", path = "../titans_memory", optional = true } # Random for exploration (updated from 0.7) rand = { version = "0.9", default-features = false, features = ["std", "thread_rng"] } diff --git a/crates/titans_memory/Cargo.toml b/crates/titans_memory/Cargo.toml index 08c751d..4b4d1cd 100644 --- a/crates/titans_memory/Cargo.toml +++ b/crates/titans_memory/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "titans_memory" -version = "0.2.1" +version = "0.3.6" description = "Titans Memory: Neural-inspired memory system for AIngle AI agents" license = "Apache-2.0" repository = "https://github.com/ApiliumCode/aingle" From c674366619b4fca27be529752b777288c0c9323e Mon Sep 17 00:00:00 2001 From: Apilium Developer Team Date: Sat, 7 Mar 2026 10:42:49 +0100 Subject: [PATCH 2/7] deps: update minor dependencies (tempfile, pretty_assertions, sysinfo, rand_core) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - tempfile 3.25 → 3.26 - pretty_assertions 0.7.2 → 1.4 - sysinfo 0.37 → 0.38 - rand_core 0.6 → 0.9 (ai_fixt only) --- crates/ai_fixt/Cargo.toml | 2 +- crates/aingle_cascade/Cargo.toml | 2 +- crates/aingle_state/Cargo.toml | 2 +- crates/kitsune_p2p/types/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/ai_fixt/Cargo.toml b/crates/ai_fixt/Cargo.toml index f0551a0..d0e13f6 100644 --- a/crates/ai_fixt/Cargo.toml +++ b/crates/ai_fixt/Cargo.toml @@ -17,7 +17,7 @@ lazy_static = "1.4" parking_lot = "0.12" paste = "1.0" rand = "0.9" -rand_core = "0.6" +rand_core = "0.9" serde = { version = "1.0", features = [ "derive" ] } strum = "0.26" strum_macros = "0.26" diff --git a/crates/aingle_cascade/Cargo.toml b/crates/aingle_cascade/Cargo.toml index 12d8db0..3dacd73 100644 --- a/crates/aingle_cascade/Cargo.toml +++ b/crates/aingle_cascade/Cargo.toml @@ -39,7 +39,7 @@ mockall = { version = "0.11", optional = true } [dev-dependencies] matches = "0.1" -pretty_assertions = "0.7.2" +pretty_assertions = "1.4" [features] default = ["test_utils"] diff --git a/crates/aingle_state/Cargo.toml b/crates/aingle_state/Cargo.toml index 1b76ba9..ab470bb 100644 --- a/crates/aingle_state/Cargo.toml +++ b/crates/aingle_state/Cargo.toml @@ -45,7 +45,7 @@ adk = { version = "^0.0.1", path = "../adk" } aingle_wasm_test_utils = { path = "../test_utils/wasm", version = "0.0.1" } matches = "0.1.8" observability = { version = "0.1", package = "aingle-observability" } -pretty_assertions = "0.7.2" +pretty_assertions = "1.4" tempdir = "0.3" diff --git a/crates/kitsune_p2p/types/Cargo.toml b/crates/kitsune_p2p/types/Cargo.toml index 932386a..b5061b0 100644 --- a/crates/kitsune_p2p/types/Cargo.toml +++ b/crates/kitsune_p2p/types/Cargo.toml @@ -34,7 +34,7 @@ serde = { version = "1", features = [ "derive", "rc" ] } serde_bytes = "0.11" serde_json = { version = "1", features = [ "preserve_order" ] } shrinkwraprs = "0.3.0" -sysinfo = "0.37" +sysinfo = "0.38" thiserror = "2.0" tokio = { version = "1", features = [ "full" ] } tokio-stream = { version = "0.1", features = [ "sync", "net" ] } From c27546aacf5ba395f4fd6b739e5661466f522e4a Mon Sep 17 00:00:00 2001 From: Apilium Developer Team Date: Sat, 7 Mar 2026 10:42:55 +0100 Subject: [PATCH 3/7] ci: update GitHub Actions artifacts to v7/v8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - actions/upload-artifact v6 → v7 - actions/download-artifact v7 → v8 --- .github/workflows/release.yml | 6 +++--- .github/workflows/security.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f11ddb..3d4adac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -110,13 +110,13 @@ jobs: 7z a -tzip ${{ matrix.cortex_name }}.zip ${{ matrix.cortex_name }} - name: Upload aingle-minimal artifact - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: ${{ matrix.name }} path: dist/${{ matrix.name }}.* - name: Upload aingle-cortex artifact - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: ${{ matrix.cortex_name }} path: dist/${{ matrix.cortex_name }}.* @@ -129,7 +129,7 @@ jobs: - uses: actions/checkout@v6 - name: Download all artifacts - uses: actions/download-artifact@v7 + uses: actions/download-artifact@v8 with: path: artifacts diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 202b2bd..bd585f8 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -46,7 +46,7 @@ jobs: echo "No critical vulnerabilities found" - name: Upload audit report - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: security-audit-report path: audit-report.json From 7ce8b51fccee342580e4bb82827167551a7e48b2 Mon Sep 17 00:00:00 2001 From: Apilium Developer Team Date: Sat, 7 Mar 2026 10:43:06 +0100 Subject: [PATCH 4/7] deps: upgrade axum 0.8, bincode 2.x, jsonwebtoken 10, mdns-sd 0.18, webrtc 0.17 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Major dependency upgrades with required API migrations: - axum 0.7 → 0.8: WebSocket Message::Text now uses Utf8Bytes - bincode 1.x → 2.x: migrate to bincode::serde::{encode_to_vec,decode_from_slice} - jsonwebtoken 9.x → 10.x: stable API, no code changes needed - mdns-sd 0.11 → 0.18 - webrtc 0.14 → 0.17 - rmp-serde 1.x: remove deprecated with_string_variants() (now default) --- crates/aingle_graph/src/error.rs | 10 ++++++++-- crates/aingle_graph/src/node.rs | 6 ++++-- crates/aingle_graph/src/triple.rs | 6 ++++-- crates/aingle_graph/src/value.rs | 6 ++++-- crates/aingle_viz/src/api.rs | 4 ++-- crates/kitsune_p2p/types/src/codec.rs | 3 +-- 6 files changed, 23 insertions(+), 12 deletions(-) diff --git a/crates/aingle_graph/src/error.rs b/crates/aingle_graph/src/error.rs index e003e49..18609d7 100644 --- a/crates/aingle_graph/src/error.rs +++ b/crates/aingle_graph/src/error.rs @@ -73,8 +73,14 @@ impl From for Error { } } -impl From for Error { - fn from(err: bincode::Error) -> Self { +impl From for Error { + fn from(err: bincode::error::EncodeError) -> Self { + Self::Serialization(err.to_string()) + } +} + +impl From for Error { + fn from(err: bincode::error::DecodeError) -> Self { Self::Serialization(err.to_string()) } } diff --git a/crates/aingle_graph/src/node.rs b/crates/aingle_graph/src/node.rs index e09a187..8efdaad 100644 --- a/crates/aingle_graph/src/node.rs +++ b/crates/aingle_graph/src/node.rs @@ -184,12 +184,14 @@ impl NodeId { /// Serializes the `NodeId` to a byte vector for storage. pub fn to_bytes(&self) -> Vec { - bincode::serialize(self).unwrap_or_default() + bincode::serde::encode_to_vec(self, bincode::config::standard()).unwrap_or_default() } /// Deserializes a `NodeId` from a byte slice. pub fn from_storage_bytes(bytes: &[u8]) -> Option { - bincode::deserialize(bytes).ok() + bincode::serde::decode_from_slice(bytes, bincode::config::standard()) + .map(|(v, _)| v) + .ok() } } diff --git a/crates/aingle_graph/src/triple.rs b/crates/aingle_graph/src/triple.rs index 54207d3..fe61f43 100644 --- a/crates/aingle_graph/src/triple.rs +++ b/crates/aingle_graph/src/triple.rs @@ -404,12 +404,14 @@ impl Triple { /// Serializes the `Triple` to a byte vector for storage. pub fn to_bytes(&self) -> Vec { - bincode::serialize(self).unwrap_or_default() + bincode::serde::encode_to_vec(self, bincode::config::standard()).unwrap_or_default() } /// Deserializes a `Triple` from a byte slice. pub fn from_bytes(bytes: &[u8]) -> Option { - bincode::deserialize(bytes).ok() + bincode::serde::decode_from_slice(bytes, bincode::config::standard()) + .map(|(v, _)| v) + .ok() } /// Creates a set of pre-computed, lexicographically sortable keys for database indexing. diff --git a/crates/aingle_graph/src/value.rs b/crates/aingle_graph/src/value.rs index c090a4c..5e1aabe 100644 --- a/crates/aingle_graph/src/value.rs +++ b/crates/aingle_graph/src/value.rs @@ -282,12 +282,14 @@ impl Value { /// Serializes the `Value` to a byte vector for storage. pub fn to_bytes(&self) -> Vec { - bincode::serialize(self).unwrap_or_default() + bincode::serde::encode_to_vec(self, bincode::config::standard()).unwrap_or_default() } /// Deserializes a `Value` from a byte slice. pub fn from_bytes(bytes: &[u8]) -> Option { - bincode::deserialize(bytes).ok() + bincode::serde::decode_from_slice(bytes, bincode::config::standard()) + .map(|(v, _)| v) + .ok() } /// Returns a byte vector suitable for lexicographical sorting in the database indexes. diff --git a/crates/aingle_viz/src/api.rs b/crates/aingle_viz/src/api.rs index adb5fc7..0101fc6 100644 --- a/crates/aingle_viz/src/api.rs +++ b/crates/aingle_viz/src/api.rs @@ -580,7 +580,7 @@ async fn handle_websocket(socket: WebSocket, state: ApiState) { "type": "initial_state", "data": dag.to_d3_json(), }); - if let Err(e) = sender.send(Message::Text(initial.to_string())).await { + if let Err(e) = sender.send(Message::Text(initial.to_string().into())).await { log::error!("Failed to send initial state to {}: {}", client_id, e); return; } @@ -592,7 +592,7 @@ async fn handle_websocket(socket: WebSocket, state: ApiState) { let send_task = tokio::spawn(async move { while let Ok(event) = event_rx.recv().await { let json = event.to_json(); - if sender.send(Message::Text(json)).await.is_err() { + if sender.send(Message::Text(json.into())).await.is_err() { // Client disconnected. break; } diff --git a/crates/kitsune_p2p/types/src/codec.rs b/crates/kitsune_p2p/types/src/codec.rs index e228357..375336f 100644 --- a/crates/kitsune_p2p/types/src/codec.rs +++ b/crates/kitsune_p2p/types/src/codec.rs @@ -8,8 +8,7 @@ where S: serde::Serialize, { let mut se = rmp_serde::encode::Serializer::new(write) - .with_struct_map() - .with_string_variants(); + .with_struct_map(); item.serialize(&mut se).map_err(std::io::Error::other)?; Ok(()) } From 8fd2dd09dd7ffade05316d6046f76fdbc1505f3c Mon Sep 17 00:00:00 2001 From: Apilium Developer Team Date: Sat, 7 Mar 2026 10:43:12 +0100 Subject: [PATCH 5/7] chore: update Cargo.lock for v0.3.6 release --- Cargo.lock | 778 +++++++++++++++++++++++++---------------------------- 1 file changed, 363 insertions(+), 415 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6dd28eb..7c5ca16 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -141,11 +141,11 @@ dependencies = [ name = "ai_autonomous_agent" version = "0.1.0" dependencies = [ - "hope_agents 0.2.1", + "hope_agents", "rand 0.9.2", "serde", "serde_json", - "titans_memory 0.2.1", + "titans_memory", ] [[package]] @@ -157,7 +157,7 @@ dependencies = [ "parking_lot 0.12.5", "paste", "rand 0.9.2", - "rand_core 0.6.4", + "rand_core 0.9.5", "serde", "strum 0.26.3", "strum_macros 0.26.4", @@ -173,7 +173,7 @@ dependencies = [ [[package]] name = "ai_hash" -version = "0.0.3" +version = "0.3.6" dependencies = [ "ai_fixt", "aingle_middleware_bytes", @@ -248,7 +248,7 @@ dependencies = [ "rand 0.9.2", "ring 0.17.14", "rusqlite", - "rustls 0.23.36", + "rustls 0.23.37", "sd-notify", "serde", "serde_json", @@ -294,7 +294,7 @@ dependencies = [ [[package]] name = "aingle_ai" -version = "0.1.1" +version = "0.3.6" dependencies = [ "blake2", "candle-core 0.9.2", @@ -434,7 +434,7 @@ dependencies = [ [[package]] name = "aingle_contracts" -version = "0.2.0" +version = "0.3.6" dependencies = [ "blake3", "dashmap 6.1.0", @@ -452,7 +452,7 @@ dependencies = [ [[package]] name = "aingle_cortex" -version = "0.2.6" +version = "0.3.6" dependencies = [ "aingle_graph", "aingle_logic", @@ -461,7 +461,7 @@ dependencies = [ "argon2", "async-graphql", "async-graphql-axum", - "axum 0.7.9", + "axum", "blake3", "chrono", "dashmap 6.1.0", @@ -476,7 +476,7 @@ dependencies = [ "spargebra", "tempfile", "thiserror 2.0.18", - "titans_memory 0.2.1", + "titans_memory", "tokio", "tokio-stream", "tokio-test", @@ -490,7 +490,7 @@ dependencies = [ [[package]] name = "aingle_graph" -version = "0.2.2" +version = "0.3.6" dependencies = [ "bincode", "blake3", @@ -529,7 +529,7 @@ dependencies = [ [[package]] name = "aingle_logic" -version = "0.2.1" +version = "0.3.6" dependencies = [ "aingle_graph", "chrono", @@ -570,7 +570,7 @@ dependencies = [ [[package]] name = "aingle_minimal" -version = "0.3.1" +version = "0.3.6" dependencies = [ "async-io", "async-tungstenite", @@ -586,7 +586,7 @@ dependencies = [ "env_logger", "esp32-nimble", "futures-util", - "hope_agents 0.1.0", + "hope_agents", "if-addrs 0.13.4", "ledger-transport", "ledger-transport-hid", @@ -597,13 +597,13 @@ dependencies = [ "rcgen 0.13.2", "rocksdb", "rusqlite", - "rustls 0.23.36", + "rustls 0.23.37", "semver", "serde", "serde_json", "smol", "tiny_http", - "titans_memory 0.1.0", + "titans_memory", "uuid", "webrtc", ] @@ -790,11 +790,11 @@ dependencies = [ [[package]] name = "aingle_viz" -version = "0.2.0" +version = "0.3.6" dependencies = [ "aingle_graph", "aingle_minimal", - "axum 0.7.9", + "axum", "chrono", "clap 4.5.60", "env_logger", @@ -909,7 +909,7 @@ dependencies = [ [[package]] name = "aingle_zk" -version = "0.2.1" +version = "0.3.6" dependencies = [ "bincode", "blake3", @@ -930,7 +930,7 @@ dependencies = [ [[package]] name = "aingle_zome_types" -version = "0.0.4" +version = "0.3.6" dependencies = [ "ai_fixt", "ai_hash", @@ -1204,9 +1204,9 @@ dependencies = [ [[package]] name = "async-compression" -version = "0.4.40" +version = "0.4.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d67d43201f4d20c78bcda740c142ca52482d81da80681533d33bf3f0596c8e2" +checksum = "d0f9ee0f6e02ffd7ad5816e9464499fba7b3effd01123b515c41d1697c43dad1" dependencies = [ "compression-codecs", "compression-core", @@ -1296,7 +1296,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1e37c5532e4b686acf45e7162bc93da91fc2c702fb0d465efc2c20c8f973795" dependencies = [ "async-graphql", - "axum 0.8.8", + "axum", "bytes", "futures-util", "serde_json", @@ -1359,7 +1359,7 @@ dependencies = [ "futures-io", "futures-lite", "parking", - "polling 3.11.0", + "polling", "rustix 1.1.4", "slab", "windows-sys 0.61.2", @@ -1579,51 +1579,14 @@ dependencies = [ "shrinkwraprs", ] -[[package]] -name = "axum" -version = "0.7.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f" -dependencies = [ - "async-trait", - "axum-core 0.4.5", - "axum-macros", - "base64 0.22.1", - "bytes", - "futures-util", - "http 1.4.0", - "http-body 1.0.1", - "http-body-util", - "hyper 1.8.1", - "hyper-util", - "itoa", - "matchit 0.7.3", - "memchr", - "mime", - "percent-encoding 2.3.2", - "pin-project-lite", - "rustversion", - "serde", - "serde_json", - "serde_path_to_error", - "serde_urlencoded", - "sha1", - "sync_wrapper", - "tokio", - "tokio-tungstenite 0.24.0", - "tower", - "tower-layer", - "tower-service", - "tracing", -] - [[package]] name = "axum" version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b52af3cb4058c895d37317bb27508dccc8e5f2d39454016b297bf4a400597b8" dependencies = [ - "axum-core 0.5.6", + "axum-core", + "axum-macros", "base64 0.22.1", "bytes", "form_urlencoded", @@ -1634,7 +1597,7 @@ dependencies = [ "hyper 1.8.1", "hyper-util", "itoa", - "matchit 0.8.4", + "matchit", "memchr", "mime", "percent-encoding 2.3.2", @@ -1653,27 +1616,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "axum-core" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09f2bd6146b97ae3359fa0cc6d6b376d9539582c7b4220f041a33ec24c226199" -dependencies = [ - "async-trait", - "bytes", - "futures-util", - "http 1.4.0", - "http-body 1.0.1", - "http-body-util", - "mime", - "pin-project-lite", - "rustversion", - "sync_wrapper", - "tower-layer", - "tower-service", - "tracing", -] - [[package]] name = "axum-core" version = "0.5.6" @@ -1695,9 +1637,9 @@ dependencies = [ [[package]] name = "axum-macros" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d123550fa8d071b7255cb0cc04dc302baa6c8c4a79f55701552684d8399bce" +checksum = "604fde5e028fea851ce1d8570bbdc034bec850d157f7569d10f347d06808c05c" dependencies = [ "proc-macro2", "quote", @@ -1751,11 +1693,22 @@ checksum = "2af50177e190e07a26ab74f8b1efbfe2ef87da2116221318cb1c2e82baf7de06" [[package]] name = "bincode" -version = "1.3.3" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" +checksum = "36eaf5d7b090263e8150820482d5d93cd964a81e4019913c972f4edcc6edb740" dependencies = [ + "bincode_derive", "serde", + "unty", +] + +[[package]] +name = "bincode_derive" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf95709a440f45e986983918d0e8a1f30a9b1df04918fc828670606804ac3c09" +dependencies = [ + "virtue", ] [[package]] @@ -1887,9 +1840,9 @@ dependencies = [ [[package]] name = "block-buffer" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96eb4cdd6cf1b31d671e9efe75c5d1ec614776856cefbe109ca373554a6d514f" +checksum = "cdd35008169921d80bc60d3d0ab416eecb028c4cd653352907921d95084790be" dependencies = [ "hybrid-array", ] @@ -2006,8 +1959,8 @@ dependencies = [ "tokio", "tokio-stream", "uuid", - "windows", - "windows-future", + "windows 0.61.3", + "windows-future 0.2.1", ] [[package]] @@ -2687,9 +2640,9 @@ dependencies = [ [[package]] name = "corosensei" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b2b4c7e3e97730e6b0b8c5ff5ca82c663d1a645e4f630f4fa4c24e80626787e" +checksum = "2c54787b605c7df106ceccf798df23da4f2e09918defad66705d1cedf3bb914f" dependencies = [ "autocfg 1.5.0", "cfg-if 1.0.4", @@ -2715,18 +2668,18 @@ checksum = "dcb25d077389e53838a8158c8e99174c5a9d902dee4904320db714f3c653ffba" [[package]] name = "cranelift-assembler-x64" -version = "0.128.3" +version = "0.128.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0377b13bf002a0774fcccac4f1102a10f04893d24060cf4b7350c87e4cbb647c" +checksum = "50a04121a197fde2fe896f8e7cac9812fc41ed6ee9c63e1906090f9f497845f6" dependencies = [ "cranelift-assembler-x64-meta", ] [[package]] name = "cranelift-assembler-x64-meta" -version = "0.128.3" +version = "0.128.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfa027979140d023b25bf7509fb7ede3a54c3d3871fb5ead4673c4b633f671a2" +checksum = "a09e699a94f477303820fb2167024f091543d6240783a2d3b01a3f21c42bc744" dependencies = [ "cranelift-srcgen", ] @@ -2757,9 +2710,9 @@ checksum = "690d8ae6c73748e5ce3d8fe59034dceadb8823e6c8994ba324141c5eae909b0e" [[package]] name = "cranelift-bitset" -version = "0.128.3" +version = "0.128.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db53764b5dad233b37b8f5dc54d3caa9900c54579195e00f17ea21f03f71aaa7" +checksum = "18391da761cf362a06def7a7cf11474d79e55801dd34c2e9ba105b33dc0aef88" [[package]] name = "cranelift-codegen" @@ -2793,10 +2746,10 @@ dependencies = [ "bumpalo", "cranelift-assembler-x64", "cranelift-bforest 0.128.0", - "cranelift-bitset 0.128.3", - "cranelift-codegen-meta 0.128.3", - "cranelift-codegen-shared 0.128.3", - "cranelift-control 0.128.3", + "cranelift-bitset 0.128.4", + "cranelift-codegen-meta 0.128.4", + "cranelift-codegen-shared 0.128.4", + "cranelift-control 0.128.4", "cranelift-entity 0.128.0", "cranelift-isle 0.128.0", "gimli 0.32.3", @@ -2821,12 +2774,12 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.128.3" +version = "0.128.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3fcf1e3e6757834bd2584f4cbff023fcc198e9279dcb5d684b4bb27a9b19f54" +checksum = "75817926ec812241889208d1b190cadb7fedded4592a4bb01b8524babb9e4849" dependencies = [ "cranelift-assembler-x64-meta", - "cranelift-codegen-shared 0.128.3", + "cranelift-codegen-shared 0.128.4", "cranelift-srcgen", "heck 0.5.0", ] @@ -2839,9 +2792,9 @@ checksum = "efcff860573cf3db9ae98fbd949240d78b319df686cc306872e7fab60e9c84d7" [[package]] name = "cranelift-codegen-shared" -version = "0.128.3" +version = "0.128.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "205dcb9e6ccf9d368b7466be675ff6ee54a63e36da6fe20e72d45169cf6fd254" +checksum = "859158f87a59476476eda3884d883c32e08a143cf3d315095533b362a3250a63" [[package]] name = "cranelift-control" @@ -2854,9 +2807,9 @@ dependencies = [ [[package]] name = "cranelift-control" -version = "0.128.3" +version = "0.128.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "108eca9fcfe86026054f931eceaf57b722c1b97464bf8265323a9b5877238817" +checksum = "03b65a9aec442d715cbf54d14548b8f395476c09cef7abe03e104a378291ab88" dependencies = [ "arbitrary", ] @@ -2876,7 +2829,7 @@ version = "0.128.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e57c6f29da407f6ee9956197d011aedf4fd39bd03781ab5b44b85d45a448a27" dependencies = [ - "cranelift-bitset 0.128.3", + "cranelift-bitset 0.128.4", ] [[package]] @@ -2917,9 +2870,9 @@ checksum = "cc02707039d43c0e132526f1d3ac319b45468331b823a1749625825010f644e4" [[package]] name = "cranelift-srcgen" -version = "0.128.3" +version = "0.128.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4e378a54e7168a689486d67ee1f818b7e5356e54ae51a1d7a53f4f13f7f8b7a" +checksum = "903adeaf4938e60209a97b53a2e4326cd2d356aab9764a1934630204bae381c9" [[package]] name = "crc" @@ -3086,9 +3039,9 @@ dependencies = [ [[package]] name = "crypto-common" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "211f05e03c7d03754740fd9e585de910a095d6b99f8bcfffdef8319fa02a8331" +checksum = "77727bb15fa921304124b128af125e7e3b968275d1b108b379190264f4423710" dependencies = [ "hybrid-array", ] @@ -3122,16 +3075,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "ctor" -version = "0.1.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d2301688392eb071b0bf1a37be05c469d3cc4dbbd95df672fe28ab021e6a096" -dependencies = [ - "quote", - "syn 1.0.109", -] - [[package]] name = "ctr" version = "0.9.2" @@ -3639,13 +3582,13 @@ dependencies = [ [[package]] name = "digest" -version = "0.11.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8bf3682cdec91817be507e4aa104314898b95b84d74f3d43882210101a545b6" +checksum = "285743a676ccb6b3e116bc14cc69319b957867930ae9c4822f8e0f54509d7243" dependencies = [ - "block-buffer 0.11.0", + "block-buffer 0.12.0", "const-oid 0.10.2", - "crypto-common 0.2.0", + "crypto-common 0.2.1", ] [[package]] @@ -3727,14 +3670,14 @@ checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" [[package]] name = "dtls" -version = "0.13.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f531dd7c181beaf3cebab3716afa4d0d41ab888be85232583f56bbaf07ca208a" +checksum = "2f016db07b91e9d79cc60a152c163d3f0ce2d4c0173cb3964de3526aab6e07fa" dependencies = [ "aes", "aes-gcm", "async-trait", - "bincode", + "bytecheck 0.8.2", "byteorder", "cbc", "ccm", @@ -3749,9 +3692,9 @@ dependencies = [ "rand_core 0.6.4", "rcgen 0.13.2", "ring 0.17.14", - "rustls 0.23.36", + "rkyv", + "rustls 0.23.37", "sec1", - "serde", "sha1", "sha2 0.10.9", "thiserror 1.0.69", @@ -4834,20 +4777,20 @@ dependencies = [ "cfg-if 1.0.4", "js-sys", "libc", - "r-efi", + "r-efi 5.3.0", "wasip2", "wasm-bindgen", ] [[package]] name = "getrandom" -version = "0.4.1" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "139ef39800118c7683f2fd3c98c1b23c09ae076556b435f8e9064ae108aaeeec" +checksum = "0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555" dependencies = [ "cfg-if 1.0.4", "libc", - "r-efi", + "r-efi 6.0.0", "wasip2", "wasip3", ] @@ -5173,15 +5116,15 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hidapi" -version = "2.6.4" +version = "2.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "565dd4c730b8f8b2c0fb36df6be12e5470ae10895ddcc4e9dcfbfb495de202b0" +checksum = "d1b71e1f4791fb9e93b9d7ee03d70b501ab48f6151432fbcadeabc30fe15396e" dependencies = [ "cc", "cfg-if 1.0.4", "libc", "pkg-config", - "windows-sys 0.48.0", + "windows-sys 0.61.2", ] [[package]] @@ -5213,20 +5156,7 @@ dependencies = [ [[package]] name = "hope_agents" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fecd5b7c6f06a594c2530d6ce8b3a6f88cce272b163cc8eec5edb4cdbac21c2" -dependencies = [ - "chrono", - "log", - "rand 0.8.5", - "serde", - "serde_json", -] - -[[package]] -name = "hope_agents" -version = "0.2.1" +version = "0.3.6" dependencies = [ "chrono", "criterion", @@ -5234,7 +5164,7 @@ dependencies = [ "rand 0.9.2", "serde", "serde_json", - "titans_memory 0.2.1", + "titans_memory", ] [[package]] @@ -5332,7 +5262,7 @@ dependencies = [ "backtrace", "serde", "serde_derive", - "sysinfo", + "sysinfo 0.37.2", "toml 0.9.12+spec-1.1.0", "uuid", ] @@ -5402,7 +5332,7 @@ dependencies = [ "http 1.4.0", "hyper 1.8.1", "hyper-util", - "rustls 0.23.36", + "rustls 0.23.37", "rustls-pki-types", "tokio", "tokio-rustls 0.26.4", @@ -5443,7 +5373,7 @@ dependencies = [ "libc", "percent-encoding 2.3.2", "pin-project-lite", - "socket2 0.6.2", + "socket2 0.6.3", "system-configuration", "tokio", "tower-service", @@ -5621,6 +5551,16 @@ dependencies = [ "windows-sys 0.59.0", ] +[[package]] +name = "if-addrs" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0a05c691e1fae256cf7013d99dad472dc52d5543322761f83ec8d47eab40d2b" +dependencies = [ + "libc", + "windows-sys 0.61.2", +] + [[package]] name = "if-addrs-sys" version = "0.3.2" @@ -5671,9 +5611,9 @@ dependencies = [ [[package]] name = "inferno" -version = "0.12.4" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d35223c50fdd26419a4ccea2c73be68bd2b29a3d7d6123ffe101c17f4c20a52a" +checksum = "90807d610575744524d9bdc69f3885d96f0e6c3354565b0828354a7ff2a262b8" dependencies = [ "ahash 0.8.12", "clap 4.5.60", @@ -5712,9 +5652,9 @@ dependencies = [ [[package]] name = "interceptor" -version = "0.15.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea51375727680dc15f06e8ad90fa31df75d79dd030100e8ad60eef1c27fe2c98" +checksum = "7f73f4fdb971cab2d599cbdc2ccf0c6ea8fb27347b871ed14c65ce2353dbe75b" dependencies = [ "async-trait", "bytes", @@ -5745,9 +5685,9 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.11.0" +version = "2.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" +checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2" [[package]] name = "iri-string" @@ -5829,9 +5769,9 @@ checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2" [[package]] name = "jiff" -version = "0.2.21" +version = "0.2.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3e3d65f018c6ae946ab16e80944b97096ed73c35b221d1c478a6c81d8f57940" +checksum = "1a3546dc96b6d42c5f24902af9e2538e82e39ad350b0c766eb3fbf2d8f3d8359" dependencies = [ "jiff-static", "log", @@ -5842,9 +5782,9 @@ dependencies = [ [[package]] name = "jiff-static" -version = "0.2.21" +version = "0.2.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a17c2b211d863c7fde02cbea8a3c1a439b98e109286554f2860bdded7ff83818" +checksum = "2a8c8b344124222efd714b73bb41f8b5120b27a7cc1c75593a6ff768d9d05aa4" dependencies = [ "proc-macro2", "quote", @@ -5914,9 +5854,9 @@ dependencies = [ [[package]] name = "js-sys" -version = "0.3.88" +version = "0.3.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7e709f3e3d22866f9c25b3aff01af289b18422cc8b4262fb19103ee80fe513d" +checksum = "b49715b7073f385ba4bc528e5747d02e66cb39c6146efb66b781f131f0fb399c" dependencies = [ "once_cell", "wasm-bindgen", @@ -5924,16 +5864,17 @@ dependencies = [ [[package]] name = "jsonwebtoken" -version = "9.3.1" +version = "10.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a87cc7a48537badeae96744432de36f4be2b4a34a05a5ef32e9dd8a1c169dde" +checksum = "0529410abe238729a60b108898784df8984c87f6054c9c4fcacc47e4803c1ce1" dependencies = [ "base64 0.22.1", + "getrandom 0.2.17", "js-sys", "pem 3.0.6", - "ring 0.17.14", "serde", "serde_json", + "signature", "simple_asn1", ] @@ -6074,7 +6015,7 @@ dependencies = [ "nanoid 0.4.0", "parking_lot 0.12.5", "rmp-serde 1.3.1", - "rustls 0.23.36", + "rustls 0.23.37", "rustls-pki-types", "serde", "serde_bytes", @@ -6097,7 +6038,7 @@ dependencies = [ "once_cell", "quinn", "rcgen 0.13.2", - "rustls 0.23.36", + "rustls 0.23.37", "rustls-pki-types", "serde", "tokio", @@ -6122,13 +6063,13 @@ dependencies = [ "parking_lot 0.12.5", "paste", "rmp-serde 1.3.1", - "rustls 0.23.36", + "rustls 0.23.37", "rustls-pki-types", "serde", "serde_bytes", "serde_json", "shrinkwraprs", - "sysinfo", + "sysinfo 0.38.0", "thiserror 2.0.18", "tokio", "tokio-stream", @@ -6328,13 +6269,14 @@ dependencies = [ [[package]] name = "libredox" -version = "0.1.12" +version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d0b95e02c851351f877147b7deea7b1afb1df71b63aa5f8270716e0c5720616" +checksum = "1744e39d1d6a9948f4f388969627434e31128196de472883b39f148769bfe30a" dependencies = [ "bitflags 2.11.0", "libc", - "redox_syscall 0.7.1", + "plain", + "redox_syscall 0.7.3", ] [[package]] @@ -6398,9 +6340,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.23" +version = "1.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15d118bbf3771060e7311cc7bb0545b01d08a8b4a7de949198dec1fa0ca1c0f7" +checksum = "4735e9cbde5aac84a5ce588f6b23a90b9b0b528f6c5a8db8a4aff300463a0839" dependencies = [ "cc", "pkg-config", @@ -6538,12 +6480,6 @@ version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" -[[package]] -name = "matchit" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" - [[package]] name = "matchit" version = "0.8.4" @@ -6594,15 +6530,17 @@ dependencies = [ [[package]] name = "mdns-sd" -version = "0.11.5" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fe7c11a1eb3cfbfcf702d1601c1f5f4c102cdc8665b8a557783ef634741676e" +checksum = "e8a3efd5e35bde8fe2bf6f698a0158c198eade41805bb89788ee59853baeb877" dependencies = [ + "fastrand", "flume", - "if-addrs 0.13.4", + "if-addrs 0.15.0", "log", - "polling 2.8.0", - "socket2 0.5.10", + "mio 1.1.1", + "socket-pktinfo", + "socket2 0.6.3", ] [[package]] @@ -6684,9 +6622,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "minisign-verify" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e856fdd13623a2f5f2f54676a4ee49502a96a80ef4a62bcedd23d52427c44d43" +checksum = "22f9645cb765ea72b8111f36c522475d2daa0d22c957a9826437e97534bc4e9e" [[package]] name = "miniz_oxide" @@ -6718,6 +6656,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a69bcab0ad47271a0234d9422b131806bf3968021e5dc9328caf2d4cd58557fc" dependencies = [ "libc", + "log", "wasi 0.11.1+wasi-snapshot-preview1", "windows-sys 0.61.2", ] @@ -7336,15 +7275,6 @@ dependencies = [ "vcpkg", ] -[[package]] -name = "output_vt100" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "628223faebab4e3e40667ee0b2336d34a5b960ff60ea743ddfdbcf7770bcfb66" -dependencies = [ - "winapi", -] - [[package]] name = "owning_ref" version = "0.3.3" @@ -7377,7 +7307,7 @@ checksum = "0afd5c28e4a399c57ee2bc3accd40c7b671fdc7b6537499f14e95b265af7d7e0" dependencies = [ "oxilangtag", "oxiri", - "rand 0.8.5", + "rand 0.9.2", "thiserror 2.0.18", ] @@ -7660,18 +7590,18 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.1.10" +version = "1.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677f1add503faace112b9f1373e43e9e054bfdd22ff1a63c1bc485eaec6a6a8a" +checksum = "f1749c7ed4bcaf4c3d0a3efc28538844fb29bcdd7d2b67b2be7e20ba861ff517" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.10" +version = "1.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e918e4ff8c4549eb882f14b3a4bc8c8bc93de829416eacf579f1207a8fbf861" +checksum = "d9b20ed30f105399776b9c883e68e536ef602a16ae6f596d2c473591d6ad64c6" dependencies = [ "proc-macro2", "quote", @@ -7680,9 +7610,9 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" [[package]] name = "pin-utils" @@ -7692,9 +7622,9 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "piper" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066" +checksum = "c835479a4443ded371d6c535cbfd8d31ad92c5d23ae9770a61bc155e4992a3c1" dependencies = [ "atomic-waker", "fastrand", @@ -7717,6 +7647,12 @@ version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" +[[package]] +name = "plain" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6" + [[package]] name = "plotters" version = "0.3.7" @@ -7745,22 +7681,6 @@ dependencies = [ "plotters-backend", ] -[[package]] -name = "polling" -version = "2.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" -dependencies = [ - "autocfg 1.5.0", - "bitflags 1.3.2", - "cfg-if 1.0.4", - "concurrent-queue", - "libc", - "log", - "pin-project-lite", - "windows-sys 0.48.0", -] - [[package]] name = "polling" version = "3.11.0" @@ -7912,14 +7832,12 @@ dependencies = [ [[package]] name = "pretty_assertions" -version = "0.7.2" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cab0e7c02cf376875e9335e0ba1da535775beb5450d21e1dffca068818ed98b" +checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d" dependencies = [ - "ansi_term", - "ctor", "diff", - "output_vt100", + "yansi", ] [[package]] @@ -7943,9 +7861,9 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "3.4.0" +version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983" +checksum = "e67ba7e9b2b56446f1d419b1d807906278ffa1a658a8a5d8a39dcb1f5a78614f" dependencies = [ "toml_edit", ] @@ -8088,9 +8006,9 @@ checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] name = "quick-xml" -version = "0.38.4" +version = "0.39.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b66c2058c55a409d601666cffe35f04333cf1013010882cec174a7467cd4e21c" +checksum = "958f21e8e7ceb5a1aa7fa87fab28e7c75976e0bfe7e23ff069e0a260f894067d" dependencies = [ "memchr", ] @@ -8107,8 +8025,8 @@ dependencies = [ "quinn-proto", "quinn-udp", "rustc-hash 2.1.1", - "rustls 0.23.36", - "socket2 0.6.2", + "rustls 0.23.37", + "socket2 0.6.3", "thiserror 2.0.18", "tokio", "tracing", @@ -8128,7 +8046,7 @@ dependencies = [ "rand 0.9.2", "ring 0.17.14", "rustc-hash 2.1.1", - "rustls 0.23.36", + "rustls 0.23.37", "rustls-pki-types", "rustls-platform-verifier", "slab", @@ -8147,16 +8065,16 @@ dependencies = [ "cfg_aliases", "libc", "once_cell", - "socket2 0.6.2", + "socket2 0.6.3", "tracing", "windows-sys 0.60.2", ] [[package]] name = "quote" -version = "1.0.44" +version = "1.0.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4" +checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924" dependencies = [ "proc-macro2", ] @@ -8167,6 +8085,12 @@ version = "5.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" +[[package]] +name = "r-efi" +version = "6.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" + [[package]] name = "r2d2" version = "0.8.10" @@ -8553,9 +8477,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.7.1" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35985aa610addc02e24fc232012c86fd11f14111180f902b67e2d5331f8ebf2b" +checksum = "6ce70a74e890531977d37e532c34d45e9055d2409ed08ddba14529471ed0be16" dependencies = [ "bitflags 2.11.0", ] @@ -8634,9 +8558,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.9" +version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a96887878f22d7bad8a3b6dc5b7440e0ada9a245242924394987b21cf2210a4c" +checksum = "dc897dd8d9e8bd1ed8cdad82b5966c3e0ecae09fb1907d58efaa013543185d0a" [[package]] name = "region" @@ -8707,7 +8631,7 @@ dependencies = [ "percent-encoding 2.3.2", "pin-project-lite", "quinn", - "rustls 0.23.36", + "rustls 0.23.37", "rustls-pki-types", "serde", "serde_json", @@ -8738,9 +8662,9 @@ dependencies = [ [[package]] name = "rgb" -version = "0.8.52" +version = "0.8.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c6a884d2998352bb4daf0183589aec883f16a6da1f4dde84d8e2e9a5409a1ce" +checksum = "47b34b781b31e5d73e9fbc8689c70551fd1ade9a19e3e28cfec8580a79290cc4" dependencies = [ "bytemuck", ] @@ -8871,9 +8795,9 @@ dependencies = [ [[package]] name = "rtcp" -version = "0.14.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81d30d1c4091644431c22acf9f8be6191b56805e0e977f15ca7104b4a6d6eaec" +checksum = "cb22f1cc99aea8152fdae6a4bc52a9caddf4bd1ff083d897c1f9f279956177e8" dependencies = [ "bytes", "thiserror 1.0.69", @@ -8882,9 +8806,9 @@ dependencies = [ [[package]] name = "rtp" -version = "0.14.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f126f38ea84c02480e32e547c1459a939052f74fb92117ac3eef23fdac6b023" +checksum = "f8d41f3565d9add11caabe7c61745517f4ef511c168a6aa2b59ce4c701802cde" dependencies = [ "bytes", "memchr", @@ -8998,9 +8922,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.36" +version = "0.23.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c665f33d38cea657d9614f766881e4d510e0eda4239891eea56b4cadcf01801b" +checksum = "758025cb5fccfd3bc2fd74708fd4682be41d99e5dff73c377c0646c6012c73a4" dependencies = [ "once_cell", "ring 0.17.14", @@ -9043,7 +8967,7 @@ dependencies = [ "jni 0.21.1", "log", "once_cell", - "rustls 0.23.36", + "rustls 0.23.37", "rustls-native-certs", "rustls-platform-verifier-android", "rustls-webpki 0.103.9", @@ -9224,9 +9148,9 @@ checksum = "490dcfcbfef26be6800d11870ff2df8774fa6e86d047e3e8c8a76b25655e41ca" [[package]] name = "sdp" -version = "0.10.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32c374dceda16965d541c8800ce9cc4e1c14acfd661ddf7952feeedc3411e5c6" +checksum = "22c3b0257608d7de4de4c4ea650ccc2e6e3e45e3cd80039fcdee768bcb449253" dependencies = [ "rand 0.9.2", "substring", @@ -9491,7 +9415,7 @@ checksum = "7c5f3b1e2dc8aad28310d8410bd4d7e180eca65fca176c52ab00d364475d0024" dependencies = [ "cfg-if 1.0.4", "cpufeatures", - "digest 0.11.0", + "digest 0.11.1", ] [[package]] @@ -9699,12 +9623,23 @@ version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1c97747dbf44bb1ca44a561ece23508e99cb592e862f22222dcf42f51d1e451" dependencies = [ - "heck 0.4.1", + "heck 0.5.0", "proc-macro2", "quote", "syn 2.0.117", ] +[[package]] +name = "socket-pktinfo" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "927136cc2ae6a1b0e66ac6b1210902b75c3f726db004a73bc18686dcd0dcd22f" +dependencies = [ + "libc", + "socket2 0.6.3", + "windows-sys 0.60.2", +] + [[package]] name = "socket2" version = "0.3.19" @@ -9728,12 +9663,12 @@ dependencies = [ [[package]] name = "socket2" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86f4aa3ad99f2088c990dfa82d367e19cb29268ed67c574d10d0a4bfe71f07e0" +checksum = "3a766e1110788c36f4fa1c2b71b387a7815aa65f88ce0229841826633d93723e" dependencies = [ "libc", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -9761,7 +9696,7 @@ dependencies = [ "oxiri", "oxrdf", "peg", - "rand 0.8.5", + "rand 0.9.2", "thiserror 2.0.18", ] @@ -9953,9 +9888,9 @@ dependencies = [ [[package]] name = "stun" -version = "0.9.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a512c5d501e3e3b5a4bb3e8e31462d56d54a66b95a28b8596e14422bf21c32b" +checksum = "2e0fd33c04d4617df42c9c84c698511c59f59869629fb7a193067eec41bce347" dependencies = [ "base64 0.22.1", "crc", @@ -10084,7 +10019,21 @@ dependencies = [ "ntapi 0.4.3", "objc2-core-foundation", "objc2-io-kit", - "windows", + "windows 0.61.3", +] + +[[package]] +name = "sysinfo" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe840c5b1afe259a5657392a4dbb74473a14c8db999c3ec2f4ae812e028a94da" +dependencies = [ + "libc", + "memchr", + "ntapi 0.4.3", + "objc2-core-foundation", + "objc2-io-kit", + "windows 0.62.2", ] [[package]] @@ -10143,12 +10092,12 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.25.0" +version = "3.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0136791f7c95b1f6dd99f9cc786b91bb81c3800b639b3478e561ddb7be95e5f1" +checksum = "82a72c767771b47409d2345987fda8628641887d5466101319899796367354a0" dependencies = [ "fastrand", - "getrandom 0.4.1", + "getrandom 0.4.2", "once_cell", "rustix 1.1.4", "windows-sys 0.61.2", @@ -10344,20 +10293,7 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "titans_memory" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0305f54897e871182c1cc5c8b52ad9cad46ee30bc8490a8927c90af080204001" -dependencies = [ - "blake3", - "chrono", - "log", - "serde", - "serde_json", -] - -[[package]] -name = "titans_memory" -version = "0.2.1" +version = "0.3.6" dependencies = [ "blake3", "chrono", @@ -10370,9 +10306,9 @@ dependencies = [ [[package]] name = "tokio" -version = "1.49.0" +version = "1.50.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72a2903cd7736441aac9df9d7688bd0ce48edccaadf181c3b90be801e81d3d86" +checksum = "27ad5e34374e03cfffefc301becb44e9dc3c17584f414349ebe29ed26661822d" dependencies = [ "bytes", "libc", @@ -10380,16 +10316,16 @@ dependencies = [ "parking_lot 0.12.5", "pin-project-lite", "signal-hook-registry", - "socket2 0.6.2", + "socket2 0.6.3", "tokio-macros", "windows-sys 0.61.2", ] [[package]] name = "tokio-macros" -version = "2.6.0" +version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5" +checksum = "5c55a2eff8b69ce66c84f85e1da1c233edc36ceb85a2058d11b0d6a3c7e7569c" dependencies = [ "proc-macro2", "quote", @@ -10422,7 +10358,7 @@ version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61" dependencies = [ - "rustls 0.23.36", + "rustls 0.23.37", "tokio", ] @@ -10484,7 +10420,7 @@ checksum = "edc5f74e248dc973e0dbb7b74c7e0d6fcc301c694ff50049504004ef4d0cdcd9" dependencies = [ "futures-util", "log", - "rustls 0.23.36", + "rustls 0.23.37", "rustls-pki-types", "tokio", "tokio-rustls 0.26.4", @@ -10536,7 +10472,7 @@ dependencies = [ "indexmap 2.13.0", "serde_core", "serde_spanned", - "toml_datetime", + "toml_datetime 0.7.5+spec-1.1.0", "toml_parser", "toml_writer", "winnow", @@ -10551,14 +10487,23 @@ dependencies = [ "serde_core", ] +[[package]] +name = "toml_datetime" +version = "1.0.0+spec-1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32c2555c699578a4f59f0cc68e5116c8d7cabbd45e1409b989d4be085b53f13e" +dependencies = [ + "serde_core", +] + [[package]] name = "toml_edit" -version = "0.23.10+spec-1.0.0" +version = "0.25.4+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84c8b9f757e028cee9fa244aea147aab2a9ec09d5325a9b01e0a49730c2b5269" +checksum = "7193cbd0ce53dc966037f54351dbbcf0d5a642c7f0038c382ef9e677ce8c13f2" dependencies = [ "indexmap 2.13.0", - "toml_datetime", + "toml_datetime 1.0.0+spec-1.1.0", "toml_parser", "winnow", ] @@ -10806,7 +10751,7 @@ dependencies = [ "httparse", "log", "rand 0.8.5", - "rustls 0.23.36", + "rustls 0.23.37", "rustls-pki-types", "sha1", "thiserror 1.0.69", @@ -10832,9 +10777,9 @@ dependencies = [ [[package]] name = "turn" -version = "0.11.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ed995882f66ab94238de77c62e5e778389698ab700afa4696f4754da8f457cb" +checksum = "b6a8b8ac3543b2a8eb0b28c7ac3d5f2db6221e057f3b3ae47cf7637b1333a5c3" dependencies = [ "async-trait", "base64 0.22.1", @@ -10857,7 +10802,7 @@ version = "1.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.4", "static_assertions", ] @@ -10977,6 +10922,12 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" +[[package]] +name = "unty" +version = "0.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d49784317cd0d1ee7ec5c716dd598ec5b4483ea832a2dced265471cc0f690ae" + [[package]] name = "unwrap_to" version = "0.1.0" @@ -11072,11 +11023,11 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.21.0" +version = "1.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b672338555252d43fd2240c714dc444b8c6fb0a5c5335e65a07bba7742735ddb" +checksum = "a68d3c8f01c0cfa54a75291d83601161799e4a89a39e0929f4b0354d88757a37" dependencies = [ - "getrandom 0.4.1", + "getrandom 0.4.2", "js-sys", "serde_core", "wasm-bindgen", @@ -11142,6 +11093,12 @@ version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" +[[package]] +name = "virtue" +version = "0.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "051eb1abcf10076295e815102942cc58f9d5e3b4560e46e53c21e8ff6f3af7b1" + [[package]] name = "void" version = "1.0.2" @@ -11246,9 +11203,9 @@ dependencies = [ [[package]] name = "wasm-bindgen" -version = "0.2.111" +version = "0.2.114" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec1adf1535672f5b7824f817792b1afd731d7e843d2d04ec8f27e8cb51edd8ac" +checksum = "6532f9a5c1ece3798cb1c2cfdba640b9b3ba884f5db45973a6f442510a87d38e" dependencies = [ "cfg-if 1.0.4", "once_cell", @@ -11259,9 +11216,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-futures" -version = "0.4.61" +version = "0.4.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe88540d1c934c4ec8e6db0afa536876c5441289d7f9f9123d4f065ac1250a6b" +checksum = "e9c5522b3a28661442748e09d40924dfb9ca614b21c00d3fd135720e48b67db8" dependencies = [ "cfg-if 1.0.4", "futures-util", @@ -11273,9 +11230,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.111" +version = "0.2.114" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19e638317c08b21663aed4d2b9a2091450548954695ff4efa75bff5fa546b3b1" +checksum = "18a2d50fcf105fb33bb15f00e7a77b772945a2ee45dcf454961fd843e74c18e6" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -11283,9 +11240,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.111" +version = "0.2.114" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c64760850114d03d5f65457e96fc988f11f01d38fbaa51b254e4ab5809102af" +checksum = "03ce4caeaac547cdf713d280eda22a730824dd11e6b8c3ca9e42247b25c631e3" dependencies = [ "bumpalo", "proc-macro2", @@ -11296,9 +11253,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.111" +version = "0.2.114" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60eecd4fe26177cfa3339eb00b4a36445889ba3ad37080c2429879718e20ca41" +checksum = "75a326b8c223ee17883a4251907455a2431acc2791c98c26279376490c378c16" dependencies = [ "unicode-ident", ] @@ -11463,7 +11420,7 @@ dependencies = [ "wasmer-types 7.0.1", "wasmer-vm 7.0.1", "wasmparser 0.244.0", - "which 8.0.0", + "which 8.0.1", "windows-sys 0.61.2", ] @@ -11706,9 +11663,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.88" +version = "0.3.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d6bb20ed2d9572df8584f6dc81d68a41a625cadc6f15999d649a70ce7e3597a" +checksum = "854ba17bb104abfb26ba36da9729addc7ce7f06f5c0f90f3c391f8461cca21f9" dependencies = [ "js-sys", "wasm-bindgen", @@ -11759,9 +11716,9 @@ dependencies = [ [[package]] name = "webrtc" -version = "0.14.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08fd686c0920ac08f3a57eacc48e31f0e4ca1ffefba4478784606f78c14e83ad" +checksum = "8ba06986c4fcfbbb4b490abe4b88887b0ac9de0d3eb0aae36f3254e38d6ecdd1" dependencies = [ "arc-swap", "async-trait", @@ -11801,9 +11758,9 @@ dependencies = [ [[package]] name = "webrtc-data" -version = "0.12.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "062a5438d63bb0756a221693d76cc0dd6119affee1dfdfe57abe3a2a8c8b3eea" +checksum = "a7ca42127ee64bcb71da36d151e6f87b12488c5f14c4f379e73d2d52a8e54aa0" dependencies = [ "bytes", "log", @@ -11816,9 +11773,9 @@ dependencies = [ [[package]] name = "webrtc-ice" -version = "0.14.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69cb13fd1a373e68addc4bba0c8ca058627518e54342583d024bdcbb8ae5d97d" +checksum = "23ede72a36e5dda685814c389b2b34ac60b3ed000a81789e93626e27180eb785" dependencies = [ "arc-swap", "async-trait", @@ -11841,9 +11798,9 @@ dependencies = [ [[package]] name = "webrtc-mdns" -version = "0.10.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a17279a067e75df72ce923fdeb7f04cd808f6f5aa4910dc6bcb4fbe66b396ace" +checksum = "1b62bc8d3fb5024bc6ffde5f4aad2127ce17f8359dbc6f70208a324a12e44677" dependencies = [ "log", "socket2 0.5.10", @@ -11854,9 +11811,9 @@ dependencies = [ [[package]] name = "webrtc-media" -version = "0.11.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94a84c910fec0848fd5a0d8a5651e0ddbdedaf25a7d3ae3f0b15f71ac73a1773" +checksum = "a9a28290bd0cdda196f8bf5c6f7dddaef18cc913ee0702cd1ea237bad203e337" dependencies = [ "byteorder", "bytes", @@ -11867,9 +11824,9 @@ dependencies = [ [[package]] name = "webrtc-sctp" -version = "0.13.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f985465467d8910c1f8ac4382cd64f83b1f6a1a75021a82b221546f6fb3b856f" +checksum = "2ea6633bf951b3fd71eba3244731c8d0814f6a80300620a4370cad2983a5a42f" dependencies = [ "arc-swap", "async-trait", @@ -11885,9 +11842,9 @@ dependencies = [ [[package]] name = "webrtc-srtp" -version = "0.16.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66d8cdc33413f1d0192670a80ce93d17cb78d57fe3a2414be30d6f6dff121123" +checksum = "9e437f74b04f42049192e25cbb33c21c86be308875e6afe14cf8e28d1ffa35ac" dependencies = [ "aead 0.5.2", "aes", @@ -11908,9 +11865,9 @@ dependencies = [ [[package]] name = "webrtc-util" -version = "0.12.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1c0c7e0c8f280f2bbfae442701465777ac07adaf46ce0c5863cd58e13fe472a" +checksum = "b65c1e0143a43d40f69e1d8c2ffc8734e379b49c06d45892ea4104c388bf9ead" dependencies = [ "async-trait", "bitflags 1.3.2", @@ -11940,9 +11897,9 @@ dependencies = [ [[package]] name = "which" -version = "8.0.0" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3fabb953106c3c8eea8306e4393700d7657561cb43122571b172bbfb7c7ba1d" +checksum = "3a824aeba0fbb27264f815ada4cff43d65b1741b7a4ed7629ff9089148c4a4e0" dependencies = [ "env_home", "rustix 1.1.4", @@ -11986,11 +11943,23 @@ version = "0.61.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" dependencies = [ - "windows-collections", + "windows-collections 0.2.0", "windows-core 0.61.2", - "windows-future", + "windows-future 0.2.1", "windows-link 0.1.3", - "windows-numerics", + "windows-numerics 0.2.0", +] + +[[package]] +name = "windows" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections 0.3.2", + "windows-core 0.62.2", + "windows-future 0.3.2", + "windows-numerics 0.3.1", ] [[package]] @@ -12002,6 +11971,15 @@ dependencies = [ "windows-core 0.61.2", ] +[[package]] +name = "windows-collections" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" +dependencies = [ + "windows-core 0.62.2", +] + [[package]] name = "windows-core" version = "0.61.2" @@ -12036,7 +12014,18 @@ checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" dependencies = [ "windows-core 0.61.2", "windows-link 0.1.3", - "windows-threading", + "windows-threading 0.1.0", +] + +[[package]] +name = "windows-future" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" +dependencies = [ + "windows-core 0.62.2", + "windows-link 0.2.1", + "windows-threading 0.2.1", ] [[package]] @@ -12083,6 +12072,16 @@ dependencies = [ "windows-link 0.1.3", ] +[[package]] +name = "windows-numerics" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" +dependencies = [ + "windows-core 0.62.2", + "windows-link 0.2.1", +] + [[package]] name = "windows-registry" version = "0.6.1" @@ -12139,15 +12138,6 @@ dependencies = [ "windows-targets 0.42.2", ] -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.5", -] - [[package]] name = "windows-sys" version = "0.52.0" @@ -12199,21 +12189,6 @@ dependencies = [ "windows_x86_64_msvc 0.42.2", ] -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", -] - [[package]] name = "windows-targets" version = "0.52.6" @@ -12257,16 +12232,19 @@ dependencies = [ ] [[package]] -name = "windows_aarch64_gnullvm" -version = "0.42.2" +name = "windows-threading" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" +dependencies = [ + "windows-link 0.2.1", +] [[package]] name = "windows_aarch64_gnullvm" -version = "0.48.5" +version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" [[package]] name = "windows_aarch64_gnullvm" @@ -12286,12 +12264,6 @@ version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - [[package]] name = "windows_aarch64_msvc" version = "0.52.6" @@ -12310,12 +12282,6 @@ version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - [[package]] name = "windows_i686_gnu" version = "0.52.6" @@ -12346,12 +12312,6 @@ version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - [[package]] name = "windows_i686_msvc" version = "0.52.6" @@ -12370,12 +12330,6 @@ version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - [[package]] name = "windows_x86_64_gnu" version = "0.52.6" @@ -12394,12 +12348,6 @@ version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" @@ -12418,12 +12366,6 @@ version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - [[package]] name = "windows_x86_64_msvc" version = "0.52.6" @@ -12438,9 +12380,9 @@ checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" [[package]] name = "winnow" -version = "0.7.14" +version = "0.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a5364e9d77fcdeeaa6062ced926ee3381faa2ee02d3eb83a5c27a8825540829" +checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945" dependencies = [ "memchr", ] @@ -12622,6 +12564,12 @@ version = "0.8.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdd20c5420375476fbd4394763288da7eb0cc0b8c11deed431a91562af7335d3" +[[package]] +name = "yansi" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" + [[package]] name = "yasna" version = "0.4.0" @@ -12689,18 +12637,18 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.8.39" +version = "0.8.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db6d35d663eadb6c932438e763b262fe1a70987f9ae936e60158176d710cae4a" +checksum = "a789c6e490b576db9f7e6b6d661bcc9799f7c0ac8352f56ea20193b2681532e5" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.39" +version = "0.8.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4122cd3169e94605190e77839c9a40d40ed048d305bfdc146e7df40ab0f3e517" +checksum = "f65c489a7071a749c849713807783f70672b28094011623e200cb86dcb835953" dependencies = [ "proc-macro2", "quote", @@ -12808,9 +12756,9 @@ dependencies = [ [[package]] name = "zlib-rs" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c745c48e1007337ed136dc99df34128b9faa6ed542d80a1c673cf55a6d7236c8" +checksum = "3be3d40e40a133f9c916ee3f9f4fa2d9d63435b5fbe1bfc6d9dae0aa0ada1513" [[package]] name = "zmij" From 99ad0227e24a9af682b91b902b9b3b808538c486 Mon Sep 17 00:00:00 2001 From: Apilium Developer Team Date: Sat, 7 Mar 2026 10:48:27 +0100 Subject: [PATCH 6/7] fix: update discovery.rs for mdns-sd 0.18 API changes - Import Error type for mdns feature gate - Use ScopedIp::to_ip_addr() instead of copied() for addresses - Fix Error::Network variant to use Error::network() helper - Add wildcard arm for non-exhaustive ServiceEvent enum --- crates/aingle_minimal/src/discovery.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/crates/aingle_minimal/src/discovery.rs b/crates/aingle_minimal/src/discovery.rs index 9b79478..ff44b70 100644 --- a/crates/aingle_minimal/src/discovery.rs +++ b/crates/aingle_minimal/src/discovery.rs @@ -7,7 +7,7 @@ //! - **mDNS**: Service type `_aingle._udp.local.` (feature: mdns) //! - **CoAP Multicast**: `/.well-known/core` to 224.0.1.187:5683 (feature: coap) -use crate::error::Result; +use crate::error::{Error, Result}; use std::collections::HashMap; use std::net::{IpAddr, SocketAddr}; use std::time::{Duration, Instant}; @@ -108,9 +108,7 @@ impl Discovery { .collect(); if addresses.is_empty() { - return Err(Error::Network( - "No network interfaces available".to_string(), - )); + return Err(Error::network("No network interfaces available")); } // Create service instance name: node_id.service_type @@ -199,7 +197,7 @@ impl Discovery { return; } - let addresses: Vec = info.get_addresses().iter().copied().collect(); + let addresses: Vec = info.get_addresses().iter().map(|a| a.to_ip_addr()).collect(); let mut props = HashMap::new(); for prop in info.get_properties().iter() { @@ -243,6 +241,9 @@ impl Discovery { ServiceEvent::SearchStopped(_) => { log::debug!("mDNS search stopped"); } + _ => { + log::trace!("Unhandled mDNS event"); + } } } From d83aae0d6bd5f6e68a1d633b3b83c564cbeed211 Mon Sep 17 00:00:00 2001 From: Apilium Developer Team Date: Sat, 7 Mar 2026 10:51:42 +0100 Subject: [PATCH 7/7] =?UTF-8?q?deps:=20upgrade=20async-graphql=207.2=20?= =?UTF-8?q?=E2=86=92=208.0-rc=20for=20axum=200.8=20compatibility?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Migrate playground_source → GraphiQLSource builder API - Remove dead subscription handler (router is placeholder) - Update Cargo.lock --- Cargo.lock | 193 ++++++++---------------- crates/aingle_cortex/Cargo.toml | 6 +- crates/aingle_cortex/src/graphql/mod.rs | 25 +-- 3 files changed, 72 insertions(+), 152 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7c5ca16..31b1c20 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,12 +2,6 @@ # It is not intended for manual editing. version = 4 -[[package]] -name = "Inflector" -version = "0.11.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" - [[package]] name = "addr2line" version = "0.25.1" @@ -744,7 +738,7 @@ dependencies = [ "base64 0.22.1", "cfg-if 0.1.10", "chrono", - "derive_builder 0.9.0", + "derive_builder", "derive_more 0.99.20", "either", "flate2", @@ -936,7 +930,7 @@ dependencies = [ "ai_hash", "aingle_middleware_bytes", "chrono", - "derive_builder 0.9.0", + "derive_builder", "nanoid 0.4.0", "num_enum", "paste", @@ -1110,10 +1104,51 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16" [[package]] -name = "ascii_utils" -version = "0.9.3" +name = "askama" +version = "0.15.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71938f30533e4d95a6d17aa530939da3842c2ab6f4f84b9dae68447e4129f74a" +checksum = "08e1676b346cadfec169374f949d7490fd80a24193d37d2afce0c047cf695e57" +dependencies = [ + "askama_macros", + "itoa", + "percent-encoding 2.3.2", + "serde", + "serde_json", +] + +[[package]] +name = "askama_derive" +version = "0.15.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7661ff56517787343f376f75db037426facd7c8d3049cef8911f1e75016f3a37" +dependencies = [ + "askama_parser", + "memchr", + "proc-macro2", + "quote", + "rustc-hash 2.1.1", + "syn 2.0.117", +] + +[[package]] +name = "askama_macros" +version = "0.15.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "713ee4dbfd1eb719c2dab859465b01fa1d21cb566684614a713a6b7a99a4e47b" +dependencies = [ + "askama_derive", +] + +[[package]] +name = "askama_parser" +version = "0.15.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d62d674238a526418b30c0def480d5beadb9d8964e7f38d635b03bf639c704c" +dependencies = [ + "rustc-hash 2.1.1", + "unicode-ident", + "winnow", +] [[package]] name = "asn1-rs" @@ -1256,23 +1291,21 @@ dependencies = [ [[package]] name = "async-graphql" -version = "7.2.1" +version = "8.0.0-rc.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1057a9f7ccf2404d94571dec3451ade1cb524790df6f1ada0d19c2a49f6b0f40" +checksum = "42a0665c286cedf580804229492c4f7666d0ea48ddb7432ccc07c1903fc6542a" dependencies = [ + "askama", "async-graphql-derive", "async-graphql-parser", "async-graphql-value", - "async-io", "async-trait", "asynk-strim", "base64 0.22.1", + "blocking", "bytes", "chrono", - "fast_chemail", - "fnv", "futures-util", - "handlebars", "http 1.4.0", "indexmap 2.13.0", "mime", @@ -1280,20 +1313,22 @@ dependencies = [ "num-traits", "pin-project-lite", "regex", + "rustc-hash 2.1.1", "serde", "serde_json", "serde_urlencoded", "static_assertions_next", "tempfile", "thiserror 2.0.18", + "tokio", "uuid", ] [[package]] name = "async-graphql-axum" -version = "7.2.1" +version = "8.0.0-rc.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1e37c5532e4b686acf45e7162bc93da91fc2c702fb0d465efc2c20c8f973795" +checksum = "71520312fec282d5c584890fa09890ece18e853fedff98eff6670bb6f1778789" dependencies = [ "async-graphql", "axum", @@ -1308,13 +1343,13 @@ dependencies = [ [[package]] name = "async-graphql-derive" -version = "7.2.1" +version = "8.0.0-rc.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e6cbeadc8515e66450fba0985ce722192e28443697799988265d86304d7cc68" +checksum = "7a1cb5c969613b3c108500a0fe15737157341ba5af198692b08b436aeae3c940" dependencies = [ - "Inflector", "async-graphql-parser", "darling 0.23.0", + "heck 0.5.0", "proc-macro-crate", "proc-macro2", "quote", @@ -1325,9 +1360,9 @@ dependencies = [ [[package]] name = "async-graphql-parser" -version = "7.2.1" +version = "8.0.0-rc.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64ef70f77a1c689111e52076da1cd18f91834bcb847de0a9171f83624b07fbf" +checksum = "53d4f97b38939abe44e879e806f858261b8701fa43757d08d310f76750ee60aa" dependencies = [ "async-graphql-value", "pest", @@ -1337,9 +1372,9 @@ dependencies = [ [[package]] name = "async-graphql-value" -version = "7.2.1" +version = "8.0.0-rc.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e3ef112905abea9dea592fc868a6873b10ebd3f983e83308f995d6284e9ba41" +checksum = "7e3722caa711b9b669527259679764eff1a1dfddb5f0b7b9818d59bfe8275b74" dependencies = [ "bytes", "indexmap 2.13.0", @@ -3456,21 +3491,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2658621297f2cf68762a6f7dc0bb7e1ff2cfd6583daef8ee0fed6f7ec468ec0" dependencies = [ "darling 0.10.2", - "derive_builder_core 0.9.0", + "derive_builder_core", "proc-macro2", "quote", "syn 1.0.109", ] -[[package]] -name = "derive_builder" -version = "0.20.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "507dfb09ea8b7fa618fcf76e953f4f5e192547945816d5358edffe39f6f94947" -dependencies = [ - "derive_builder_macro", -] - [[package]] name = "derive_builder_core" version = "0.9.0" @@ -3483,28 +3509,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "derive_builder_core" -version = "0.20.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d5bcf7b024d6835cfb3d473887cd966994907effbe9227e8c8219824d06c4e8" -dependencies = [ - "darling 0.20.11", - "proc-macro2", - "quote", - "syn 2.0.117", -] - -[[package]] -name = "derive_builder_macro" -version = "0.20.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab63b0e2bf4d5928aff72e83a7dace85d7bba5fe12dcc3c5a572d78caffd3f3c" -dependencies = [ - "derive_builder_core 0.20.2", - "syn 2.0.117", -] - [[package]] name = "derive_more" version = "0.99.20" @@ -4196,15 +4200,6 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" -[[package]] -name = "fast_chemail" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "495a39d30d624c2caabe6312bfead73e7717692b44e0b32df168c275a2e8e9e4" -dependencies = [ - "ascii_utils", -] - [[package]] name = "fastbloom" version = "0.14.1" @@ -4949,22 +4944,6 @@ dependencies = [ "zerocopy", ] -[[package]] -name = "handlebars" -version = "6.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b3f9296c208515b87bd915a2f5d1163d4b3f863ba83337d7713cf478055948e" -dependencies = [ - "derive_builder 0.20.2", - "log", - "num-order", - "pest", - "pest_derive", - "serde", - "serde_json", - "thiserror 2.0.18", -] - [[package]] name = "hash32" version = "0.3.1" @@ -7028,21 +7007,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "num-modular" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17bb261bf36fa7d83f4c294f834e91256769097b3cb505d44831e0a179ac647f" - -[[package]] -name = "num-order" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "537b596b97c40fcf8056d153049eb22f481c17ebce72a513ec9286e4986d1bb6" -dependencies = [ - "num-modular", -] - [[package]] name = "num-traits" version = "0.2.19" @@ -7517,39 +7481,6 @@ dependencies = [ "ucd-trie", ] -[[package]] -name = "pest_derive" -version = "2.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11f486f1ea21e6c10ed15d5a7c77165d0ee443402f0780849d1768e7d9d6fe77" -dependencies = [ - "pest", - "pest_generator", -] - -[[package]] -name = "pest_generator" -version = "2.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8040c4647b13b210a963c1ed407c1ff4fdfa01c31d6d2a098218702e6664f94f" -dependencies = [ - "pest", - "pest_meta", - "proc-macro2", - "quote", - "syn 2.0.117", -] - -[[package]] -name = "pest_meta" -version = "2.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89815c69d36021a140146f26659a81d6c2afa33d216d736dd4be5381a7362220" -dependencies = [ - "pest", - "sha2 0.10.9", -] - [[package]] name = "phf" version = "0.11.3" diff --git a/crates/aingle_cortex/Cargo.toml b/crates/aingle_cortex/Cargo.toml index 6788d75..29f1e89 100644 --- a/crates/aingle_cortex/Cargo.toml +++ b/crates/aingle_cortex/Cargo.toml @@ -36,9 +36,9 @@ axum = { version = "0.8", features = ["ws", "macros"] } tower = "0.5" tower-http = { version = "0.6", features = ["cors", "trace", "compression-gzip"] } -# GraphQL (optional) -async-graphql = { version = "7.2", features = ["chrono", "uuid"], optional = true } -async-graphql-axum = { version = "7.2", optional = true } +# GraphQL (optional) — 8.0.0-rc for axum 0.8 compatibility +async-graphql = { version = "8.0.0-rc", features = ["chrono", "uuid"], optional = true } +async-graphql-axum = { version = "8.0.0-rc", optional = true } # SPARQL (optional) spargebra = { version = "0.4", optional = true } diff --git a/crates/aingle_cortex/src/graphql/mod.rs b/crates/aingle_cortex/src/graphql/mod.rs index 74d6f98..d260a76 100644 --- a/crates/aingle_cortex/src/graphql/mod.rs +++ b/crates/aingle_cortex/src/graphql/mod.rs @@ -12,11 +12,10 @@ pub use schema::*; pub use subscriptions::*; use async_graphql::Schema; -use async_graphql_axum::{GraphQLRequest, GraphQLResponse, GraphQLSubscription}; +use async_graphql_axum::{GraphQLRequest, GraphQLResponse}; use axum::{ extract::State, response::{Html, IntoResponse}, - routing::get, Router, }; @@ -34,10 +33,8 @@ pub fn create_schema(state: AppState) -> CortexSchema { /// Create GraphQL router /// -/// Note: Currently disabled due to axum version compatibility issues -/// The GraphQL functionality is complete but needs axum 0.8 or higher +/// Note: Placeholder — GraphQL endpoints will be wired in a future release pub fn router(_state: AppState, _playground: bool) -> Router { - // Placeholder router until axum version compatibility is resolved Router::new() } @@ -49,18 +46,10 @@ async fn graphql_handler( schema.execute(req.into_inner()).await.into() } -/// GraphQL playground +/// GraphiQL IDE async fn graphql_playground() -> impl IntoResponse { - Html(async_graphql::http::playground_source( - async_graphql::http::GraphQLPlaygroundConfig::new("/graphql") - .subscription_endpoint("/graphql/ws"), - )) -} - -/// GraphQL subscription handler -async fn graphql_subscription_handler( - State(schema): State, - ws: axum::extract::ws::WebSocketUpgrade, -) -> impl IntoResponse { - ws.on_upgrade(move |socket| GraphQLSubscription::new(schema).serve(socket)) + Html(async_graphql::http::GraphiQLSource::build() + .endpoint("/graphql") + .subscription_endpoint("/graphql/ws") + .finish()) }