[package]
edition = "2021"
rust-version = "1.63"
name = "mini-bitcoin-script"
version = "0.1.0"
build = false
exclude = [
"plans/",
".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minimal, protocol-accurate Bitcoin Script parsing and execution engine"
documentation = "https://docs.rs/mini-bitcoin-script"
readme = "README.md"
keywords = [
"bitcoin",
"script",
"blockchain",
"crypto",
"p2pkh",
]
categories = [
"cryptography",
"parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/itz-Pratham/mini-bitcoin-script"
[features]
default = []
secp256k1 = ["dep:secp256k1"]
[lib]
name = "mini_bitcoin_script"
path = "src/lib.rs"
[[example]]
name = "inspect"
path = "examples/inspect.rs"
[[example]]
name = "p2pkh"
path = "examples/p2pkh.rs"
[[test]]
name = "conditionals_tests"
path = "tests/conditionals_tests.rs"
[[test]]
name = "engine_tests"
path = "tests/engine_tests.rs"
[[test]]
name = "p2pkh_tests"
path = "tests/p2pkh_tests.rs"
[[test]]
name = "tokenizer_tests"
path = "tests/tokenizer_tests.rs"
[dependencies.ripemd]
version = "0.1"
[dependencies.secp256k1]
version = "0.29"
features = ["global-context"]
optional = true
[dependencies.sha2]
version = "0.10"
[dev-dependencies.hex-literal]
version = "0.4"