# 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-project"
version = "0.22.4"
authors = ["Miden contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Interface for working with Miden projects"
homepage = "https://miden.xyz"
documentation = "https://docs.rs/miden-project"
readme = "README.md"
keywords = [
    "project",
    "miden",
]
categories = [
    "compilers",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/0xMiden/miden-vm"

[features]
arbitrary = [
    "std",
    "dep:proptest-derive",
    "dep:proptest",
    "miden-assembly-syntax/arbitrary",
]
default = [
    "std",
    "serde",
]
resolver = [
    "std",
    "miden-package-registry/resolver",
]
serde = [
    "dep:serde",
    "dep:serde-untagged",
    "miden-assembly-syntax/serde",
    "miden-core/serde",
    "miden-package-registry/serde",
    "toml/serde",
    "toml/parse",
    "toml/display",
]
std = [
    "miden-assembly-syntax/std",
    "serde/std",
    "thiserror/std",
    "toml/std",
    "miden-package-registry/std",
    "miden-package-registry/resolver",
    "tempfile/getrandom",
]

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

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

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

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

[dependencies.miden-package-registry]
version = "0.22.0"
default-features = false

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

[dependencies.proptest-derive]
version = "0.7"
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
features = [
    "alloc",
    "derive",
    "rc",
]
optional = true
default-features = false

[dependencies.serde-untagged]
version = "0.1"
optional = true

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

[dependencies.toml]
version = "1.0"
default-features = false

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

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

[dev-dependencies.serde_json]
version = "1.0"
features = ["alloc"]
default-features = false

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

[dev-dependencies.toml]
version = "1.0"
features = [
    "std",
    "serde",
    "parse",
]
default-features = false

[lints.rust]
unused_assignments = "allow"
