clear-signing 0.1.0

ERC-7730 v2 clear signing library: decodes and formats Ethereum calldata and EIP-712 typed data for human-readable display.
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 = "clear-signing"
version = "0.1.0"
authors = ["Bartosz Rozwarski"]
build = false
exclude = ["tests/fixtures/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ERC-7730 v2 clear signing library: decodes and formats Ethereum calldata and EIP-712 typed data for human-readable display."
homepage = "https://github.com/llbartekll/clear-signing"
documentation = "https://docs.rs/clear-signing"
readme = "README.md"
keywords = [
    "erc7730",
    "ethereum",
    "clear-signing",
    "calldata",
    "eip712",
]
categories = [
    "cryptography::cryptocurrencies",
    "encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/llbartekll/clear-signing"

[package.metadata.docs.rs]
features = [
    "uniffi",
    "github-registry",
]

[features]
default = []
github-registry = ["dep:reqwest"]
uniffi = [
    "dep:uniffi",
    "uniffi/cli",
]

[lib]
name = "clear_signing"
crate-type = [
    "lib",
    "staticlib",
    "cdylib",
]
path = "src/lib.rs"

[[bin]]
name = "uniffi-bindgen"
path = "uniffi-bindgen.rs"
required-features = ["uniffi"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.hex]
version = "0.4"

[dependencies.num-bigint]
version = "0.4"
features = ["serde"]

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls-webpki-roots",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tiny-keccak]
version = "2"
features = ["keccak"]

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "sync",
]

[dependencies.uniffi]
version = "0.31.0"
features = ["tokio"]
optional = true
default-features = false