# 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 = "webb-proposals"
version = "0.8.0"
authors = ["Webb Developers"]
description = "Webb Protocol Proposals Specification & Implementation (part of webb-rs SDK)"
homepage = "https://www.webb.tools"
documentation = "https://docs.rs/webb"
readme = "README.md"
keywords = [
    "webb",
    "proposals",
    "protocol",
    "blockchain",
]
categories = [
    "encoding",
    "no-std",
]
license = "Apache-2.0"
repository = "https://github.com/webb-tools/webb-rs"

[dependencies.frame-support]
version = "4.0.0-dev"
optional = true
default-features = false

[dependencies.hex]
version = "0.4"
features = ["alloc"]
default-features = false

[dependencies.num-traits]
version = "0.2.15"
default-features = false

[dependencies.proposal-derive]
version = "0.1.0"
default-features = false
package = "webb-proposal-derive"

[dependencies.scale-codec]
version = "3.0.0"
features = [
    "derive",
    "max-encoded-len",
]
optional = true
default-features = false
package = "parity-scale-codec"

[dependencies.scale-info]
version = "2.1.1"
optional = true
default-features = false

[dependencies.serde]
version = "1.0.152"
features = [
    "derive",
    "alloc",
    "derive",
]
optional = true
default-features = false

[dependencies.thiserror]
version = "1"

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

[dependencies.typed-builder]
version = "0.18"
optional = true
default-features = false

[dev-dependencies.hex]
version = "0.4"
default-features = false

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

[dev-dependencies.serde]
version = "1.0.152"
features = [
    "derive",
    "alloc",
]
default-features = false

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

[features]
default = [
    "std",
    "evm",
    "substrate",
    "scale",
    "ink",
]
evm = ["serde"]
ink = [
    "scale",
    "typed-builder",
]
scale = [
    "scale-codec",
    "scale-info/derive",
]
std = [
    "scale-codec/std",
    "scale-info/std",
    "num-traits/std",
    "serde/std",
    "hex/std",
    "frame-support/std",
    "proposal-derive/std",
]
substrate = [
    "scale",
    "typed-builder",
    "frame-support",
    "serde",
]