# 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 = "hedera" version = "0.29.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "The SDK for interacting with Hedera Hashgraph." readme = "README.md" license = "Apache-2.0" repository = "https://github.com/hashgraph/hedera-sdk-rust" [lib] name = "hedera" path = "src/lib.rs" bench = false [[example]] name = "account_alias" path = "examples/account_alias.rs" [[example]] name = "account_allowance" path = "examples/account_allowance.rs" [[example]] name = "consensus_pub_sub" path = "examples/consensus_pub_sub.rs" [[example]] name = "consensus_pub_sub_chunked" path = "examples/consensus_pub_sub_chunked.rs" [[example]] name = "consensus_pub_sub_with_submit_key" path = "examples/consensus_pub_sub_with_submit_key.rs" [[example]] name = "create_account" path = "examples/create_account.rs" [[example]] name = "create_account_threshold_key" path = "examples/create_account_threshold_key.rs" [[example]] name = "create_file" path = "examples/create_file.rs" [[example]] name = "create_simple_contract" path = "examples/create_simple_contract.rs" [[example]] name = "create_stateful_contract" path = "examples/create_stateful_contract.rs" [[example]] name = "create_topic" path = "examples/create_topic.rs" [[example]] name = "delete_file" path = "examples/delete_file.rs" [[example]] name = "file_append_chunked" path = "examples/file_append_chunked.rs" [[example]] name = "generate_key" path = "examples/generate_key.rs" [[example]] name = "get_account_balance" path = "examples/get_account_balance.rs" [[example]] name = "get_account_info" path = "examples/get_account_info.rs" [[example]] name = "get_exchange_rates" path = "examples/get_exchange_rates.rs" [[example]] name = "get_file_contents" path = "examples/get_file_contents.rs" [[example]] name = "modify_token_keys" path = "examples/modify_token_keys.rs" [[example]] name = "multi_app_transfer" path = "examples/multi_app_transfer.rs" [[example]] name = "multi_sig_offline" path = "examples/multi_sig_offline.rs" [[example]] name = "nft_update_metadata" path = "examples/nft_update_metadata.rs" [[example]] name = "prng" path = "examples/prng.rs" [[example]] name = "schedule" path = "examples/schedule.rs" [[example]] name = "schedule_identical_transaction" path = "examples/schedule_identical_transaction.rs" [[example]] name = "schedule_multi_sig_transaction" path = "examples/schedule_multi_sig_transaction.rs" [[example]] name = "scheduled_transaction_multi_sig_threshold" path = "examples/scheduled_transaction_multi_sig_threshold.rs" [[example]] name = "scheduled_transfer" path = "examples/scheduled_transfer.rs" [[example]] name = "sign_transaction" path = "examples/sign_transaction.rs" [[example]] name = "staking" path = "examples/staking.rs" [[example]] name = "staking_with_update" path = "examples/staking_with_update.rs" [[example]] name = "token_airdrop" path = "examples/token_airdrop.rs" [[example]] name = "token_update_metadata_with_admin_key" path = "examples/token_update_metadata_with_admin_key.rs" [[example]] name = "token_update_metadata_with_metadata_key" path = "examples/token_update_metadata_with_metadata_key.rs" [[example]] name = "topic_with_admin_key" path = "examples/topic_with_admin_key.rs" [[example]] name = "transfer_crypto" path = "examples/transfer_crypto.rs" [[example]] name = "transfer_crypto_cost" path = "examples/transfer_crypto_cost.rs" [[example]] name = "transfer_tokens" path = "examples/transfer_tokens.rs" [[example]] name = "update_account_public_key" path = "examples/update_account_public_key.rs" [[example]] name = "validate_checksum" path = "examples/validate_checksum.rs" [[test]] name = "e2e" path = "tests/e2e/main.rs" [dependencies.aes] version = "0.8.3" [dependencies.arc-swap] version = "1.6.0" [dependencies.async-stream] version = "0.3.3" [dependencies.backoff] version = "0.4.0" [dependencies.bytes] version = "1.2.1" default-features = false [dependencies.cbc] version = "0.1.2" [dependencies.ed25519-dalek] version = "2.0.0" features = ["rand_core"] [dependencies.fraction] version = "0.15.1" default-features = false [dependencies.futures-core] version = "0.3.21" [dependencies.futures-util] version = "0.3.21" default-features = false [dependencies.h2] version = "0.4.6" [dependencies.h2_03] version = "0.3.6" package = "h2" [dependencies.hedera-proto] version = "0.14.0" features = [ "time_0_3", "fraction", ] [dependencies.hex] version = "0.4.3" [dependencies.hmac] version = "0.12.1" [dependencies.hyper] version = "1.3.1" default-features = false [dependencies.hyper_0] version = "0.14" default-features = false package = "hyper" [dependencies.k256] version = "0.13.0" features = [ "ecdsa", "precomputed-tables", "std", ] default-features = false [dependencies.log] version = "0.4.17" [dependencies.md5] version = "0.7.0" [dependencies.num-bigint] version = "0.4.3" [dependencies.once_cell] version = "1.10.0" [dependencies.parking_lot] version = "0.12.0" [dependencies.pbkdf2] version = "0.12.0" default-features = false [dependencies.pem] version = "3.0.1" [dependencies.pin-project-lite] version = "0.2.9" [dependencies.pkcs8] version = "0.10.0" features = ["encryption"] default-features = false [dependencies.prost] version = "0.12.4" features = ["std"] default-features = false [dependencies.rand] version = "0.8.5" [dependencies.rlp] version = "0.5.2" [dependencies.rust_decimal] version = "1.26.1" features = ["std"] default-features = false [dependencies.sec1] version = "0.7.3" features = ["der"] [dependencies.serde] version = "1.0.163" optional = true [dependencies.serde_derive] version = "1.0.163" optional = true [dependencies.serde_json] version = "1.0.96" optional = true [dependencies.sha2] version = "0.10.2" [dependencies.sha3] version = "0.10.2" [dependencies.thiserror] version = "1.0.31" [dependencies.time] version = "0.3.9" [dependencies.tinystr] version = "0.7.0" default-features = false [dependencies.tokio] version = "1.24.2" features = ["time"] [dependencies.tonic] version = "0.11.0" features = [ "tls", "tls-webpki-roots", ] [dependencies.triomphe] version = "0.1.8" features = [ "std", "arc-swap", "unsize", ] default-features = false [dependencies.unsize] version = "1.1.0" [dev-dependencies.anyhow] version = "1.0.57" [dev-dependencies.assert_matches] version = "1.5.0" [dev-dependencies.clap] version = "4.0.0" features = [ "derive", "env", ] [dev-dependencies.dotenvy] version = "0.15.5" [dev-dependencies.env_logger] version = "0.11.3" features = [ "auto-color", "color", "humantime", ] default-features = false [dev-dependencies.expect-test] version = "1.4.0" [dev-dependencies.hex-literal] version = "0.4.0" [dev-dependencies.miniserde] version = "0.1.30" [dev-dependencies.parking_lot] version = "0.12.0" [dev-dependencies.tokio] version = "1.24.2" features = [ "rt-multi-thread", "macros", "parking_lot", ] [features] default = [ "mnemonic", "serde", ] mnemonic = [] serde = [ "dep:serde", "dep:serde_derive", "dep:serde_json", ]