# 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"
name = "euph"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A functional stack-based programming language"
readme = "README.md"
keywords = [
    "language",
    "stack",
    "functional",
    "euphrates",
]
license = "MIT"
repository = "https://github.com/molarmanful/euphrates"

[lib]
name = "euph"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "euph"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.102"

[dependencies.crabtime]
version = "1.1.4"

[dependencies.dashu-int]
version = "0.4.1"
features = ["num-traits"]

[dependencies.derive_more]
version = "2.1.1"
features = [
    "debug",
    "display",
    "from",
    "is_variant",
    "try_from",
    "try_unwrap",
]

[dependencies.dyn-clone]
version = "1.0.20"

[dependencies.ecow]
version = "0.2.6"

[dependencies.hipstr]
version = "0.8.0"

[dependencies.imbl]
version = "7.0.0"

[dependencies.itertools]
version = "0.14.0"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.ordered-float]
version = "5.3.0"

[dependencies.ordermap]
version = "1.2.0"

[dependencies.phf]
version = "0.13.1"
features = ["macros"]

[dependencies.rand]
version = "0.10.1"

[dependencies.winnow]
version = "1.0.2"

[dependencies.wit-bindgen]
version = "0.57.1"

[build-dependencies.itertools]
version = "0.14.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.clap]
version = "4.6.1"
features = ["derive"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ctrlc]
version = "3.5.2"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustyline]
version = "18.0.0"

[lints.clippy]
pedantic = "warn"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = "symbols"
