Skip to content

Commit

Permalink
Remove proptest and arbitrary from default features
Browse files Browse the repository at this point in the history
  • Loading branch information
pnevyk committed Aug 11, 2024
1 parent f46daff commit 5d20792
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ libfuzzer-sys = "0.4"

[dependencies.gryf]
path = "../gryf"
features = ["arbitrary"]

# Prevent this from interfering with workspaces
[workspace]
Expand Down
4 changes: 3 additions & 1 deletion gryf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ proptest = { version = "1.1.0", optional = true }
# Remove once https://github.com/rust-lang/rust/issues/82775 is stabilized
assert_matches = "1.5.0"
fastrand = "1.9.0"
# https://github.com/rust-lang/cargo/issues/2911#issuecomment-749580481
gryf = { path = ".", features = ["proptest", "arbitrary"] }

[features]
default = ["arbitrary", "proptest"]
default = []
arbitrary = ["dep:arbitrary"]
proptest = ["dep:proptest"]
derive = []

0 comments on commit 5d20792

Please sign in to comment.