Skip to content

Commit 3416df1

Browse files
fix: address review feedback on module docs
- Gate dashmap import behind cfg(feature=std) (fixes no_std build) - Update cache docs to reference ArtifactId instead of raw tuple - Fix interop-tests docs to list actual backends (ring + RustCrypto) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 550a282 commit 3416df1

File tree

2 files changed

+3
-2
lines changed
  • crates
    • uselesskey-core-cache/src
    • uselesskey-interop-tests/src

2 files changed

+3
-2
lines changed

crates/uselesskey-core-cache/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//! Identity-keyed typed cache primitives for uselesskey fixture factories.
44
//!
55
//! Provides a concurrent, identity-based cache that stores generated cryptographic
6-
//! artifacts keyed by `(domain, label, spec, variant)` tuples. This avoids
6+
//! artifacts keyed by [`ArtifactId`](uselesskey_core_id::ArtifactId). This avoids
77
//! expensive re-generation (especially RSA) across test runs.
88
99
extern crate alloc;
@@ -13,6 +13,7 @@ use alloc::collections::BTreeMap;
1313
use alloc::sync::Arc;
1414
use core::any::Any;
1515
use core::fmt;
16+
#[cfg(feature = "std")]
1617
use dashmap::DashMap;
1718
#[cfg(not(feature = "std"))]
1819
use spin::Mutex;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//! Cross-backend interoperability tests for uselesskey.
22
//!
33
//! Verifies that keys generated by uselesskey work correctly across multiple
4-
//! cryptographic backends (ring, aws-lc-rs, rustls, RustCrypto, jsonwebtoken).
4+
//! cryptographic backends (ring and RustCrypto crates such as p256, ed25519-dalek, rsa).
55
// Cross-backend interoperability tests — see tests/ directory.

0 commit comments

Comments
 (0)