mago 1.2.2

A comprehensive suite of PHP tooling inspired by Rust’s approach, providing parsing, linting, formatting, and more through a unified CLI and library interface.
# 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.91.1"
name = "mago"
version = "1.2.2"
authors = ["Saif Eddin Gmati <azjezz@carthage.software>"]
build = "build.rs"
exclude = [
    "docs",
    "composer",
    "scripts",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A comprehensive suite of PHP tooling inspired by Rust’s approach, providing parsing, linting, formatting, and more through a unified CLI and library interface."
homepage = "https://mago.carthage.software"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/carthage-software/mago"

[features]
dhat-heap = ["dhat"]

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

[dependencies.bumpalo]
version = "3"
features = [
    "collections",
    "serde",
]

[dependencies.clap]
version = "4.5.20"
features = [
    "cargo",
    "derive",
    "unicode",
    "wrap_help",
]

[dependencies.clap_complete]
version = "4.5.59"

[dependencies.colored]
version = "3.0.0"

[dependencies.config]
version = "0.15.4"
features = [
    "toml",
    "yaml",
    "json",
]

[dependencies.dhat]
version = "0.3"
optional = true

[dependencies.dialoguer]
version = "0.12.0"

[dependencies.diffy]
version = "0.4.0"

[dependencies.indicatif]
version = "0.18.0"

[dependencies.indoc]
version = "2"

[dependencies.mago-algebra]
version = "1.2.2"

[dependencies.mago-analyzer]
version = "1.2.2"

[dependencies.mago-atom]
version = "1.2.2"

[dependencies.mago-codex]
version = "1.2.2"

[dependencies.mago-composer]
version = "1.2.2"

[dependencies.mago-database]
version = "1.2.2"

[dependencies.mago-formatter]
version = "1.2.2"

[dependencies.mago-guard]
version = "1.2.2"

[dependencies.mago-linter]
version = "1.2.2"

[dependencies.mago-names]
version = "1.2.2"

[dependencies.mago-orchestrator]
version = "1.2.2"

[dependencies.mago-php-version]
version = "1.2.2"

[dependencies.mago-prelude]
version = "1.2.2"

[dependencies.mago-reporting]
version = "1.2.2"

[dependencies.mago-syntax]
version = "1.2.2"

[dependencies.mago-syntax-core]
version = "1.2.2"

[dependencies.mago-text-edit]
version = "1.2.2"

[dependencies.num_cpus]
version = "1.16.0"

[dependencies.rayon]
version = "1.10.0"

[dependencies.schemars]
version = "1.1"
features = ["preserve_order"]

[dependencies.self_update]
version = "0.42.0"
features = [
    "archive-tar",
    "archive-zip",
    "compression-flate2",
]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.138"

[dependencies.strum]
version = "0.27"
features = ["derive"]

[dependencies.strum_macros]
version = "0.27"

[dependencies.tempfile]
version = "3.15.0"

[dependencies.termtree]
version = "0.5.1"

[dependencies.toml]
version = "0.9.2"

[dependencies.tracing]
version = "0.1.40"

[dependencies.tracing-subscriber]
version = "0.3.18"
features = ["env-filter"]

[dependencies.unicode-width]
version = "0.2.0"
default-features = false

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.temp-env]
version = "0.3.6"

[build-dependencies.mago-prelude]
version = "1.2.2"
features = ["build"]

[target.'cfg(any(target_os = "macos", target_os = "windows", target_env = "musl"))'.dependencies.mimalloc]
version = "0.1.47"

[target.'cfg(target_os = "linux")'.dependencies.openssl]
version = "0.10"
features = ["vendored"]

[profile.dev]
opt-level = 0
lto = "off"
debug = 2
panic = "unwind"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 0
debug-assertions = false
rpath = true
panic = "abort"
overflow-checks = false
incremental = true
strip = "symbols"