# 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" name = "hcnet-xdr" version = "20.0.22" authors = ["Hcnet Development Foundation "] description = "Hcnet XDR types, encoding, and decoding." homepage = "https://github.com/shantanu-hashcash/rs-hcnet-xdr" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/shantanu-hashcash/rs-hcnet-xdr" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docs", ] [[bin]] name = "hcnet-xdr" path = "src/bin/hcnet-xdr/main.rs" doctest = false required-features = ["cli"] [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.hcnet-strkey] version = "0.0.8" optional = true [dependencies.hex] version = "0.4.3" 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.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:hcnet-strkey", "escape-bytes/alloc", ] arbitrary = [ "std", "dep:arbitrary", ] base64 = [ "std", "dep:base64", ] cli = [ "std", "curr", "next", "base64", "serde", "serde_json", "dep:clap", "dep:thiserror", ] curr = [] default = [ "std", "curr", ] hex = [] next = [] serde = [ "alloc", "dep:serde", "dep:serde_with", "hex/serde", ] serde_json = [ "std", "serde", "dep:serde_json", ] std = ["alloc"]