# 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.96"
name = "miden-assembly"
version = "0.24.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]
arbitrary = [
    "std",
    "dep:proptest",
]
default = ["std"]
logging = ["dep:env_logger"]
std = [
    "dep:miden-package-registry",
    "miden-assembly-syntax/std",
    "miden-core/std",
    "miden-mast-package/std",
    "miden-project/std",
    "proptest?/std",
    "tempfile/getrandom",
    "thiserror/std",
]
testing = [
    "logging",
    "miden-assembly-syntax/testing",
]

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

[[test]]
name = "packaging"
path = "tests/packaging.rs"

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

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

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

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

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

[dependencies.miden-package-registry]
version = "0.24"
optional = true
default-features = false

[dependencies.miden-project]
version = "0.24"
features = ["serde"]
default-features = false

[dependencies.proptest]
version = "1.8"
features = [
    "no_std",
    "alloc",
]
optional = true
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.24"
features = ["arbitrary"]
default-features = false

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

[dev-dependencies.tempfile]
version = "3.18"
default-features = false
