Skip to content

Commit

Permalink
feat: remove unused default features
Browse files Browse the repository at this point in the history
  • Loading branch information
nponsard committed Aug 30, 2023
1 parent 8463952 commit a78e6f9
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 112 deletions.
116 changes: 16 additions & 100 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 20 additions & 12 deletions pkcs11/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,31 @@ name = "nethsm_pkcs11"
crate-type = ["cdylib"]

[dependencies]
libc = "0.2.80"
env_logger = { default-features = false, version = "0.10.0", features = [
"auto-color",
"humantime",
] }
libc = { default-features = false, version = "0.2.80" }
cryptoki-sys = "0.1.6"
log = "0.4.19"
env_logger = "0.10.0"
merge = "0.1.0"
serde = { version = "1", features = ["derive"] }
merge = { features = [
"derive",
"std",
], default-features = false, version = "0.1.0" }
serde = { version = "1", features = ["derive"], default-features = false }
serde_yaml = "0.9.22"
serde_json = "1.0.64"
serde_json = { default-features = false, version = "1.0.64" }
lazy_static = "1.4.0"
nethsm-sdk-rs = { git = "https://github.com/Nitrokey/nethsm-sdk-rs", tag = "0.2.0" }
nethsm-sdk-rs = { git = "https://github.com/Nitrokey/nethsm-sdk-rs", tag = "0.3.0" }
# need to keep the same version as in the nethsm_sdk_rs crate
ureq = { version = "2", features = ["json"] }
rustls = { version = "0.21", features = ["dangerous_configuration"] }
ureq = { version = "2", default-features = false, features = ["json", "tls"] }
rustls = { version = "0.21", features = [
"dangerous_configuration",
], default-features = false }
rustls-native-certs = "0.6"
base64ct = { version = "1.6", features = ["alloc"] }
base64ct = { version = "1.6", default-features = false }
hex = "0.4"
der = { version = "0.7", features = ["pem"] }
der = { version = "0.7", default-features = false }
pem-rfc7468 = "0.7"
x509-cert = "0.2"
sha2 = "0.10"
x509-cert = { features = ["pem"], default-features = false, version = "0.2" }
sha2 = { default-features = false, version = "0.10" }

0 comments on commit a78e6f9

Please sign in to comment.