fmt-lang 0.2.0

Rule-driven source formatter over lossless syntax trees, rendering through pretty-lang.
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 = "fmt-lang"
version = "0.2.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rule-driven source formatter over lossless syntax trees, rendering through pretty-lang."
homepage = "https://github.com/jamesgober/fmt-lang"
documentation = "https://docs.rs/fmt-lang"
readme = "README.md"
keywords = [
    "formatter",
    "pretty-print",
    "syntax-tree",
    "language",
    "lexersketch",
]
categories = [
    "development-tools",
    "text-processing",
    "no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/fmt-lang"

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

[features]
default = ["std"]
std = [
    "syntax-lang/std",
    "pretty-lang/std",
]

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

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

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

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

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

[dependencies.pretty-lang]
version = "1.0.1"
default-features = false

[dependencies.syntax-lang]
version = "1"
default-features = false

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

[dev-dependencies.lang-forge]
version = "1.0.1"

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

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