# 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.77.0" name = "bp-core" version = "0.12.0-beta.2" authors = ["Dr Maxim Orlovsky "] build = false exclude = [ ".github", "primitives", "dbc", "seals", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Bitcoin protocol core library (BP Core Lib)" homepage = "https://github.com/BP-WG" readme = "README.md" keywords = [ "lnp-bp", "smart-contracts", "bitcoin", "blockchain", ] categories = ["cryptography"] license = "Apache-2.0" repository = "https://github.com/BP-WG/bp-core" [package.metadata.docs.rs] features = ["all"] [lib] name = "bp" path = "src/lib.rs" [[bin]] name = "bpcore-stl" path = "src/bin/bpcore-stl.rs" required-features = ["stl"] [dependencies.amplify] version = "4.8.0" [dependencies.bp-consensus] version = "0.12.0-beta.2" [dependencies.bp-dbc] version = "0.12.0-beta.2" [dependencies.bp-seals] version = "0.12.0-beta.2" [dependencies.commit_verify] version = "0.12.0-beta.1" [dependencies.serde_crate] version = "1" features = ["derive"] optional = true package = "serde" [dependencies.single_use_seals] version = "0.12.0-beta.1" [dependencies.strict_encoding] version = "2.8.1" [dependencies.strict_types] version = "2.8.1" optional = true [features] all = [ "chrono", "serde", "stl", ] chrono = ["bp-consensus/chrono"] default = [] serde = [ "serde_crate", "bp-consensus/serde", "bp-dbc/serde", "bp-seals/serde", ] stl = [ "strict_types", "strict_types/armor", "bp-consensus/stl", "commit_verify/stl", ] [target.'cfg(target_arch = "wasm32")'.dependencies.getrandom] version = "0.2" features = ["js"] [target.'cfg(target_arch = "wasm32")'.dependencies.rand] version = "0.8.4" optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test] version = "0.3"