[package]
edition = "2024"
rust-version = "1.87"
name = "olai-codegen"
version = "0.0.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Proto-driven code generation for REST handlers, clients, and resource registries"
homepage = "https://github.com/open-lakehouse/trestle"
readme = "README.md"
keywords = [
"lakehouse",
"data-platform",
"protobuf",
"codegen",
"resource-store",
]
license = "Apache-2.0"
repository = "https://github.com/open-lakehouse/trestle"
resolver = "2"
[lib]
name = "olai_codegen"
path = "src/lib.rs"
doctest = false
[[bin]]
name = "olai-codegen"
path = "src/bin/proto-gen.rs"
[[test]]
name = "analysis_integration"
path = "tests/analysis_integration.rs"
[[test]]
name = "codegen_integration"
path = "tests/codegen_integration.rs"
[[test]]
name = "openapi_enrich_integration"
path = "tests/openapi_enrich_integration.rs"
[[test]]
name = "parsing_integration"
path = "tests/parsing_integration.rs"
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.convert_case]
version = "0.7"
[dependencies.glob]
version = "0.3"
[dependencies.itertools]
version = "0.14"
[dependencies.prettyplease]
version = "0.2"
[dependencies.proc-macro2]
version = "1.0"
[dependencies.prost]
version = "0.14"
[dependencies.prost-types]
version = "0.14"
[dependencies.protobuf]
version = "3.0"
[dependencies.quote]
version = "1.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.syn]
version = "2.0"
features = [
"full",
"parsing",
"printing",
"clone-impls",
]
[dependencies.textwrap]
version = "0.16"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
features = ["log"]
[dev-dependencies.rstest]
version = "0.23"
[dev-dependencies.tempfile]
version = "3"