Skip to content

Commit

Permalink
add test crate
Browse files Browse the repository at this point in the history
  • Loading branch information
keks committed Aug 21, 2024
1 parent 7c486f1 commit 97e6e62
Show file tree
Hide file tree
Showing 9 changed files with 154,388 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ evercrypt_provider/target
no-std-support-check/target
rust_crypto_provider/target
traits/target/
hpke-rs-tests/target
.DS_Store
/.idea
20 changes: 20 additions & 0 deletions hpke-rs-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[package]
name = "hpke-rs-tests"
version = "0.1.0"
edition = "2021"

[dependencies]
hpke-rs = { version = "0.2.0", features = [
"hazmat",
"serialization",
"hpke-test",
], path = "../" }
hpke-rs-crypto = { version = "0.2.0", path = "../traits" }
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
rayon = "1.5"
log = "0.4"
pretty_env_logger = "0.5"

[features]
prng = ["hpke-rs/hpke-test-prng"]
9 changes: 9 additions & 0 deletions hpke-rs-tests/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
pub mod test_hpke;
pub mod test_hpke_kat;

pub use hpke_rs;
pub use hpke_rs_crypto;
pub use serde;
pub use serde_json;

mod util;
Loading

0 comments on commit 97e6e62

Please sign in to comment.