[package]
edition = "2024"
rust-version = "1.86"
name = "hegeltest"
version = "0.14.21"
build = false
exclude = [
"/.claude",
"/.github",
"/nix",
"/RELEASE-sample.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Property-based testing for Rust, built on Hypothesis"
homepage = "http://hegel.dev"
readme = "README.md"
keywords = [
"testing",
"fuzzing",
"property-testing",
]
categories = ["development-tools::testing"]
license = "MIT"
repository = "https://github.com/hegeldev/hegel-rust"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
"-D",
"warnings",
]
cargo-args = [
"-Zunstable-options",
"-Zrustdoc-scrape-examples",
]
[features]
__bench = ["native"]
antithesis = ["dep:serde_json"]
chrono = ["dep:chrono"]
default = []
jiff = ["dep:jiff"]
native = [
"dep:rand",
"dep:dashu-int",
]
rand = ["dep:rand"]
serde_json = ["dep:serde_json"]
serde_json_raw_value = [
"serde_json",
"serde_json/raw_value",
]
[lib]
name = "hegel"
path = "src/lib.rs"
[[example]]
name = "die_hard"
path = "examples/die_hard.rs"
[[example]]
name = "ledger"
path = "examples/ledger.rs"
[[example]]
name = "min_stack"
path = "examples/min_stack.rs"
[[example]]
name = "stack"
path = "examples/stack.rs"
doc-scrape-examples = true
[[test]]
name = "chrono"
path = "tests/chrono/main.rs"
[[test]]
name = "jiff"
path = "tests/jiff/main.rs"
[[test]]
name = "rand"
path = "tests/rand/main.rs"
[[test]]
name = "serde_json"
path = "tests/serde_json/main.rs"
[[test]]
name = "test_antithesis"
path = "tests/test_antithesis.rs"
[[test]]
name = "test_arrays"
path = "tests/test_arrays.rs"
[[test]]
name = "test_async"
path = "tests/test_async.rs"
[[test]]
name = "test_backend"
path = "tests/test_backend.rs"
[[test]]
name = "test_bad_server_command"
path = "tests/test_bad_server_command.rs"
[[test]]
name = "test_collections"
path = "tests/test_collections.rs"
[[test]]
name = "test_combinators"
path = "tests/test_combinators.rs"
[[test]]
name = "test_compose"
path = "tests/test_compose.rs"
[[test]]
name = "test_composite"
path = "tests/test_composite.rs"
[[test]]
name = "test_database_key"
path = "tests/test_database_key.rs"
[[test]]
name = "test_default"
path = "tests/test_default.rs"
[[test]]
name = "test_deferred"
path = "tests/test_deferred.rs"
[[test]]
name = "test_derive"
path = "tests/test_derive.rs"
[[test]]
name = "test_derive_compile"
path = "tests/test_derive_compile.rs"
[[test]]
name = "test_draw_named"
path = "tests/test_draw_named.rs"
[[test]]
name = "test_explicit_test_case"
path = "tests/test_explicit_test_case.rs"
[[test]]
name = "test_find_quality"
path = "tests/test_find_quality/main.rs"
[[test]]
name = "test_flaky_global_state"
path = "tests/test_flaky_global_state.rs"
[[test]]
name = "test_floats"
path = "tests/test_floats.rs"
[[test]]
name = "test_hang"
path = "tests/test_hang.rs"
[[test]]
name = "test_health_check"
path = "tests/test_health_check.rs"
[[test]]
name = "test_hegel_main"
path = "tests/test_hegel_main.rs"
[[test]]
name = "test_hegel_test"
path = "tests/test_hegel_test.rs"
[[test]]
name = "test_install_errors"
path = "tests/test_install_errors.rs"
[[test]]
name = "test_integers"
path = "tests/test_integers.rs"
[[test]]
name = "test_lifetimes"
path = "tests/test_lifetimes.rs"
[[test]]
name = "test_loop"
path = "tests/test_loop.rs"
[[test]]
name = "test_multi_failure"
path = "tests/test_multi_failure.rs"
[[test]]
name = "test_output"
path = "tests/test_output.rs"
[[test]]
name = "test_phases"
path = "tests/test_phases.rs"
[[test]]
name = "test_quality"
path = "tests/test_quality.rs"
[[test]]
name = "test_reject"
path = "tests/test_reject.rs"
[[test]]
name = "test_runtime_dir_isolation"
path = "tests/test_runtime_dir_isolation.rs"
[[test]]
name = "test_server_crash"
path = "tests/test_server_crash.rs"
[[test]]
name = "test_server_restart"
path = "tests/test_server_restart.rs"
[[test]]
name = "test_settings"
path = "tests/test_settings.rs"
[[test]]
name = "test_shrink_quality"
path = "tests/test_shrink_quality/main.rs"
[[test]]
name = "test_single_test_case"
path = "tests/test_single_test_case.rs"
[[test]]
name = "test_standalone_function"
path = "tests/test_standalone_function.rs"
[[test]]
name = "test_standard_generators"
path = "tests/test_standard_generators.rs"
[[test]]
name = "test_stateful"
path = "tests/test_stateful.rs"
[[test]]
name = "test_strings"
path = "tests/test_strings.rs"
[[test]]
name = "test_targeting"
path = "tests/test_targeting.rs"
[[test]]
name = "test_threading"
path = "tests/test_threading.rs"
[[test]]
name = "test_time"
path = "tests/test_time.rs"
[[test]]
name = "test_tuples"
path = "tests/test_tuples.rs"
[[test]]
name = "test_validation"
path = "tests/test_validation.rs"
[[bench]]
name = "biased_sample"
path = "benches/biased_sample.rs"
harness = false
required-features = ["__bench"]
[dependencies.chrono]
version = "0.4.41"
features = ["std"]
optional = true
default-features = false
[dependencies.ciborium]
version = "0.2.2"
[dependencies.crc32fast]
version = "1.4"
[dependencies.dashu-int]
version = "0.4.1"
features = ["std"]
optional = true
default-features = false
[dependencies.hegeltest-macros]
version = "=0.14.21"
[dependencies.jiff]
version = "0.2"
features = ["std"]
optional = true
default-features = false
[dependencies.parking_lot]
version = "0.12"
[dependencies.paste]
version = "1.0"
[dependencies.rand]
version = "0.10"
optional = true
[dependencies.serde]
version = "1.0.103"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.61"
optional = true
[dependencies.tempfile]
version = "3.0"
[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.ctor]
version = "0.2"
[dev-dependencies.insta]
version = "1.47.2"
[dev-dependencies.is-terminal]
version = "0.4.13"
[dev-dependencies.rand]
version = "0.10"
[dev-dependencies.regex]
version = "1.0"
[dev-dependencies.serde_json]
version = "1.0.61"
[dev-dependencies.tokio]
version = "1.39"
features = [
"macros",
"rt",
]