Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(identity): make rand optional #4349

Merged
merged 33 commits into from
Oct 18, 2023
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
9f69eab
feat(identity)!: make rand optional
monoid Aug 10, 2023
79b3bdd
Merge branch 'master' into rand-feature
monoid Aug 19, 2023
4143eaf
Make ed25519-dalek's rand_core feature optional
monoid Sep 26, 2023
6c03b8c
Merge branch 'master' into rand-feature
monoid Oct 2, 2023
11de754
Merge branch 'master' into rand-feature
monoid Oct 2, 2023
866cc1a
identity doesn't have rand as default
monoid Oct 3, 2023
2fe25c7
Restore a comment with doctest
monoid Oct 3, 2023
ea1a136
Merge branch 'master' into rand-feature
monoid Oct 3, 2023
afde3f8
Add identity's rand feature to libp2p
monoid Oct 4, 2023
554e097
Fix wasm-tests
monoid Oct 4, 2023
4fe58a1
libp2p-identity version bump
monoid Oct 5, 2023
719a6e0
Merge branch 'master' into rand-feature
monoid Oct 5, 2023
8d9881d
`ed25519` feature doens't depend on `rand` directly
monoid Oct 5, 2023
4e9419c
Format identity/Cargo.toml
monoid Oct 6, 2023
fbd4438
Update version in the top-level Cargo.toml
monoid Oct 6, 2023
d68fe13
Update identity/CHANGELOG.md
monoid Oct 6, 2023
0c69bc6
Bump libp2p version
monoid Oct 9, 2023
2d158a1
Add `libp2p-idenity/rand` feature to `libp2p-swarm-test`
monoid Oct 9, 2023
fedbb60
Merge branch 'master' into rand-feature
monoid Oct 9, 2023
f2a9707
Merge branch 'master' into rand-feature
monoid Oct 9, 2023
d9bcbb7
Merge branch 'master' into rand-feature
thomaseizinger Oct 10, 2023
bcd5f06
Add note about rand feature flag
thomaseizinger Oct 10, 2023
c907711
Remove a comment
monoid Oct 10, 2023
50ec01c
Merge branch 'master' into rand-feature
monoid Oct 10, 2023
fe1b8b7
Add rand feature to tests where required
monoid Oct 10, 2023
9c3fd0e
Merge branch 'master' into rand-feature
monoid Oct 10, 2023
7fbd4f1
Fix compilation in certain crates
monoid Oct 11, 2023
ee4f2f5
Merge branch 'master' into rand-feature
monoid Oct 14, 2023
7a43faf
Merge branch 'master' into rand-feature
monoid Oct 14, 2023
5d54f70
Merge branch 'master' into rand-feature
monoid Oct 16, 2023
3e824d9
Merge branch 'master' into rand-feature
monoid Oct 17, 2023
d9bbdb8
Update Cargo.lock
monoid Oct 17, 2023
62f1bfd
Merge branch 'master' into rand-feature
monoid Oct 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ed25519 feature doens't depend on rand directly
  • Loading branch information
monoid committed Oct 5, 2023
commit 8d9881d965041edab9f0094e4087c0b81293d47a
3 changes: 2 additions & 1 deletion identity/Cargo.toml
Original file line number Diff line number Diff line change
@@ -35,8 +35,9 @@ ring = { version = "0.16.9", features = ["alloc", "std"], default-features = fal
[features]
secp256k1 = [ "dep:libsecp256k1", "dep:asn1_der", "dep:sha2", "dep:hkdf", "dep:zeroize" ]
ecdsa = [ "dep:p256", "dep:void", "dep:zeroize", "dep:sec1", "dep:sha2", "dep:hkdf" ]
# It is ok for RSA to depend on rand as it doesn't compile to WASM and similar environments anyway.
rsa = [ "dep:ring", "dep:asn1_der", "dep:rand", "dep:zeroize" ]
monoid marked this conversation as resolved.
Show resolved Hide resolved
ed25519 = [ "dep:ed25519-dalek", "dep:rand", "dep:zeroize", "dep:sha2", "dep:hkdf" ]
ed25519 = [ "dep:ed25519-dalek", "dep:zeroize", "dep:sha2", "dep:hkdf" ]
peerid = [ "dep:multihash", "dep:bs58", "dep:thiserror", "dep:sha2", "dep:hkdf" ]
rand = ["dep:rand", "ed25519-dalek?/rand_core"]

Loading