Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable oid feature by default #528

Merged
merged 1 commit into from
Jan 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion belt-hash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ digest = { version = "=0.11.0-pre.3", features = ["dev"] }
hex-literal = "0.4"

[features]
default = ["std"]
default = ["oid", "std"]
std = ["digest/std"]
oid = ["digest/oid"]
4 changes: 2 additions & 2 deletions gost94/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ digest = { version = "=0.11.0-pre.3", features = ["dev"] }
hex-literal = "0.4"

[features]
default = ["std"]
default = ["oid", "std"]
std = ["digest/std"]
oid = ["digest/oid"] # Enable OID support. WARNING: Bumps MSRV to 1.57
oid = ["digest/oid"]
2 changes: 1 addition & 1 deletion md2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ digest = { version = "=0.11.0-pre.3", features = ["dev"] }
hex-literal = "0.4"

[features]
default = ["std"]
default = ["oid", "std"]
std = ["digest/std"]
oid = ["digest/oid"]
4 changes: 2 additions & 2 deletions md4/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ digest = { version = "=0.11.0-pre.3", features = ["dev"] }
hex-literal = "0.4"

[features]
default = ["std"]
default = ["oid", "std"]
std = ["digest/std"]
oid = ["digest/oid"] # Enable OID support. WARNING: Bumps MSRV to 1.57
oid = ["digest/oid"]
4 changes: 2 additions & 2 deletions md5/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ digest = { version = "=0.11.0-pre.3", features = ["dev"] }
hex-literal = "0.4"

[features]
default = ["std"]
default = ["oid", "std"]
std = ["digest/std"]
asm = ["md5-asm"] # WARNING: this feature SHOULD NOT be enabled by library crates
# Use assembly backend for LoongArch64 targets
# WARNING: Bumps MSRV to 1.72. This feature SHOULD NOT be enabled by library crates
loongarch64_asm = []
oid = ["digest/oid"] # Enable OID support. WARNING: Bumps MSRV to 1.57
oid = ["digest/oid"] # Enable OID support.
force-soft = [] # Force software implementation
4 changes: 2 additions & 2 deletions ripemd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ digest = { version = "=0.11.0-pre.3", features = ["dev"] }
hex-literal = "0.4"

[features]
default = ["std"]
default = ["oid", "std"]
std = ["digest/std"]
oid = ["digest/oid"] # Enable OID support. WARNING: Bumps MSRV to 1.57
oid = ["digest/oid"]
4 changes: 2 additions & 2 deletions sha1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ digest = { version = "=0.11.0-pre.3", features = ["dev"] }
hex-literal = "0.4"

[features]
default = ["std"]
default = ["oid", "std"]
std = ["digest/std"]
oid = ["digest/oid"] # Enable OID support. WARNING: Bumps MSRV to 1.57
oid = ["digest/oid"] # Enable OID support.
asm = ["sha1-asm"] # WARNING: this feature SHOULD NOT be enabled by library crates
# Use assembly backend for LoongArch64 targets
# WARNING: Bumps MSRV to 1.72. This feature SHOULD NOT be enabled by library crates
Expand Down
2 changes: 1 addition & 1 deletion sha2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ digest = { version = "=0.11.0-pre.3", features = ["dev"] }
hex-literal = "0.4"

[features]
default = ["std"]
default = ["oid", "std"]
std = ["digest/std"]
oid = ["digest/oid"] # Enable OID support.
asm = ["sha2-asm"] # WARNING: this feature SHOULD NOT be enabled by library crates
Expand Down
6 changes: 3 additions & 3 deletions sha3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ digest = { version = "=0.11.0-pre.3", features = ["dev"] }
hex-literal = "0.4"

[features]
default = ["std"]
default = ["oid", "std"]
std = ["digest/std"]

asm = ["keccak/asm"] # Enable ASM (currently ARMv8 only). WARNING: Bumps MSRV to 1.59
oid = ["digest/oid"] # Enable OID support. WARNING: Bumps MSRV to 1.57
asm = ["keccak/asm"] # Enable ASM (currently ARMv8 only).
oid = ["digest/oid"] # Enable OID support.
reset = [] # Enable reset functionality
4 changes: 2 additions & 2 deletions streebog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ digest = { version = "=0.11.0-pre.3", features = ["dev"] }
hex-literal = "0.4"

[features]
default = ["std"]
default = ["oid", "std"]
std = ["digest/std"]
oid = ["digest/oid"] # Enable OID support. WARNING: Bumps MSRV to 1.57
oid = ["digest/oid"]
Loading