Skip to content

Commit

Permalink
Introduce "u64_backend" feature, enabled by default, to enable one …
Browse files Browse the repository at this point in the history
…of `curve25519-dalek` required feature
  • Loading branch information
commial committed Aug 22, 2022
1 parent faf549e commit 21633ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions mla/CHANGELOG.md
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added/Changed

- Introduce `"send"` feature, to provide `ArchiveWriter` with `Send` bound ([#120](https://github.com/ANSSI-FR/MLA/issues/120))
- Introduce `"u64_backend"` feature, enabled by default, to enable one of `curve25519-dalek` required feature
- Bump dependencies
- Dependencies: disable default features
- Code cleaning
Expand Down
5 changes: 5 additions & 0 deletions mla/Cargo.toml
Expand Up @@ -32,6 +32,8 @@ x25519-dalek = { version = "1", default-features = false}
hkdf = { version = "0", default-features = false}
sha2 = { version = "0", default-features = false}
zeroize = { version = "1", default-features = false}
# x25519-dalek depends on curve25519-dalek, which requires at least one feature to be enabled
curve25519-dalek = { version = "3", default-features = false }

[dev-dependencies]
hex-literal = { version = "0.3", default-features = false}
Expand All @@ -43,7 +45,10 @@ hex = { version = "0.4", default-features = false, features = ["alloc"]}
static_assertions = { version = "1", default-features = false }

[features]
default = ["u64_backend"]
send = []
# Redirect feature of curve25519-dalek to have a working default compilation
u64_backend = ["curve25519-dalek/u64_backend"]

[[bench]]
name = "bench_archive"
Expand Down

0 comments on commit 21633ce

Please sign in to comment.