# 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.70.0" name = "bp-consensus" version = "0.11.0-beta.6" authors = ["Dr Maxim Orlovsky "] description = "Bitcoin protocol consensus library" 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 = "bc" [dependencies.amplify] version = "4.6.0" [dependencies.chrono] version = "0.4.31" optional = true [dependencies.commit_verify] version = "0.11.0-beta.6" [dependencies.secp256k1] version = "0.29.0" features = ["global-context"] [dependencies.serde_crate] version = "1" features = ["derive"] optional = true package = "serde" [dependencies.strict_encoding] version = "2.7.0-beta.4" [dependencies.strict_types] version = "2.7.0-beta.4" optional = true [features] all = [ "chrono", "stl", "serde", ] default = ["chrono"] serde = [ "serde_crate", "amplify/serde", "secp256k1/serde", ] stl = ["strict_types"]