bsv-sdk 0.1.72

Pure Rust implementation of the BSV Blockchain SDK
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.87"
name = "bsv-sdk"
version = "0.1.72"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust implementation of the BSV Blockchain SDK"
documentation = "https://docs.rs/bsv-sdk"
readme = "README.md"
keywords = [
    "bsv",
    "bitcoin",
    "blockchain",
    "sdk",
    "cryptography",
]
categories = [
    "cryptography",
    "authentication",
]
license-file = "LICENSE"
repository = "https://github.com/b1narydt/bsv-rust-sdk"

[features]
default = []
network = [
    "dep:tokio",
    "dep:reqwest",
    "dep:tokio-tungstenite",
    "dep:futures-util",
    "dep:serde",
    "dep:serde_json",
]

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

[[example]]
name = "address_from_wif"
path = "examples/address_from_wif.rs"

[[example]]
name = "certificate_operations"
path = "examples/certificate_operations.rs"

[[example]]
name = "create_hmac"
path = "examples/create_hmac.rs"

[[example]]
name = "create_signature"
path = "examples/create_signature.rs"

[[example]]
name = "create_wallet"
path = "examples/create_wallet.rs"

[[example]]
name = "ecies_encrypt"
path = "examples/ecies_encrypt.rs"

[[example]]
name = "encrypt_decrypt"
path = "examples/encrypt_decrypt.rs"

[[example]]
name = "hd_key_derivation"
path = "examples/hd_key_derivation.rs"

[[example]]
name = "inscription_transaction"
path = "examples/inscription_transaction.rs"

[[example]]
name = "keyshares_backup"
path = "examples/keyshares_backup.rs"

[[example]]
name = "op_return_transaction"
path = "examples/op_return_transaction.rs"

[[example]]
name = "p2pkh_transaction"
path = "examples/p2pkh_transaction.rs"

[[example]]
name = "token_lifecycle"
path = "examples/token_lifecycle.rs"
required-features = ["network"]

[[example]]
name = "verify_beef"
path = "examples/verify_beef.rs"

[[example]]
name = "wallet_client_action"
path = "examples/wallet_client_action.rs"
required-features = ["network"]

[[test]]
name = "wallet_cached_key_deriver"
path = "tests/wallet_cached_key_deriver.rs"

[[test]]
name = "wallet_client"
path = "tests/wallet_client.rs"

[[test]]
name = "wallet_key_deriver"
path = "tests/wallet_key_deriver.rs"

[[test]]
name = "wallet_proto_wallet"
path = "tests/wallet_proto_wallet.rs"

[[test]]
name = "wallet_serializer_vectors"
path = "tests/wallet_serializer_vectors.rs"

[[bench]]
name = "atomic_beef_bench"
path = "benches/atomic_beef_bench.rs"
harness = false

[[bench]]
name = "bignumber_bench"
path = "benches/bignumber_bench.rs"
harness = false

[[bench]]
name = "bn_serialization_bench"
path = "benches/bn_serialization_bench.rs"
harness = false

[[bench]]
name = "dispatch_bench"
path = "benches/dispatch_bench.rs"
harness = false

[[bench]]
name = "ecc_scalar_bench"
path = "benches/ecc_scalar_bench.rs"
harness = false

[[bench]]
name = "ecdsa_bench"
path = "benches/ecdsa_bench.rs"
harness = false

[[bench]]
name = "ecies_bench"
path = "benches/ecies_bench.rs"
harness = false

[[bench]]
name = "hash_bench"
path = "benches/hash_bench.rs"
harness = false

[[bench]]
name = "reader_writer_bench"
path = "benches/reader_writer_bench.rs"
harness = false

[[bench]]
name = "script_findanddelete_bench"
path = "benches/script_findanddelete_bench.rs"
harness = false

[[bench]]
name = "script_serialization_bench"
path = "benches/script_serialization_bench.rs"
harness = false

[[bench]]
name = "symmetric_key_bench"
path = "benches/symmetric_key_bench.rs"
harness = false

[[bench]]
name = "transaction_bench"
path = "benches/transaction_bench.rs"
harness = false

[dependencies.async-trait]
version = "0.1"

[dependencies.futures-util]
version = "0.3"
optional = true

[dependencies.getrandom]
version = "0.2"

[dependencies.reqwest]
version = "0.12"
features = ["json"]
optional = true

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

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "time",
]
optional = true

[dependencies.tokio-tungstenite]
version = "0.24"
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]

[dev-dependencies.wiremock]
version = "0.6"