# 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 = "fluentbase-crypto"
version = "1.1.6"
authors = ["Dmitry Savonin <dmitry@fluentlabs.xyz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A framework to build smart contracts on the Fluent L2 as well as blockchains and verifiable compute environments that compile to rWasm"
readme = "README.md"
keywords = [
    "wasm",
    "webassembly",
    "interpreter",
    "vm",
]
categories = [
    "wasm",
    "no-std",
    "virtualization",
]
license = "MIT"
repository = "https://github.com/fluentlabs-xyz/fluentbase"

[features]
default = ["std"]
serde = ["fluentbase-types/serde"]
std = [
    "dep:fluentbase-runtime",
    "fluentbase-types/std",
    "fluentbase-runtime/std",
    "elliptic-curve/std",
]

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

[dependencies.bytemuck]
version = "1.10.1"
features = ["derive"]
default-features = false

[dependencies.cfg-if]
version = "1.0.3"
default-features = false

[dependencies.elliptic-curve]
version = "0.13.4"
features = [
    "hazmat",
    "sec1",
    "ecdh",
]
default-features = false

[dependencies.fluentbase-runtime]
version = "1.1.6"
optional = true
default-features = false

[dependencies.fluentbase-types]
version = "1.1.6"
default-features = false

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