[package] name = "zcash_script" version = "0.2.0" authors = ["Tamas Blummer ", "Zcash Foundation "] license = "Apache-2.0" readme = "README.md" build = "build.rs" edition = "2021" description = "ffi bindings to zcashd's zcash_script library" documentation = "https://docs.rs/zcash_script" repository = "https://github.com/ZcashFoundation/zcash_script" include = [ "Cargo.toml", "/LICENSE", "/README.md", "build.rs", "src/*.rs", "/depend/check_uint128_t.c", "/depend/zcash/src/amount.cpp", "/depend/zcash/src/amount.h", "/depend/zcash/src/compat/byteswap.h", "/depend/zcash/src/compat/endian.h", "/depend/zcash/src/consensus/consensus.h", "/depend/zcash/src/crypto/common.h", "/depend/zcash/src/crypto/ripemd160.cpp", "/depend/zcash/src/crypto/ripemd160.h", "/depend/zcash/src/crypto/sha1.cpp", "/depend/zcash/src/crypto/sha1.h", "/depend/zcash/src/crypto/sha256.cpp", "/depend/zcash/src/crypto/sha256.h", "/depend/zcash/src/hash.h", "/depend/zcash/src/key_constants.h", "/depend/zcash/src/prevector.h", "/depend/zcash/src/primitives/transaction.h", "/depend/zcash/src/pubkey.cpp", "/depend/zcash/src/pubkey.h", "/depend/zcash/src/script/interpreter.cpp", "/depend/zcash/src/script/interpreter.h", "/depend/zcash/src/script/script_error.cpp", "/depend/zcash/src/script/script_error.h", "/depend/zcash/src/script/script.cpp", "/depend/zcash/src/script/script.h", "/depend/zcash/src/script/zcash_script.cpp", "/depend/zcash/src/script/zcash_script.h", "/depend/zcash/src/secp256k1/", "/depend/zcash/src/serialize.h", "/depend/zcash/src/tinyformat.h", "/depend/zcash/src/uint256.cpp", "/depend/zcash/src/uint256.h", "/depend/zcash/src/util/strencodings.cpp", "/depend/zcash/src/util/strencodings.h", "/depend/zcash/src/version.h", ] [lib] name = "zcash_script" path = "src/lib.rs" [features] external-secp = [] [dependencies] [build-dependencies] # The `bindgen` dependency should automatically upgrade to match the version used by zebra-state's `rocksdb` dependency in: # https://github.com/ZcashFoundation/zebra/blob/main/zebra-state/Cargo.toml # # Treat minor versions with a zero major version as compatible (cargo doesn't by default). bindgen = ">= 0.64.0" # These dependencies are shared with a lot of other Zebra dependencies, # so they are configured to automatically upgrade to match Zebra. # But we try to use the latest versions here, to catch any bugs in `zcash_script`'s CI. cc = { version = "1.0.94", features = ["parallel"] } [dev-dependencies] # These dependencies are shared with a lot of other Zebra dependencies. # (See above.) # # Treat minor versions with a zero major version as compatible (cargo doesn't by default). hex = ">= 0.4.3" lazy_static = "1.4.0" [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" search = "Unreleased" replace="{{version}}" [[package.metadata.release.pre-release-replacements]] file = "src/lib.rs" search = "#!\\[doc\\(html_root_url.*" replace = "#![doc(html_root_url = \"https://docs.rs/{{crate_name}}/{{version}}\")]" exactly = 1 [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" search = "\\.\\.\\.HEAD" replace="...{{tag_name}}" exactly = 1 [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" search = "ReleaseDate" replace="{{date}}" exactly=1 [[package.metadata.release.pre-release-replacements]] file="CHANGELOG.md" search="" replace="\n\n## [Unreleased] - ReleaseDate" exactly=1 [[package.metadata.release.pre-release-replacements]] file="CHANGELOG.md" search="" replace="\n[Unreleased]: https://github.com/ZcashFoundation/{{crate_name}}/compare/{{tag_name}}...HEAD" exactly=1