# 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 = "2024"
rust-version = "1.90"
name = "miden-assembly"
version = "0.20.0"
authors = ["Miden contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Miden VM assembly language"
homepage = "https://miden.xyz"
documentation = "https://docs.rs/miden-assembly"
readme = "README.md"
keywords = [
    "assembler",
    "assembly",
    "language",
    "miden",
]
categories = [
    "compilers",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/0xMiden/miden-vm"

[features]
default = ["std"]
logging = ["dep:env_logger"]
std = [
    "miden-assembly-syntax/std",
    "miden-core/std",
    "thiserror/std",
]
testing = [
    "logging",
    "miden-assembly-syntax/testing",
]

[lib]
name = "miden_assembly"
path = "src/lib.rs"
doctest = false
bench = false

[dependencies.env_logger]
version = "0.11"
optional = true

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

[dependencies.miden-assembly-syntax]
version = "0.20"
default-features = false

[dependencies.miden-core]
version = "0.20"
default-features = false

[dependencies.miden-mast-package]
version = "0.20"
default-features = false

[dependencies.smallvec]
version = "1.15"
features = [
    "union",
    "const_generics",
    "const_new",
]
default-features = false

[dependencies.thiserror]
version = "2.0"
default-features = false

[dev-dependencies.insta]
version = "1.43"
features = ["colors"]
default-features = false

[dev-dependencies.miden-mast-package]
version = "0.20"
features = ["arbitrary"]
default-features = false

[dev-dependencies.proptest]
version = "1.8"
features = [
    "no_std",
    "alloc",
    "std",
]
default-features = false
