[package]
edition = "2024"
rust-version = "1.95.0"
name = "bitcoin-rs-script"
version = "0.3.0"
authors = ["bitcoin-rs contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "bitcoin-rs :: script"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/bitcoin-rs/bitcoin-rs"
[features]
bitcoinconsensus = ["bitcoin/bitcoinconsensus-std"]
default = ["bitcoinconsensus"]
fjall = []
redb = []
rocksdb = []
[lib]
name = "bitcoin_rs_script"
path = "src/lib.rs"
[[test]]
name = "proptest"
path = "tests/proptest.rs"
[[test]]
name = "script_tests_runner"
path = "tests/script_tests_runner.rs"
[dependencies.bitcoin]
version = ">=0.32.9, <0.33"
features = [
"std",
"secp-recovery",
"serde",
"rand-std",
]
default-features = false
[dependencies.bitcoin-rs-primitives]
version = "0.3.0"
[dependencies.bytemuck]
version = ">=1.25, <2"
features = ["derive"]
default-features = false
[dependencies.parking_lot]
version = ">=0.12.5, <0.13"
features = [
"arc_lock",
"send_guard",
]
default-features = false
[dependencies.rayon]
version = ">=1.12, <2"
[dependencies.secp256k1]
version = ">=0.31.1, <0.32"
features = [
"std",
"alloc",
"recovery",
"rand",
"serde",
"global-context",
]
default-features = false
[dependencies.serde]
version = ">=1, <2"
features = [
"derive",
"std",
"alloc",
]
default-features = false
[dependencies.sha2]
version = ">=0.11, <0.12"
default-features = false
[dependencies.smallvec]
version = ">=1.15, <2"
features = [
"union",
"const_generics",
"const_new",
]
default-features = false
[dependencies.thiserror]
version = ">=2, <3"
features = ["std"]
default-features = false
[dependencies.tinyvec]
version = ">=1.11, <2"
features = ["alloc"]
default-features = false
[dev-dependencies.proptest]
version = ">=1.11, <2"
features = ["std"]
default-features = false
[dev-dependencies.serde_json]
version = ">=1, <2"
features = [
"std",
"raw_value",
]
default-features = false
[lints.clippy]
as_conversions = "deny"
cast_lossless = "deny"
collapsible_if = "allow"
dbg_macro = "deny"
expect_used = "warn"
format_push_string = "allow"
into_iter_without_iter = "allow"
iter_without_into_iter = "allow"
manual_let_else = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
mod_module_files = "deny"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
option_if_let_else = "allow"
redundant_pub_crate = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_field_names = "allow"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"