-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added selection of entropy crate
Added ability to select between `rand` and `aws-lc-rs` crates for entropy device. Signed-off-by: Egor Lazarchuk <[email protected]>
- Loading branch information
1 parent
48a3e87
commit 318f08a
Showing
4 changed files
with
27 additions
and
4 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,14 @@ authors = ["Amazon Firecracker team <[email protected]>"] | |
edition = "2021" | ||
license = "Apache-2.0" | ||
|
||
[features] | ||
default = [] | ||
aws-lc-rs = ["dep:aws-lc-rs"] | ||
rand = ["dep:rand"] | ||
|
||
[dependencies] | ||
aws-lc-rs = "1.0.2" | ||
aws-lc-rs = { version = "1.0.2", optional = true } | ||
rand = { version = "0.8.5", optional = true } | ||
bitflags = "2.0.2" | ||
derive_more = { version = "0.99.17", default-features = false, features = ["from", "display"] } | ||
event-manager = "0.3.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters