From 518ce146abeafe3c5b95df62e33ec814c42f76b3 Mon Sep 17 00:00:00 2001 From: Eli Grubb Date: Wed, 17 Jun 2026 07:11:51 +0000 Subject: [PATCH] Fix failing rustdoc tests --- aes-gcm-siv/Cargo.toml | 2 +- aes-gcm/Cargo.toml | 2 +- aes-siv/Cargo.toml | 2 +- ascon-aead128/Cargo.toml | 2 +- belt-dwp/Cargo.toml | 2 +- ccm/Cargo.toml | 2 +- chacha20poly1305/Cargo.toml | 2 +- deoxys/Cargo.toml | 2 +- eax/Cargo.toml | 2 +- ocb3/Cargo.toml | 2 +- xaes-256-gcm/Cargo.toml | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/aes-gcm-siv/Cargo.toml b/aes-gcm-siv/Cargo.toml index 1a1ad7f3..d150fea6 100644 --- a/aes-gcm-siv/Cargo.toml +++ b/aes-gcm-siv/Cargo.toml @@ -33,7 +33,7 @@ default = ["aes", "alloc", "getrandom"] alloc = ["aead/alloc"] arrayvec = ["aead/arrayvec"] bytes = ["aead/bytes"] -getrandom = ["aead/getrandom"] +getrandom = ["aead/getrandom", "rand_core"] rand_core = ["aead/rand_core"] [package.metadata.docs.rs] diff --git a/aes-gcm/Cargo.toml b/aes-gcm/Cargo.toml index a81866f7..63d7dd08 100644 --- a/aes-gcm/Cargo.toml +++ b/aes-gcm/Cargo.toml @@ -37,7 +37,7 @@ alloc = ["aead/alloc"] arrayvec = ["aead/arrayvec"] bytes = ["aead/bytes"] -getrandom = ["aead/getrandom"] +getrandom = ["aead/getrandom", "rand_core"] hazmat = [] rand_core = ["aead/rand_core"] diff --git a/aes-siv/Cargo.toml b/aes-siv/Cargo.toml index f16399a6..577b0ca0 100644 --- a/aes-siv/Cargo.toml +++ b/aes-siv/Cargo.toml @@ -40,7 +40,7 @@ alloc = ["aead/alloc"] arrayvec = ["aead/arrayvec"] bytes = ["aead/bytes"] -getrandom = ["aead/getrandom"] +getrandom = ["aead/getrandom", "rand_core"] rand_core = ["aead/rand_core"] [package.metadata.docs.rs] diff --git a/ascon-aead128/Cargo.toml b/ascon-aead128/Cargo.toml index ba49b6e0..374f9646 100644 --- a/ascon-aead128/Cargo.toml +++ b/ascon-aead128/Cargo.toml @@ -25,7 +25,7 @@ default = ["alloc", "getrandom"] alloc = ["aead/alloc"] arrayvec = ["aead/arrayvec"] bytes = ["aead/bytes"] -getrandom = ["aead/getrandom"] +getrandom = ["aead/getrandom", "rand_core"] rand_core = ["aead/rand_core"] zeroize = ["dep:zeroize", "ascon/zeroize"] diff --git a/belt-dwp/Cargo.toml b/belt-dwp/Cargo.toml index 9f54a76a..79978ada 100644 --- a/belt-dwp/Cargo.toml +++ b/belt-dwp/Cargo.toml @@ -27,7 +27,7 @@ default = ["alloc", "getrandom"] alloc = ["aead/alloc"] arrayvec = ["aead/arrayvec"] bytes = ["aead/bytes"] -getrandom = ["aead/getrandom"] +getrandom = ["aead/getrandom", "rand_core"] rand_core = ["aead/rand_core"] reduced-round = [] zeroize = ["dep:zeroize", "belt-ctr/zeroize"] diff --git a/ccm/Cargo.toml b/ccm/Cargo.toml index b9112600..1a79ce32 100644 --- a/ccm/Cargo.toml +++ b/ccm/Cargo.toml @@ -29,5 +29,5 @@ default = ["alloc", "getrandom"] alloc = ["aead/alloc"] arrayvec = ["aead/arrayvec"] bytes = ["aead/bytes"] -getrandom = ["aead/getrandom"] +getrandom = ["aead/getrandom", "rand_core"] rand_core = ["aead/rand_core"] diff --git a/chacha20poly1305/Cargo.toml b/chacha20poly1305/Cargo.toml index 67a34cc9..115d46f2 100644 --- a/chacha20poly1305/Cargo.toml +++ b/chacha20poly1305/Cargo.toml @@ -34,7 +34,7 @@ default = ["alloc", "getrandom"] alloc = ["aead/alloc"] arrayvec = ["aead/arrayvec"] bytes = ["aead/bytes"] -getrandom = ["aead/getrandom"] +getrandom = ["aead/getrandom", "rand_core"] rand_core = ["aead/rand_core"] reduced-round = [] zeroize = ["dep:zeroize", "chacha20/zeroize"] diff --git a/deoxys/Cargo.toml b/deoxys/Cargo.toml index 89287dd4..f80dfe23 100644 --- a/deoxys/Cargo.toml +++ b/deoxys/Cargo.toml @@ -32,7 +32,7 @@ default = ["alloc", "getrandom"] alloc = ["aead/alloc"] arrayvec = ["aead/arrayvec"] bytes = ["aead/bytes"] -getrandom = ["aead/getrandom"] +getrandom = ["aead/getrandom", "rand_core"] rand_core = ["aead/rand_core"] [package.metadata.docs.rs] diff --git a/eax/Cargo.toml b/eax/Cargo.toml index 6b85ebb3..4d9776cb 100644 --- a/eax/Cargo.toml +++ b/eax/Cargo.toml @@ -35,7 +35,7 @@ default = ["alloc"] alloc = ["aead/alloc"] arrayvec = ["aead/arrayvec"] bytes = ["aead/bytes"] -getrandom = ["aead/getrandom"] +getrandom = ["aead/getrandom", "rand_core"] rand_core = ["aead/rand_core"] [package.metadata.docs.rs] diff --git a/ocb3/Cargo.toml b/ocb3/Cargo.toml index 59a6e7c1..18ddb5b7 100644 --- a/ocb3/Cargo.toml +++ b/ocb3/Cargo.toml @@ -34,7 +34,7 @@ default = ["alloc", "getrandom"] alloc = ["aead/alloc", "aead-stream?/alloc"] arrayvec = ["aead/arrayvec"] bytes = ["aead/bytes"] -getrandom = ["aead/getrandom"] +getrandom = ["aead/getrandom", "rand_core"] rand_core = ["aead/rand_core"] [package.metadata.docs.rs] diff --git a/xaes-256-gcm/Cargo.toml b/xaes-256-gcm/Cargo.toml index 071389c4..5013ba77 100644 --- a/xaes-256-gcm/Cargo.toml +++ b/xaes-256-gcm/Cargo.toml @@ -30,7 +30,7 @@ hex-literal = "1" default = ["alloc", "getrandom"] alloc = ["aead/alloc", "aead-stream?/alloc", "aes-gcm/alloc"] arrayvec = ["aead/arrayvec", "aes-gcm/arrayvec"] -getrandom = ["aes-gcm/getrandom"] +getrandom = ["aead/getrandom", "aes-gcm/getrandom", "rand_core"] rand_core = ["aead/rand_core", "aes-gcm/rand_core"] [package.metadata.docs.rs]