rust-x402 0.1.0

HTTP-native micropayments with x402 protocol
Documentation
[dependencies.actix-web]
optional = true
version = "4.0"

[dependencies.axum]
features = ["json"]
optional = true
version = "0.7"

[dependencies.base64]
version = "0.22"

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

[dependencies.ethereum-types]
version = "0.14"

[dependencies.hex]
version = "0.4"

[dependencies.http]
version = "1.0"

[dependencies.jsonwebtoken]
version = "9.0"

[dependencies.k256]
features = ["ecdsa", "sha256"]
version = "0.13"

[dependencies.percent-encoding]
version = "2.0"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
features = ["json", "rustls-tls"]
version = "0.12"

[dependencies.rlp]
version = "0.5"

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

[dependencies.rustc-hex]
version = "2.1"

[dependencies.secp256k1]
features = ["recovery", "global-context"]
version = "0.28"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.sha3]
version = "0.10"

[dependencies.thiserror]
version = "1.0"

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

[dependencies.tower]
features = ["util"]
version = "0.4"

[dependencies.tower-http]
features = ["cors", "trace"]
optional = true
version = "0.5"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"

[dependencies.url]
version = "2.5"

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

[dependencies.warp]
optional = true
version = "0.3"

[dev-dependencies.env_logger]
version = "0.11"

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

[dev-dependencies.tempfile]
version = "3.0"

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

[[example]]
name = "actix_server"
path = "examples/actix_server.rs"
required-features = ["actix-web"]

[[example]]
name = "axum_server"
path = "examples/axum_server.rs"
required-features = ["axum"]

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

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

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

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

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

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

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

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

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

[[example]]
name = "warp_server"
path = "examples/warp_server.rs"
required-features = ["warp"]

[features]
actix-web = ["dep:actix-web"]
axum = ["dep:axum", "dep:tower-http"]
default = ["axum"]
warp = ["dep:warp"]

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

[package]
authors = ["Ryan Kung <ryan@example.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings", "cryptography", "web-programming"]
description = "HTTP-native micropayments with x402 protocol"
documentation = "https://docs.rs/rust-x402"
edition = "2021"
homepage = "https://x402.org"
keywords = ["payment", "micropayment", "blockchain", "http", "web3"]
license = "Apache-2.0"
name = "rust-x402"
readme = "README.md"
repository = "https://github.com/RyanKung/x402_rs"
version = "0.1.0"

[[test]]
name = "error_handling_tests"
path = "tests/error_handling_tests.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "performance_tests"
path = "tests/performance_tests.rs"

[[test]]
name = "real_implementation_tests"
path = "tests/real_implementation_tests.rs"