Skip to content

Commit

Permalink
Correct default features
Browse files Browse the repository at this point in the history
  • Loading branch information
imor committed Jul 2, 2023
1 parent 37cc68a commit aa76cb8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions x509-cert/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ spki = { version = "0.7.2", features = ["alloc"] }
arbitrary = { version = "1.3", features = ["derive"], optional = true }
sha1 = { version = "0.10.0", optional = true }
signature = { version = "2.1.0", features = ["rand_core"], optional = true }
# TODO: Use next version of tls_codec when a verion containing the following PR is published:
# https://github.com/RustCrypto/formats/pull/1132
# https://github.com/RustCrypto/formats/pull/1133
tls_codec = { path = "../tls_codec", features = ["derive"], optional = true }
# tls_codec = { version = "0.3.0", features = ["derive", "std"] }

[dev-dependencies]
hex-literal = "0.4"
Expand All @@ -38,8 +40,7 @@ tempfile = "3.5.0"
x509-cert-test-support = { path = "./test-support" }

[features]
# default = ["pem", "std"]
default = ["pem", "std", "sct"]
default = ["pem", "std"]
std = ["const-oid/std", "der/std", "spki/std", "tls_codec?/std"]

arbitrary = ["dep:arbitrary", "std", "der/arbitrary", "spki/arbitrary"]
Expand Down

0 comments on commit aa76cb8

Please sign in to comment.