# 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 = "qp-poseidon"
version = "0.9.4"
authors = ["Quantus Network Developers <hello@quantus.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Poseidon hash implementation for Substrate/Polkadot ecosystem using plonky3 field arithmetic"
homepage = "https://quantus.com"
readme = "README.md"
keywords = [
    "cryptography",
    "hash-functions",
    "poseidon",
    "quantus-network",
    "substrate",
]
categories = ["cryptography"]
license = "MIT-0"
repository = "https://github.com/Quantus-Network/qp-poseidon"

[features]
default = ["std"]
serde = [
    "codec/serde",
    "dep:serde",
    "scale-info/serde",
]
std = [
    "codec/std",
    "log/std",
    "scale-info/std",
    "serde/std",
    "sp-core/std",
    "sp-runtime/std",
    "sp-storage/std",
]

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

[dependencies.codec]
version = "3.7.5"
default-features = false
package = "parity-scale-codec"

[dependencies.log]
version = "0.4.22"
default-features = false

[dependencies.p3-field]
version = "0.3.0"
default-features = false

[dependencies.p3-goldilocks]
version = "0.3.0"
default-features = false

[dependencies.qp-poseidon-core]
version = "0.9.4"
default-features = false

[dependencies.scale-info]
version = "2.11.1"
features = ["derive"]
default-features = false

[dependencies.serde]
version = "1.0.217"
optional = true
default-features = false

[dependencies.sp-core]
version = "37.0.0"
default-features = false

[dependencies.sp-runtime]
version = "42.0.0"
default-features = false

[dependencies.sp-storage]
version = "22.0.0"
default-features = false

[dependencies.sp-trie]
version = "40.0.0"
default-features = false

[dev-dependencies.ctor]
version = "0.5.0"

[dev-dependencies.env_logger]
version = "0.11.8"

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