# 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 = "xrpl-rust" version = "0.4.0" authors = [ "Tanveer Wahid ", "LimpidCrypto ", ] build = false include = [ "src/**/*", "Cargo.toml", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A 100% Rust library to interact with the XRPL" readme = "README.md" keywords = [ "xrpl", "no_std", ] categories = ["no-std"] license = "ISC" repository = "https://github.com/sephynox/xrpl-rust" [package.metadata.release] no-dev-version = true tag-name = "{{version}}" [lib] name = "xrpl" crate-type = ["lib"] path = "src/lib.rs" [dependencies.actix-rt] version = "2.10.0" optional = true [dependencies.async-std] version = "1.13.0" optional = true [dependencies.bigdecimal] version = "0.4.5" features = ["serde-json"] [dependencies.bs58] version = "0.5.0" features = [ "check", "alloc", ] default-features = false [dependencies.chrono] version = "0.4.19" features = [ "alloc", "clock", ] default-features = false [dependencies.crypto-bigint] version = "0.5.1" [dependencies.derive-new] version = "0.7.0" default-features = false [dependencies.ed25519-dalek] version = "2.1.1" features = [ "alloc", "zeroize", ] default-features = false [dependencies.embassy-futures] version = "0.1.1" [dependencies.embassy-sync] version = "0.6.0" [dependencies.embassy-time] version = "0.3.2" optional = true [dependencies.embedded-io-async] version = "0.6.1" optional = true [dependencies.embedded-nal-async] version = "0.8.0" optional = true [dependencies.embedded-websocket-embedded-io] version = "0.1.0" features = ["embedded-io-async"] optional = true default-features = false [dependencies.fnv] version = "1.0.7" default-features = false [dependencies.futures] version = "0.3.30" optional = true [dependencies.futures-executor] version = "0.3.30" optional = true [dependencies.futures-timer] version = "3.0.3" optional = true [dependencies.hashbrown] version = "0.15.0" features = ["serde"] [dependencies.hex] version = "0.4.3" features = ["alloc"] default-features = false [dependencies.indexmap] version = "2.6.0" features = ["serde"] [dependencies.lazy_static] version = "1.4.0" [dependencies.rand] version = "0.8.5" features = ["getrandom"] default-features = false [dependencies.rand_hc] version = "0.3.1" [dependencies.regex] version = "1.5.4" default-features = false [dependencies.reqwest] version = "0.12.7" features = ["json"] optional = true [dependencies.reqwless] version = "0.13.0" optional = true [dependencies.ripemd] version = "0.1.1" [dependencies.rust_decimal] version = "1.17.0" features = ["serde"] default-features = false [dependencies.secp256k1] version = "0.30.0" features = ["alloc"] default-features = false [dependencies.serde] version = "1.0.130" features = ["derive"] default-features = false [dependencies.serde_json] version = "1.0.68" features = ["alloc"] default-features = false [dependencies.serde_repr] version = "0.1" [dependencies.serde_with] version = "3.2.0" [dependencies.sha2] version = "0.10.2" default-features = false [dependencies.smol] version = "2.0.2" optional = true [dependencies.strum] version = "0.26.3" default-features = false [dependencies.strum_macros] version = "0.26.4" default-features = false [dependencies.thiserror-no-std] version = "2.0.2" [dependencies.tokio] version = "1.0" features = ["rt-multi-thread"] optional = true [dependencies.tokio-tungstenite] version = "0.24.0" features = ["native-tls"] optional = true [dependencies.url] version = "2.2.2" default-features = false [dependencies.zeroize] version = "1.5.7" [dev-dependencies.anyhow] version = "1.0.91" [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.embedded-io-adapters] version = "0.6.1" features = ["tokio-1"] [dev-dependencies.tokio] version = "1.0" features = ["full"] [features] actix-rt = ["dep:actix-rt"] async-std-rt = ["dep:async-std"] core = ["utils"] default = [ "std", "tokio-rt", "core", "wallet", "models", "utils", "helpers", "json-rpc", "websocket", ] embassy-rt = ["dep:embassy-time"] futures-rt = ["dep:futures-timer"] helpers = [ "core", "models", "wallet", ] json-rpc = [ "models", "reqwless", "embedded-io-async", "embedded-nal-async", ] models = ["core"] smol-rt = ["dep:smol"] std = [ "rand/std", "regex/std", "chrono/std", "rand/std_rng", "hex/std", "rust_decimal/std", "bs58/std", "serde/std", "indexmap/std", "secp256k1/std", "embedded-websocket-embedded-io/std", "reqwest", "tokio", "tokio-tungstenite", "futures/std", ] tokio-rt = ["tokio/time"] utils = [] wallet = ["core"] websocket = [ "models", "futures", "embedded-io-async", "embedded-websocket-embedded-io", ]