typespec_rs 0.4.2

A Rust implementation of the TypeSpec type system — parser, checker, and emitter
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.95"
name = "typespec_rs"
version = "0.4.2"
build = false
exclude = [
    ".github/",
    ".claude/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust implementation of the TypeSpec type system — parser, checker, and emitter"
homepage = "https://github.com/ejfkdev/typespec-rs"
documentation = "https://docs.rs/typespec_rs"
readme = "README.md"
keywords = [
    "typespec",
    "parser",
    "type-checker",
    "compiler",
    "api",
]
categories = [
    "parser-implementations",
    "development-tools",
    "compilers",
]
license = "MIT"
repository = "https://github.com/ejfkdev/typespec-rs"

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

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

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

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

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

[[example]]
name = "tsp_to_json"
path = "examples/tsp_to_json/parse_and_emit.rs"

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

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

[dependencies.bitflags]
version = "2"

[dependencies.regex]
version = "1"

[profile.dist]
lto = "thin"
inherits = "release"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true