Move num-traits behind unstable feature flag

It is only directly required for ssh-rsa support, which is currently
unstable.
This commit is contained in:
Jack Grigg 2019-12-28 15:40:08 -06:00
parent 2c44012425
commit a610e25145
No known key found for this signature in database
GPG key ID: 9E8255172BBF9898

View file

@ -49,7 +49,7 @@ bech32 = "0.7"
# OpenSSH-specific dependencies:
# - RSAES-OAEP from RFC 8017 with SHA-256 and MGF1 (behind unstable feature flag)
num-traits = "0.2"
num-traits = { version = "0.2", optional = true }
rsa = { version = "0.2", git = "https://github.com/str4d/RSA", branch = "oaep", optional = true }
# - Conversion of public keys from from Ed25519 to X25519
@ -108,7 +108,7 @@ default = ["cli"]
cli-common = ["dialoguer", "dirs", "gumdrop", "log"]
cli = ["cli-common", "chrono", "console", "env_logger", "minreq"]
mount = ["cli-common", "env_logger", "fuse_mt", "libc", "tar", "time", "zip"]
unstable = ["rsa"]
unstable = ["num-traits", "rsa"]
[[bin]]
name = "rage-mount"