x402-kit 2.2.2

(V2 Supported) A fully modular SDK for building complex X402 payment integrations.
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 = "2024"
name = "x402-kit"
version = "2.2.2"
authors = ["Archer <archer@aimo.network>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "(V2 Supported) A fully modular SDK for building complex X402 payment integrations."
readme = false
license = "MIT"
repository = "https://github.com/AIMOverse/x402-kit"

[features]
axum = [
    "paywall",
    "x402-paywall/axum",
]
default = [
    "facilitator-client",
    "evm-signer",
    "svm-signer",
    "axum",
]
evm-signer = [
    "dep:alloy-core",
    "dep:alloy-signer",
    "dep:rand",
]
facilitator-client = [
    "dep:reqwest",
    "dep:http",
]
paywall = ["dep:x402-paywall"]
svm-signer = ["dep:bincode"]

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

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

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

[dependencies.alloy-core]
version = "1.4"
features = ["sol-types"]
optional = true

[dependencies.alloy-primitives]
version = "1.4"

[dependencies.alloy-signer]
version = "1.1"
optional = true

[dependencies.bincode]
version = "2.0"
features = ["serde"]
optional = true

[dependencies.bon]
version = "3.8"

[dependencies.hex]
version = "0.4"

[dependencies.http]
version = "1.4"
optional = true

[dependencies.rand]
version = "0.9"
optional = true

[dependencies.reqwest]
version = "0.12"
features = ["json"]
optional = true

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

[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]

[dependencies.solana-pubkey]
version = "4.0"

[dependencies.solana-signature]
version = "3.1"

[dependencies.thiserror]
version = "2.0"

[dependencies.url]
version = "2.5"

[dependencies.x402-core]
version = "2.2.2"

[dependencies.x402-paywall]
version = "2.2.2"
optional = true
default-features = false

[dev-dependencies.alloy]
version = "1"

[dev-dependencies.axum]
version = "0.8"

[dev-dependencies.futures-util]
version = "0.3"

[dev-dependencies.solana-pubkey]
version = "4"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.tower-http]
version = "0.6"
features = ["trace"]

[dev-dependencies.tracing]
version = "0.1"

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

[dev-dependencies.url]
version = "2.5"

[dev-dependencies.url-macro]
version = "0.2"