mago-syntax 1.2.0

A correct, fast, and memory-efficient PHP syntax implementation, including Lexer, Parser, AST, and utilities for Mago.
Documentation
# 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-syntax"
version = "1.2.0"
authors = ["Saif Eddin Gmati <azjezz@carthage.software>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A correct, fast, and memory-efficient PHP syntax implementation, including Lexer, Parser, AST, and utilities for Mago."
homepage = "https://mago.carthage.software"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/carthage-software/mago"

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

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

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

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

[dependencies.either]
version = "1.13.0"

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

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

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

[dependencies.mago-span]
version = "1.2.0"

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

[dependencies.ordered-float]
version = "5.0"
features = [
    "serde",
    "serde",
    "rand",
]
default-features = false

[dependencies.paste]
version = "1.0.15"

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

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

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

[lints.clippy.dbg_macro]
level = "forbid"
priority = 0

[lints.clippy.large_enum_variant]
level = "allow"
priority = 0

[lints.clippy.print_stderr]
level = "forbid"
priority = 0

[lints.clippy.print_stdout]
level = "forbid"
priority = 0