[package]
edition = "2024"
rust-version = "1.95.0"
name = "mago-codex"
version = "1.25.2"
authors = ["Seifeddine Gmati <azjezz@carthage.software>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PHP type system representation, comparison logic, and codebase metadata for static analysis."
homepage = "https://mago.carthage.software"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/carthage-software/mago"
[features]
default = []
property-tests = []
[lib]
name = "mago_codex"
path = "src/lib.rs"
[[test]]
name = "combiner_arrays"
path = "tests/combiner_arrays.rs"
[[test]]
name = "combiner_atomic_pairs_explicit"
path = "tests/combiner_atomic_pairs_explicit.rs"
[[test]]
name = "combiner_combinatorial"
path = "tests/combiner_combinatorial.rs"
[[test]]
name = "combiner_floats"
path = "tests/combiner_floats.rs"
[[test]]
name = "combiner_integers"
path = "tests/combiner_integers.rs"
[[test]]
name = "combiner_megatable"
path = "tests/combiner_megatable.rs"
[[test]]
name = "combiner_mixed"
path = "tests/combiner_mixed.rs"
[[test]]
name = "combiner_null_void_never"
path = "tests/combiner_null_void_never.rs"
[[test]]
name = "combiner_objects"
path = "tests/combiner_objects.rs"
[[test]]
name = "combiner_pairs"
path = "tests/combiner_pairs.rs"
[[test]]
name = "combiner_property_idempotence"
path = "tests/combiner_property_idempotence.rs"
[[test]]
name = "combiner_resources"
path = "tests/combiner_resources.rs"
[[test]]
name = "combiner_scalars"
path = "tests/combiner_scalars.rs"
[[test]]
name = "combiner_smoke"
path = "tests/combiner_smoke.rs"
[[test]]
name = "combiner_strings"
path = "tests/combiner_strings.rs"
[[test]]
name = "combiner_table_cases"
path = "tests/combiner_table_cases.rs"
[[test]]
name = "combiner_thresholds"
path = "tests/combiner_thresholds.rs"
[[test]]
name = "combiner_triples"
path = "tests/combiner_triples.rs"
[[test]]
name = "comparator_arrays"
path = "tests/comparator_arrays.rs"
[[test]]
name = "comparator_booleans"
path = "tests/comparator_booleans.rs"
[[test]]
name = "comparator_callable"
path = "tests/comparator_callable.rs"
[[test]]
name = "comparator_class_strings"
path = "tests/comparator_class_strings.rs"
[[test]]
name = "comparator_combinatorial"
path = "tests/comparator_combinatorial.rs"
[[test]]
name = "comparator_deep_structures"
path = "tests/comparator_deep_structures.rs"
[[test]]
name = "comparator_flags"
path = "tests/comparator_flags.rs"
[[test]]
name = "comparator_floats"
path = "tests/comparator_floats.rs"
[[test]]
name = "comparator_integers"
path = "tests/comparator_integers.rs"
[[test]]
name = "comparator_iterable"
path = "tests/comparator_iterable.rs"
[[test]]
name = "comparator_mixed"
path = "tests/comparator_mixed.rs"
[[test]]
name = "comparator_null_void_never"
path = "tests/comparator_null_void_never.rs"
[[test]]
name = "comparator_objects"
path = "tests/comparator_objects.rs"
[[test]]
name = "comparator_pairs_explicit"
path = "tests/comparator_pairs_explicit.rs"
[[test]]
name = "comparator_resources"
path = "tests/comparator_resources.rs"
[[test]]
name = "comparator_scalars"
path = "tests/comparator_scalars.rs"
[[test]]
name = "comparator_smoke"
path = "tests/comparator_smoke.rs"
[[test]]
name = "comparator_strings"
path = "tests/comparator_strings.rs"
[[test]]
name = "comparator_unions"
path = "tests/comparator_unions.rs"
[[test]]
name = "property_combiner_comparator"
path = "tests/property_combiner_comparator.rs"
[[bench]]
name = "combiner"
path = "benches/combiner.rs"
harness = false
[[bench]]
name = "comparator"
path = "benches/comparator.rs"
harness = false
[[bench]]
name = "expander"
path = "benches/expander.rs"
harness = false
[dependencies.bumpalo]
version = "3"
features = [
"collections",
"serde",
]
[dependencies.foldhash]
version = "0.2"
[dependencies.indexmap]
version = "2.8.0"
features = ["serde"]
[dependencies.mago-atom]
version = "1.25.2"
[dependencies.mago-database]
version = "1.25.2"
[dependencies.mago-docblock]
version = "1.25.2"
[dependencies.mago-fingerprint]
version = "1.25.2"
[dependencies.mago-names]
version = "1.25.2"
[dependencies.mago-reporting]
version = "1.25.2"
[dependencies.mago-span]
version = "1.25.2"
[dependencies.mago-syntax]
version = "1.25.2"
[dependencies.mago-type-syntax]
version = "1.25.2"
[dependencies.ordered-float]
version = "5.0"
features = ["serde"]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.strum]
version = "0.28"
features = ["derive"]
[dependencies.tracing]
version = "0.1.40"
[dev-dependencies.criterion]
version = "4.5.0"
package = "codspeed-criterion-compat"
[dev-dependencies.proptest]
version = "1.5"
[lints.clippy.dbg_macro]
level = "forbid"
priority = 0
[lints.clippy.large_enum_variant]
level = "allow"
priority = 0
[lints.clippy.let_underscore_lock]
level = "forbid"
priority = 0
[lints.clippy.print_stderr]
level = "forbid"
priority = 0
[lints.clippy.print_stdout]
level = "forbid"
priority = 0