# 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 = "osst"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "one-step schnorr threshold identification with proactive resharing"
documentation = "https://docs.rs/osst"
readme = "README.md"
keywords = [
    "threshold",
    "cryptography",
    "schnorr",
    "mpc",
    "reshare",
]
categories = [
    "cryptography",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rotkonetworks/zeratul"

[features]
decaf377 = ["dep:decaf377"]
default = [
    "std",
    "ristretto255",
]
pallas = ["dep:pasta_curves"]
ristretto255 = ["dep:curve25519-dalek"]
secp256k1 = ["dep:k256"]
std = [
    "sha2/std",
    "rand_core/std",
]

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

[dependencies.codec]
version = "3.6"
features = ["derive"]
optional = true
default-features = false
package = "parity-scale-codec"

[dependencies.curve25519-dalek]
version = "4.1"
features = [
    "digest",
    "group",
    "alloc",
    "rand_core",
]
optional = true
default-features = false

[dependencies.decaf377]
version = "0.10"
optional = true
default-features = false

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

[dependencies.pasta_curves]
version = "0.5"
features = ["alloc"]
optional = true
default-features = false

[dependencies.rand_core]
version = "0.6"
default-features = false

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

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

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

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

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