# 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" name = "kadena" version = "0.1.0" authors = ["Giuseppe Pace "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A comprehensive Rust library for interacting with Pact smart contracts and the Kadena blockchain." documentation = "https://docs.rs/kadena" readme = "README.md" keywords = [ "kadena", "pact", "blockchain", "smart-contracts", ] categories = ["cryptography"] license = "MIT" repository = "https://github.com/ledger-things/kadena-rust-lib" [lib] name = "kadena" path = "src/lib.rs" [[example]] name = "tx" path = "examples/tx.rs" [[test]] name = "crypto_tests" path = "tests/crypto_tests.rs" [[test]] name = "fetch_tests" path = "tests/fetch_tests.rs" [[test]] name = "pact_tests" path = "tests/pact_tests.rs" [[bench]] name = "crypto_benchmarks" path = "benches/crypto_benchmarks.rs" harness = false [[bench]] name = "pact_benchmarks" path = "benches/pact_benchmarks.rs" harness = false [dependencies.base64] version = "0.22.1" [dependencies.blake2] version = "0.10.6" [dependencies.ed25519-dalek] version = "2" features = ["rand_core"] [dependencies.env_logger] version = "0.11.5" [dependencies.hex] version = "0.4.3" [dependencies.log] version = "0.4.22" [dependencies.rand] version = "0.8.5" [dependencies.reqwest] version = "0.12" features = ["json"] [dependencies.serde] version = "1.0.210" features = ["derive"] [dependencies.serde_json] version = "1.0.131" [dependencies.thiserror] version = "1.0.64" [dependencies.tokio] version = "1.40.0" features = ["full"] [dev-dependencies.criterion] version = "0.4" features = ["html_reports"] [dev-dependencies.wiremock] version = "0.6.2" [features] crypto = [] default = [ "fetch", "pact", "crypto", ] fetch = [ "pact", "crypto", ] pact = ["crypto"]