typeset 3.1.1

A DSL for defining source code pretty printers
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.89.0"
name = "typeset"
version = "3.1.1"
authors = ["Soren Norbaek <sorennorbaek@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A DSL for defining source code pretty printers"
homepage = "https://docs.rs/typeset/latest/typeset/"
documentation = "https://docs.rs/typeset/latest/typeset/"
readme = "README.md"
keywords = [
    "dsl",
    "pretty",
    "printer",
]
categories = [
    "compilers",
    "template-engine",
]
license-file = "LICENSE"
repository = "https://github.com/soren-n/typeset-rs/tree/main/typeset"
resolver = "2"

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "two_buffer_comparison"
path = "benches/two_buffer_comparison.rs"

[dependencies.bumpalo]
version = "3.19"

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

[dev-dependencies.typeset-parser]
version = "3.1.1"