# 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.74.0" name = "stellar-xdr" version = "22.0.0" authors = ["Stellar Development Foundation "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Stellar XDR types, encoding, and decoding." homepage = "https://github.com/stellar/rs-stellar-xdr" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/stellar/rs-stellar-xdr" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docs", ] [lib] name = "stellar_xdr" path = "src/lib.rs" [[bin]] name = "stellar-xdr" path = "src/bin/stellar-xdr/main.rs" doctest = false required-features = ["cli"] [[test]] name = "account_conversions" path = "tests/account_conversions.rs" [[test]] name = "arbitrary" path = "tests/arbitrary.rs" [[test]] name = "serde" path = "tests/serde.rs" [[test]] name = "serde_tx" path = "tests/serde_tx.rs" [[test]] name = "serde_tx_schema" path = "tests/serde_tx_schema.rs" [[test]] name = "str" path = "tests/str.rs" [[test]] name = "tx_debug_display" path = "tests/tx_debug_display.rs" [[test]] name = "tx_prot18" path = "tests/tx_prot18.rs" [[test]] name = "tx_read_edge_cases" path = "tests/tx_read_edge_cases.rs" [[test]] name = "tx_small" path = "tests/tx_small.rs" [[test]] name = "vecm" path = "tests/vecm.rs" [[test]] name = "version" path = "tests/version.rs" [dependencies.arbitrary] version = "1.1.3" features = ["derive"] optional = true [dependencies.base64] version = "0.13.0" optional = true [dependencies.clap] version = "4.2.4" features = [ "std", "derive", "usage", "help", ] optional = true default-features = false [dependencies.escape-bytes] version = "0.1.1" default-features = false [dependencies.hex] version = "0.4.3" optional = true [dependencies.schemars] version = "0.8.16" optional = true [dependencies.serde] version = "1.0.139" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0.89" optional = true [dependencies.serde_with] version = "3.0.0" optional = true [dependencies.stellar-strkey] version = "0.0.9" optional = true [dependencies.thiserror] version = "1.0.37" optional = true [dev-dependencies.serde_json] version = "1.0.89" [build-dependencies.crate-git-revision] version = "0.0.6" [features] alloc = [ "dep:hex", "dep:stellar-strkey", "escape-bytes/alloc", ] arbitrary = [ "std", "dep:arbitrary", ] base64 = [ "std", "dep:base64", ] cli = [ "std", "curr", "next", "base64", "serde", "serde_json", "schemars", "dep:clap", "dep:thiserror", ] curr = [] default = [ "std", "curr", ] hex = [] next = [] schemars = [ "alloc", "serde", "serde_json", "dep:schemars", ] serde = [ "alloc", "dep:serde", "dep:serde_with", "hex/serde", ] serde_json = [ "std", "serde", "dep:serde_json", ] std = ["alloc"]