# 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 = "casper-eip-712"
version = "1.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "EIP-712 typed data hashing and domain separation for Casper Network"
readme = "README.md"
keywords = [
    "casper",
    "eip-712",
    "crypto",
    "blockchain",
    "signing",
]
categories = [
    "cryptography",
    "no-std",
]
license = "Apache-2.0"
repository = "https://github.com/casper-ecosystem/casper-eip-712"

[features]
casper-native = ["dep:casper-types"]
default = []
verify = ["dep:k256"]

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

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

[dependencies.casper-types]
version = "7"
optional = true

[dependencies.k256]
version = "0.13"
features = ["ecdsa"]
optional = true
default-features = false

[dependencies.sha3]
version = "0.10"
default-features = false

[dev-dependencies.hex]
version = "0.4"

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

[dev-dependencies.k256]
version = "0.13"
features = ["ecdsa"]
default-features = false

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

[dev-dependencies.serde_json]
version = "=1.0.145"
