Skip to content

Commit 91869ac

Browse files
committed
Add std feature to signature crate and re-export signature module
1 parent b19f227 commit 91869ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ thiserror = "1"
1313
bs58 = { version = "0.5", features = ["check"] }
1414
base64 = ">=0.21"
1515
drop_guard = { version = "0.3.0", optional = true }
16-
signature = "2"
16+
signature = { version = "2", features = ["std"] }
1717
serde = { version = "1", features = ["derive"] }
1818
rand_core = "^0.6"
1919
sha2 = { version = "0.10", default-features = false, features = ["std", "oid"] }

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub mod public_key;
5454
pub mod public_key_binary;
5555

5656
mod keypair;
57-
57+
pub use signature;
5858
pub use error::{Error, Result};
5959
pub use keypair::{Keypair, Sign};
6060
pub use public_key::{PublicKey, PublicKeySize, Verify};

0 commit comments

Comments
 (0)