Skip to content

Commit a0dd63b

Browse files
committed
Cargo: get rid of the async feature
1 parent e8c082d commit a0dd63b

File tree

3 files changed

+2
-147
lines changed

3 files changed

+2
-147
lines changed

Cargo.lock

Lines changed: 1 addition & 143 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ rustdoc-args = ["--cfg", "docsrs"]
1717
[features]
1818
default = []
1919
argon2 = ["dep:argon2"]
20-
async = ["dep:futures"]
2120
cbor = ["dep:thiserror", "dep:darkbio-crypto-cbor-derive"]
2221
cose = ["cbor", "xhpke"]
2322
eddsa = ["pem", "dep:der", "dep:ed25519-dalek", "dep:pkcs8", "dep:sha2", "dep:signature", "dep:spki", ]
@@ -43,7 +42,6 @@ chrono = { version = "0.4.41", optional = true }
4342
der = { version = "0.7.10", features = ["derive"], optional = true }
4443
ed25519-dalek = { version = "2.2.0", features = ["pem", "rand_core"], optional = true }
4544
ml-dsa = { version = "0.1.0-rc.2", features = ["rand_core"], optional = true }
46-
futures = { version = "0.3", optional = true }
4745
generic-array = { version = "0.14.7", optional = true }
4846
hkdf = { version = "0.12.4", optional = true }
4947
getrandom02 = { package = "getrandom", version = "0.2", features = ["js"] }
@@ -70,6 +68,4 @@ name = "demo"
7068
required-features = ["cose"]
7169

7270
[dev-dependencies]
73-
futures-test = "0.3"
7471
hex = "0.4"
75-
tokio = { version = "1.0", features = ["rt", "macros"] }

src/stream/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
// Source: https://github.com/str4d/rage/blob/main/age/src/primitives/stream.rs
2424

2525
#![allow(clippy::all)]
26+
#![allow(unexpected_cfgs)]
2627

2728
//! I/O helper structs for age file encryption and decryption.
2829

0 commit comments

Comments
 (0)