simplicity-lang 0.7.1

General purpose library for processing Simplicity programs
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.74.0"
name = "simplicity-lang"
version = "0.7.1"
authors = ["Andrew Poelstra <apoelstra@wpsoftware.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "General purpose library for processing Simplicity programs"
homepage = "https://github.com/BlockstreamResearch/rust-simplicity/"
documentation = "https://docs.rs/simplicity-lang/"
readme = "README.md"
license = "CC0-1.0"
repository = "https://github.com/BlockstreamResearch/rust-simplicity/"

[features]
base64 = ["bitcoin/base64"]
default = ["elements"]
elements = [
    "dep:elements",
    "bitcoin",
]
human_encoding = ["dep:logos"]
serde = [
    "dep:serde",
    "bitcoin/serde",
    "elements/serde",
]
test-utils = ["simplicity-sys/test-utils"]

[lib]
name = "simplicity"
path = "src/lib.rs"

[dependencies.bitcoin]
version = "0.32.0"
optional = true

[dependencies.bitcoin-miniscript]
version = "12.0.0"
package = "miniscript"

[dependencies.byteorder]
version = "1.3"

[dependencies.elements]
version = "0.25.0"
optional = true
default-features = false

[dependencies.ghost-cell]
version = "0.2.6"
default-features = false

[dependencies.hashes]
version = "0.14"
package = "bitcoin_hashes"

[dependencies.hex]
version = "0.2.1"
package = "hex-conservative"

[dependencies.logos]
version = "0.15"
optional = true

[dependencies.serde]
version = "1.0.103"
features = ["derive"]
optional = true

[dependencies.simplicity-sys]
version = "0.7.0"

[dev-dependencies.serde_json]
version = "1.0.149"

[dev-dependencies.simplicity-sys]
version = "0.7.0"
features = ["test-utils"]

[target.wasm32-unknown-unknown.dependencies.getrandom]
version = "0.2"
features = ["js"]

[lints.clippy]
cast_lossless = "warn"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "warn"
cast_ptr_alignment = "warn"
cast_sign_loss = "allow"
float_cmp = "allow"
manual_range_contains = "allow"
match_bool = "allow"
match_same_arms = "allow"
must_use_candidate = "allow"
needless_question_mark = "allow"
similar_names = "allow"
uninlined_format_args = "allow"

[lints.rust.unexpected_cfgs]
level = "deny"
priority = 0
check-cfg = ["cfg(bench)"]