cryptopay 0.1.0

A comprehensive Rust library for BscScan API integration and payment verification on Binance Smart Chain
Documentation
# 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 = "cryptopay"
version = "0.1.0"
authors = ["GrandpaEJ <None>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A comprehensive Rust library for BscScan API integration and payment verification on Binance Smart Chain"
readme = "README.md"
keywords = [
    "bsc",
    "binance",
    "blockchain",
    "payment",
    "crypto",
]
categories = [
    "api-bindings",
    "cryptography::cryptocurrencies",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/GrandpaEJ/cryptopay"

[features]
default = []
postgres-storage = ["sqlx"]
redis-cache = []
sqlite-storage = ["sqlx-sqlite"]

[lib]
name = "cryptopay"
path = "src/lib.rs"

[[example]]
name = "basic_payment"
path = "examples/basic_payment.rs"

[[example]]
name = "fetch_all"
path = "examples/fetch_all.rs"

[[example]]
name = "payment_monitor"
path = "examples/payment_monitor.rs"

[[example]]
name = "token_payment"
path = "examples/token_payment.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.governor]
version = "0.6"

[dependencies.moka]
version = "0.12"
features = ["future"]

[dependencies.nonzero_ext]
version = "0.3"

[dependencies.reqwest]
version = "0.11"
features = ["json"]

[dependencies.rust_decimal]
version = "1.33"
features = ["serde"]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.7"
features = [
    "runtime-tokio",
    "postgres",
    "chrono",
    "uuid",
    "json",
]
optional = true

[dependencies.sqlx-sqlite]
version = "0.7"
features = [
    "runtime-tokio",
    "sqlite",
    "chrono",
    "uuid",
    "json",
]
optional = true
package = "sqlx"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.35"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5"

[dependencies.uuid]
version = "1.6"
features = [
    "v4",
    "serde",
]

[dev-dependencies.dotenv]
version = "0.15.0"

[dev-dependencies.mockito]
version = "1.2"

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.wiremock]
version = "0.6"