[package]
edition = "2024"
rust-version = "1.87"
name = "facet_generate"
version = "0.13.2"
authors = ["Red Badger Consulting Limited"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generate Swift, Kotlin and TypeScript from types annotated with `#[derive(Facet)]`"
readme = "README.md"
keywords = [
"codegen",
"ffi",
"facet",
]
license = "Apache-2.0"
repository = "https://github.com/redbadger/facet-generate"
[features]
default = ["generate"]
generate = [
"java",
"kotlin",
"swift",
"typescript",
]
java = ["include_dir"]
kotlin = [
"include_dir",
"indoc",
]
swift = [
"include_dir",
"indoc",
]
typescript = ["include_dir"]
[lib]
name = "facet_generate"
path = "src/lib.rs"
[[test]]
name = "common_tests"
path = "tests/common_tests.rs"
[[test]]
name = "java_generation"
path = "tests/java_generation.rs"
[[test]]
name = "java_runtime"
path = "tests/java_runtime.rs"
[[test]]
name = "kotlin_generation"
path = "tests/kotlin_generation.rs"
[[test]]
name = "swift_generation"
path = "tests/swift_generation.rs"
[[test]]
name = "swift_runtime"
path = "tests/swift_runtime.rs"
[[test]]
name = "typescript_generation"
path = "tests/typescript_generation.rs"
[[test]]
name = "typescript_runtime"
path = "tests/typescript_runtime.rs"
[dependencies.derive_builder]
version = "0.20.2"
[dependencies.facet]
version = "=0.31"
[dependencies.heck]
version = "0.5.0"
[dependencies.include_dir]
version = "0.7.4"
optional = true
[dependencies.indent]
version = "0.1.1"
[dependencies.indoc]
version = "2.0.7"
optional = true
[dependencies.regex]
version = "1.12.2"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.textwrap]
version = "0.16.2"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.anyhow]
version = "1.0.100"
[dev-dependencies.bcs]
version = "0.1.6"
[dev-dependencies.bincode]
version = "=1"
[dev-dependencies.bytes]
version = "1.11"
[dev-dependencies.chrono]
version = "0.4.42"
[dev-dependencies.difficient]
version = "0.1.0"
[dev-dependencies.expect-test]
version = "1.5.1"
[dev-dependencies.facet]
version = "=0.31"
features = [
"chrono",
"url",
"bytes",
]
[dev-dependencies.ignore]
version = "0.4"
[dev-dependencies.insta]
version = "1.46.0"
features = [
"yaml",
"json",
]
[dev-dependencies.maplit]
version = "1.0.2"
[dev-dependencies.strum]
version = "0.27.2"
features = ["derive"]
[dev-dependencies.tempfile]
version = "3.24.0"
[dev-dependencies.url]
version = "2.5.8"