# 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.76" name = "acceptxmr" version = "0.14.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Accept monero in your application." readme = "README.md" keywords = [ "crypto", "gateway", "monero", "payment", "xmr", ] categories = ["cryptography::cryptocurrencies"] license = "MIT OR Apache-2.0" repository = "https://github.com/busyboredom/acceptxmr" [package.metadata.docs.rs] all-features = true rustc-args = [ "--cfg", "docsrs", ] [lib] name = "acceptxmr" path = "src/lib.rs" [[example]] name = "custom_storage" path = "examples/custom_storage/main.rs" [[example]] name = "nojs" path = "examples/nojs/main.rs" required-features = [ "serde", "in-memory", ] [[example]] name = "persistence" path = "examples/persistence/main.rs" required-features = ["sqlite"] [[example]] name = "websockets" path = "examples/websockets/main.rs" required-features = [ "serde", "in-memory", ] [[test]] name = "main" path = "tests/main.rs" [dependencies.backoff] version = "0.4" features = ["tokio"] [dependencies.bincode] version = "^2.0.0-rc.3" optional = true [dependencies.blake3] version = "1" features = ["std"] [dependencies.bytes] version = "1" [dependencies.hex] version = "0.4" [dependencies.http-body-util] version = "0.1" [dependencies.hyper] version = "1" features = [ "client", "http1", "http2", ] [dependencies.hyper-rustls] version = "0.26" features = [ "logging", "http1", "http2", "tls12", "webpki-tokio", "webpki-roots", "ring", ] default-features = false [dependencies.hyper-util] version = "0.1" features = [ "client-legacy", "http1", "http2", ] [dependencies.indexmap] version = "2" [dependencies.log] version = "0.4" [dependencies.md-5] version = "0.10" [dependencies.monero] version = "0.20" [dependencies.rand] version = "0.8" [dependencies.rand_chacha] version = "0.3" [dependencies.rayon] version = "1" [dependencies.serde] version = "1.0" features = [ "derive", "alloc", ] optional = true default-features = false [dependencies.serde_json] version = "1" [dependencies.sled] version = "0.34" optional = true [dependencies.sqlite] version = "0.33" optional = true [dependencies.strum] version = "0.26" features = ["derive"] [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", "time", "tracing", ] [dev-dependencies.actix] version = "0.13" [dev-dependencies.actix-files] version = "0.6" [dev-dependencies.actix-session] version = "0.9" features = ["cookie-session"] [dev-dependencies.actix-web] version = "4" [dev-dependencies.actix-web-actors] version = "4" [dev-dependencies.bytestring] version = "1" [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.handlebars] version = "5" features = ["dir_source"] [dev-dependencies.qrcode] version = "0.13" [dev-dependencies.serde] version = "1.0" default-features = false [dev-dependencies.test-case] version = "3" [features] bincode = ["dep:bincode"] in-memory = [] serde = ["dep:serde"] sled = [ "bincode", "dep:sled", ] sqlite = [ "bincode", "dep:sqlite", ] [lints.clippy] cargo = "warn" pedantic = "warn" [lints.clippy.module_name_repetitions] level = "allow" priority = 1 [lints.clippy.multiple_crate_versions] level = "allow" priority = 1 [lints.rust] missing_docs = "warn" unreachable_pub = "warn" unsafe_code = "forbid"