Skip to content

Add no_std Support #216

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Make recursive_count default within the derive crate.
bushrat011899 committed Apr 8, 2025
commit 0bd3a381026bfe0dee9cec325463d656275746b3
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ documentation = "https://docs.rs/arbitrary/"
rust-version = "1.63.0" # Keep in sync with version documented in the README.md

[dependencies]
derive_arbitrary = { version = "~1.4.0", path = "./derive", optional = true }
derive_arbitrary = { version = "~1.4.0", path = "./derive", default-features = false, optional = true }

[features]
default = ["std", "recursive_count"]
1 change: 1 addition & 0 deletions derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -27,5 +27,6 @@ syn = { version = "2", features = ['derive', 'parsing', 'extra-traits'] }
proc-macro = true

[features]
default = ["recursive_count"]
# Checks for unbounded recursion at runtime. Requires `std`.
recursive_count = []