signature v0.2.0

This commit is contained in:
Tony Arcieri
2019-06-06 17:26:19 -07:00
parent 6bc013adad
commit cd60a81908
5 changed files with 21 additions and 7 deletions
+11 -1
View File
@@ -1,3 +1,13 @@
## 0.1.0 (2019-05-25)
## [0.2.0] (2019-06-06)
- `signature_derive`: Custom derive support for `Signer`/`Verifier` ([#18])
- Have `DigestSigner`/`DigestVerifier` take `Digest` instance ([#17])
## [0.1.0] (2019-05-25)
- Initial release
[0.2.0]: https://github.com/RustCrypto/signatures/pull/19
[#18]: https://github.com/RustCrypto/signatures/pull/18
[#17]: https://github.com/RustCrypto/signatures/pull/17
[0.1.0]: https://github.com/RustCrypto/signatures/pull/15
+3 -3
View File
@@ -1,9 +1,9 @@
[package]
name = "signature"
version = "0.1.0"
description = "Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)"
version = "0.2.0" # Also update html_root_url in lib.rs when bumping this
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
description = "Traits for cryptographic signature algorithms (e.g. ECDSA, Ed25519)"
documentation = "https://docs.rs/signature"
repository = "https://github.com/RustCrypto/signatures/tree/master/signature-crate"
readme = "README.md"
@@ -13,7 +13,7 @@ categories = ["cryptography", "no-std"]
[dependencies]
digest = { version = "0.8", optional = true, default-features = false }
signature_derive = { version = "0", optional = true, path = "signature_derive" }
signature_derive = { version = "0.2", optional = true, path = "signature_derive" }
[dev-dependencies]
hex-literal = "0.2"
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "signature_derive"
version = "0.0.0"
version = "0.2.0"
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
description = "Custom derive support for the 'signature' crate"
+6 -1
View File
@@ -3,7 +3,6 @@
//! cryptography.
#![no_std]
#![cfg_attr(all(feature = "nightly", not(feature = "std")), feature(alloc))]
#![deny(
warnings,
missing_docs,
@@ -13,6 +12,12 @@
unused_import_braces,
unused_qualifications
)]
#![doc(html_root_url = "https://docs.rs/signature/0.2.0")]
#[cfg(all(feature = "alloc", not(feature = "std")))]
#[allow(unused_imports)] // rustc bug?
#[macro_use]
extern crate alloc;
#[cfg(feature = "std")]
#[macro_use]
-1
View File
@@ -1,6 +1,5 @@
//! Crate-local prelude (for alloc-dependent features like `Vec`)
// TODO: switch to alloc::prelude
#[cfg(all(feature = "alloc", not(feature = "std")))]
pub use alloc::vec::Vec;