[[bin]]
doctest = false
name = "stellar-xdr"
path = "src/bin/stellar-xdr/main.rs"
required-features = ["cli"]
[build-dependencies.crate-git-revision]
version = "0.0.6"
[dependencies.arbitrary]
features = ["derive"]
optional = true
version = "1.1.3"
[dependencies.base64]
optional = true
version = "0.13.0"
[dependencies.clap]
default-features = false
features = ["std", "derive", "usage", "help"]
optional = true
version = "4.2.4"
[dependencies.escape-bytes]
default-features = false
version = "0.1.1"
[dependencies.hex]
optional = true
version = "0.4.3"
[dependencies.schemars]
optional = true
version = "0.8.16"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.139"
[dependencies.serde_json]
optional = true
version = "1.0.89"
[dependencies.serde_with]
optional = true
version = "3.0.0"
[dependencies.stellar-strkey]
optional = true
version = "0.0.9"
[dependencies.thiserror]
optional = true
version = "1.0.37"
[dev-dependencies.serde_json]
version = "1.0.89"
[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"]
[lib]
name = "stellar_xdr"
path = "src/lib.rs"
[package]
authors = ["Stellar Development Foundation <info@stellar.org>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
description = "Stellar XDR types, encoding, and decoding."
edition = "2021"
homepage = "https://github.com/stellar/rs-stellar-xdr"
license = "Apache-2.0"
name = "stellar-xdr"
readme = "README.md"
repository = "https://github.com/stellar/rs-stellar-xdr"
rust-version = "1.74.0"
version = "22.1.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docs"]
[[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"