Skip to content

Commit

Permalink
Add rand_core feature to all crates (#467)
Browse files Browse the repository at this point in the history
Activates the `aead/rand_core` feature
  • Loading branch information
tarcieri committed Aug 10, 2022
1 parent bc6bab9 commit c43590a
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 8 deletions.
3 changes: 2 additions & 1 deletion aes-gcm-siv/Cargo.toml
Expand Up @@ -32,8 +32,9 @@ aead = { version = "0.5", features = ["dev"], default-features = false }
default = ["aes", "alloc", "getrandom"]
std = ["aead/std", "alloc"]
alloc = ["aead/alloc"]
getrandom = ["aead/getrandom"]
getrandom = ["aead/getrandom", "rand_core"]
heapless = ["aead/heapless"]
rand_core = ["aead/rand_core"]
stream = ["aead/stream"]

[package.metadata.docs.rs]
Expand Down
3 changes: 2 additions & 1 deletion aes-gcm/Cargo.toml
Expand Up @@ -33,8 +33,9 @@ hex-literal = "0.3"
default = ["aes", "alloc", "getrandom"]
std = ["aead/std", "alloc"]
alloc = ["aead/alloc"]
getrandom = ["aead/getrandom"]
getrandom = ["aead/getrandom", "rand_core"]
heapless = ["aead/heapless"]
rand_core = ["aead/rand_core"]
stream = ["aead/stream"]

[package.metadata.docs.rs]
Expand Down
3 changes: 2 additions & 1 deletion aes-siv/Cargo.toml
Expand Up @@ -37,8 +37,9 @@ hex-literal = "0.3"
default = ["alloc", "getrandom"]
std = ["aead/std", "alloc"]
alloc = ["aead/alloc"]
getrandom = ["aead/getrandom"]
getrandom = ["aead/getrandom", "rand_core"]
heapless = ["aead/heapless"]
rand_core = ["aead/rand_core"]
stream = ["aead/stream"]

[package.metadata.docs.rs]
Expand Down
3 changes: 2 additions & 1 deletion ccm/Cargo.toml
Expand Up @@ -28,6 +28,7 @@ hex-literal = "0.3.4"
default = ["alloc", "getrandom"]
std = ["aead/std", "alloc"]
alloc = ["aead/alloc"]
getrandom = ["aead/getrandom"]
getrandom = ["aead/getrandom", "rand_core"]
heapless = ["aead/heapless"]
rand_core = ["aead/rand_core"]
stream = ["aead/stream"]
3 changes: 2 additions & 1 deletion chacha20poly1305/Cargo.toml
Expand Up @@ -31,8 +31,9 @@ aead = { version = "0.5", features = ["dev"], default-features = false }
default = ["alloc", "getrandom"]
std = ["aead/std", "alloc"]
alloc = ["aead/alloc"]
getrandom = ["aead/getrandom"]
getrandom = ["aead/getrandom", "rand_core"]
heapless = ["aead/heapless"]
rand_core = ["aead/rand_core"]
reduced-round = []
stream = ["aead/stream"]

Expand Down
3 changes: 2 additions & 1 deletion deoxys/Cargo.toml
Expand Up @@ -31,8 +31,9 @@ hex-literal = "0.3"
default = ["alloc", "getrandom"]
std = ["aead/std", "alloc"]
alloc = ["aead/alloc"]
getrandom = ["aead/getrandom"]
getrandom = ["aead/getrandom", "rand_core"]
heapless = ["aead/heapless"]
rand_core = ["aead/rand_core"]
stream = ["aead/stream"]

[package.metadata.docs.rs]
Expand Down
3 changes: 2 additions & 1 deletion eax/Cargo.toml
Expand Up @@ -34,8 +34,9 @@ aes = "0.8"
default = ["alloc", "getrandom"]
std = ["aead/std", "alloc"]
alloc = ["aead/alloc"]
getrandom = ["aead/getrandom"]
getrandom = ["aead/getrandom", "rand_core"]
heapless = ["aead/heapless"]
rand_core = ["aead/rand_core"]
stream = ["aead/stream"]

[package.metadata.docs.rs]
Expand Down
3 changes: 2 additions & 1 deletion mgm/Cargo.toml
Expand Up @@ -32,7 +32,8 @@ hex-literal = "0.2"
default = ["alloc", "getrandom"]
std = ["aead/std", "alloc"]
alloc = ["aead/alloc"]
getrandom = ["aead/getrandom"]
getrandom = ["aead/getrandom", "rand_core"]
heapless = ["aead/heapless"]
rand_core = ["aead/rand_core"]
stream = ["aead/stream"]
force-soft = [] # Disable support for hardware intrinsics

0 comments on commit c43590a

Please sign in to comment.