test-lang 0.2.0

Compiler snapshot test harness for tokens, ASTs, and errors.
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.85"
name = "test-lang"
version = "0.2.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compiler snapshot test harness for tokens, ASTs, and errors."
homepage = "https://github.com/jamesgober/test-lang"
documentation = "https://docs.rs/test-lang"
readme = "README.md"
keywords = [
    "compiler",
    "language",
    "testing",
    "snapshot",
]
categories = [
    "development-tools",
    "development-tools::testing",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/test-lang"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["std"]
std = []

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

[[example]]
name = "ast"
path = "examples/ast.rs"

[[example]]
name = "diagnostics"
path = "examples/diagnostics.rs"

[[example]]
name = "tokens"
path = "examples/tokens.rs"

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

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

[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false

[dependencies]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1"

[target."cfg(loom)".dev-dependencies.loom]
version = "0.7"

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