mpay 0.2.0

Machine Payment Protocol - Rust library for Web Payment Auth
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 = "mpay"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Machine Payment Protocol - Rust library for Web Payment Auth"
homepage = "https://github.com/tempoxyz/mpay-rs"
documentation = "https://docs.rs/mpay"
readme = "README.md"
keywords = [
    "http",
    "payments",
    "402",
    "authentication",
    "web3",
]
categories = [
    "web-programming",
    "authentication",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tempoxyz/mpay-rs"

[features]
client = ["reqwest"]
default = []
evm = [
    "alloy",
    "alloy-signer-local",
    "hex",
    "rand",
]
middleware = [
    "client",
    "reqwest-middleware",
    "async-trait",
    "anyhow",
    "http-types",
]
server = []
tempo = [
    "evm",
    "tempo-alloy",
    "tempo-primitives",
    "uuid",
]
utils = [
    "hex",
    "rand",
]

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

[dependencies.alloy]
version = "1.2"
features = ["full"]
optional = true

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

[dependencies.anyhow]
version = "1"
optional = true

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

[dependencies.base64]
version = "0.22"

[dependencies.hex]
version = "0.4"
optional = true

[dependencies.hmac]
version = "0.12"

[dependencies.http-types]
version = "1"
optional = true
package = "http"

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

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

[dependencies.reqwest-middleware]
version = "0.4"
optional = true

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

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

[dependencies.sha2]
version = "0.10"

[dependencies.tempo-alloy]
version = "0"
optional = true

[dependencies.tempo-primitives]
version = "0"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = [
    "formatting",
    "parsing",
]

[dependencies.uuid]
version = "1"
features = ["v4"]
optional = true

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