Nothing to see here

ops: set rust msrv to 1.86 and add test workflow

Rust 1.86 is the latest available version on CI runner.

Signed-off-by: tjh <did:plc:65gha4t3avpfpzmvpbwovss7>

tjh.dev 94bdb409 c5592cc7

verified
Changed files
+37 -12
.tangled
workflows
crates
identity
knot
+21
.tangled/workflows/test.yaml
··· 1 + when: 2 + - event: 3 + - push 4 + branch: 5 + - main 6 + 7 + engine: nixery 8 + 9 + dependencies: 10 + nixpkgs: 11 + - cargo 12 + - clang 13 + - openssl 14 + - pkg-config 15 + 16 + steps: 17 + - name: Run unit tests 18 + command: | 19 + export PKG_CONFIG_PATH="${PKG_CONFIG_PATH:+$PKG_CONFIG_PATH:}$(nix build nixpkgs#openssl.dev --no-link --print-out-paths)/lib/pkgconfig" 20 + cargo test --workspace 21 +
+1
Cargo.toml
··· 10 10 license = "MIT or Apache-2.0" 11 11 edition = "2024" 12 12 publish = false 13 + rust-version = "1.86" 13 14 14 15 [workspace.dependencies] 15 16 identity = { path = "crates/identity" }
+12 -12
crates/identity/src/resolvers.rs
··· 197 197 continue; 198 198 }; 199 199 200 - if let Some(old_did) = resolved_did.replace(did.clone()) 201 - && old_did != did 202 - { 203 - tracing::error!( 204 - ?handle, 205 - ?did, 206 - ?old_did, 207 - "multiple conflicting DIDs found for handle" 208 - ); 209 - // @TODO Replace this with an error so we can retry with a 210 - // recursive dns resolver. 211 - return Ok(None); 200 + if let Some(old_did) = resolved_did.replace(did.clone()) { 201 + if old_did != did { 202 + tracing::error!( 203 + ?handle, 204 + ?did, 205 + ?old_did, 206 + "multiple conflicting DIDs found for handle" 207 + ); 208 + // @TODO Replace this with an error so we can retry with a 209 + // recursive dns resolver. 210 + return Ok(None); 211 + } 212 212 } 213 213 } 214 214 }
+1
crates/knot/Cargo.toml
··· 7 7 license.workspace = true 8 8 edition.workspace = true 9 9 publish.workspace = true 10 + rust-version.workspace = true 10 11 11 12 [dependencies] 12 13 anyhow = "1.0.99"
+2
rust-toolchain.toml
··· 1 + [toolchain] 2 + channel = "1.86"