# 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 = "2018"
name = "aluvm"
version = "0.9.0-rc.2"
authors = ["Dr Maxim Orlovsky <orlovsky@lnp-bp.org>"]
exclude = [".github"]
description = "AluVM rust implementation"
homepage = "https://aluvm.org"
readme = "README.md"
keywords = [
    "virtual-machine",
    "emulator",
    "functional",
    "risc",
    "edge-computing",
]
categories = [
    "no-std",
    "embedded",
    "compilers",
    "cryptography",
    "emulators",
]
license = "MIT"
repository = "https://github.com/aluvm/rust-aluvm"

[lib]
name = "aluvm"

[[example]]
name = "asm"
required-features = ["all"]

[dependencies.amplify]
version = "3.13.0"
features = [
    "apfloat",
    "derive",
    "hex",
]
default-features = false

[dependencies.bech32]
version = "0.9.1"
default-features = false

[dependencies.bitcoin_hashes]
version = "0.11.0"
default-features = false

[dependencies.curve25519-dalek]
version = "3.2"
optional = true

[dependencies.half]
version = "2.1.0"

[dependencies.paste]
version = "1"

[dependencies.secp256k1]
version = "0.24.2"
features = ["global-context"]
optional = true

[dependencies.serde_crate]
version = "1"
optional = true
package = "serde"

[dependencies.serde_with]
version = "1.14"
optional = true

[dependencies.strict_encoding]
version = "0.9.0-rc.2"
features = [
    "float",
    "derive",
]
optional = true
default-features = false

[features]
all = [
    "std",
    "secp256k1",
    "curve25519",
    "strict_encoding",
    "serde",
]
curve25519 = ["curve25519-dalek"]
default = []
serde = [
    "serde_crate",
    "serde_with",
    "amplify/serde",
    "bitcoin_hashes/serde",
    "std",
    "secp256k1/std",
    "curve25519-dalek/serde",
]
std = [
    "amplify/std",
    "bitcoin_hashes/std",
    "secp256k1/std",
    "curve25519-dalek/std",
    "curve25519-dalek/alloc",
    "bech32/std",
]
