-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use namespaced features for
serde
; MSRV 1.60 (#268)
Reverts-the-revert from #254, reinstating #251 This reverts commit 26f38ad. Since we need to upgrade `pkcs1` and `pkcs8`, which are MSRV 1.65, now is a good time to start making brekaing changes again.
- Loading branch information
Showing
5 changed files
with
14 additions
and
33 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "rsa" | ||
version = "0.8.2" | ||
version = "0.9.0-pre" | ||
authors = ["RustCrypto Developers", "dignifiedquire <[email protected]>"] | ||
edition = "2021" | ||
description = "Pure Rust RSA implementation" | ||
|
@@ -10,7 +10,7 @@ repository = "https://github.com/RustCrypto/RSA" | |
keywords = ["rsa", "encryption", "security", "crypto"] | ||
categories = ["cryptography"] | ||
readme = "README.md" | ||
rust-version = "1.57" | ||
rust-version = "1.60" | ||
|
||
[dependencies] | ||
num-bigint = { version = "0.8.2", features = ["i128", "u64_digit", "prime", "zeroize"], default-features = false, package = "num-bigint-dig" } | ||
|
@@ -23,22 +23,11 @@ subtle = { version = "2.1.1", default-features = false } | |
digest = { version = "0.10.5", default-features = false, features = ["alloc", "oid"] } | ||
pkcs1 = { version = "0.4", default-features = false, features = ["pkcs8", "alloc"] } | ||
pkcs8 = { version = "0.9", default-features = false, features = ["alloc"] } | ||
serde = { version = "1.0.103", optional = true, default-features = false, features = ["derive"] } | ||
sha2 = { version = "0.10.6", optional = true, default-features = false, features = ["oid"] } | ||
signature = { version = "2", default-features = false , features = ["digest", "rand_core"] } | ||
zeroize = { version = "1", features = ["alloc"] } | ||
|
||
[dependencies.sha2] | ||
version = "0.10.6" | ||
optional = true | ||
default-features = false | ||
features = ["oid"] | ||
|
||
[dependencies.serde_crate] | ||
package = "serde" | ||
optional = true | ||
version = "1.0.103" | ||
default-features = false | ||
features = ["derive"] | ||
|
||
[dev-dependencies] | ||
base64ct = { version = "1", features = ["alloc"] } | ||
hex-literal = "0.3.3" | ||
|
@@ -57,7 +46,7 @@ name = "key" | |
[features] | ||
default = ["std", "pem"] | ||
nightly = ["num-bigint/nightly"] | ||
serde = ["num-bigint/serde", "serde_crate"] | ||
serde = ["dep:serde", "num-bigint/serde"] | ||
expose-internals = [] | ||
std = ["digest/std", "pkcs1/std", "pkcs8/std", "rand_core/std", "signature/std"] | ||
pem = ["pkcs1/pem", "pkcs8/pem"] | ||
|
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