Cargo Features
[dependencies]
xrpl-rust = { version = "0.2.0", default-features = false, features = ["std", "models", "transactions", "requests", "ledger", "amounts", "currencies", "core", "utils"] }
- default = core, models, std, utils
-
These default features are set whenever
xrpl-rust
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std and std_rng of rand, std of bs58 ^0.4.0, chrono, hex, and indexmap ^1.7.0 and std of regex, rust_decimal, secp256k1 ^0.27.0, and serde
regex:
ECOSYSTEM FEATURES
The 'std' feature permits the regex crate to use the standard library. This is intended to support future use cases where the regex crate may be able to compile without std, and instead just rely on 'core' and 'alloc' (for example). Currently, this isn't supported, and removing the 'std' feature will prevent regex from compiling. - models default = core, ledger, requests, transactions
-
Affects
xrpl-rust::models
… - transactions models = amounts, core, currencies
-
Affects
models::transactions
… - requests models = amounts, core, currencies
-
Affects
models::requests
… - ledger models = amounts, core, currencies
-
Affects
models::ledger
… - amounts ledger? requests? transactions? = core
-
Affects
models::amount
… - currencies ledger? requests? transactions? = core
-
Affects
models::currency
… - core default amounts? currencies? ledger? models requests? transactions? = utils
-
Affects
xrpl-rust::core
… - utils default core
-
Affects
xrpl-rust::utils
…