[package]
name = "blueprint-crypto-core"
version = "0.2.0-alpha.2"
description = "Core crypto primitives for Tangle Blueprints"
authors.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
rust-version.workspace = true

[dependencies]
blueprint-std = { workspace = true }
serde = { workspace = true, features = ["derive"] }
thiserror = { workspace = true }
clap = { workspace = true, optional = true }

[features]
default = ["std"]
std = [
    "serde/std",
    "blueprint-std/std",
    "clap?/std",
]

# Crypto primitive features
bn254 = []
k256 = []
sr25519-schnorrkel = []
bls = []
zebra = []
clap = ["dep:clap"]

[lints]
workspace = true
