# 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"
rust-version = "1.91"
name = "cowprotocol-signing"
version = "0.2.0-alpha.1"
authors = ["cow-rs contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CoW Protocol signing schemes, signatures, and cancellation helpers."
homepage = "https://github.com/cowdao-grants/cow-rs"
documentation = "https://docs.rs/cowprotocol-signing"
readme = "README.md"
keywords = [
    "cow-protocol",
    "ethereum",
    "defi",
    "signing",
]
categories = [
    "cryptography::cryptocurrencies",
    "authentication",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/cowdao-grants/cow-rs"
resolver = "2"

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

[dependencies.alloy-primitives]
version = "1.5.7"
features = [
    "std",
    "serde",
    "k256",
]
default-features = false

[dependencies.alloy-signer]
version = "1.8.3"
default-features = false

[dependencies.alloy-sol-types]
version = "1.5.7"
features = ["std"]
default-features = false

[dependencies.const-hex]
version = "1"

[dependencies.cowprotocol-primitives]
version = "0.1.1-alpha.1"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_with]
version = "3"

[dependencies.thiserror]
version = "2"

[dev-dependencies.alloy-signer-local]
version = "1.8.3"
default-features = false

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

[dev-dependencies.hex-literal]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]
default-features = false

[lints.clippy]
missing-const-for-fn = "warn"
option-if-let-else = "warn"
redundant-clone = "warn"
use-self = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing-debug-implementations = "warn"
missing-docs = "warn"
rust-2018-idioms = "deny"
unreachable-pub = "warn"
unused-must-use = "deny"
