# 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.88.0"
name = "sigil-stitch"
version = "0.3.4"
authors = ["Adam Cavendish"]
build = false
exclude = [
    ".github/",
    "coverage/",
    "docs/",
    "test-goldens/",
    "Justfile",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-safe, import-aware, width-aware code generation for multiple languages"
homepage = "https://github.com/adamcavendish/sigil-stitch"
readme = "README.md"
keywords = [
    "codegen",
    "code-generation",
    "pretty-printing",
    "multi-language",
    "builder",
]
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/adamcavendish/sigil-stitch"

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

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

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

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "bash"
path = "tests/bash/main.rs"

[[test]]
name = "c"
path = "tests/c/main.rs"

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

[[test]]
name = "cpp"
path = "tests/cpp/main.rs"

[[test]]
name = "dart"
path = "tests/dart/main.rs"

[[test]]
name = "go"
path = "tests/go/main.rs"

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

[[test]]
name = "haskell"
path = "tests/haskell/main.rs"

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

[[test]]
name = "java"
path = "tests/java/main.rs"

[[test]]
name = "javascript"
path = "tests/javascript/main.rs"

[[test]]
name = "kotlin"
path = "tests/kotlin/main.rs"

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

[[test]]
name = "ocaml"
path = "tests/ocaml/main.rs"

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

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

[[test]]
name = "python"
path = "tests/python/main.rs"

[[test]]
name = "rust"
path = "tests/rust/main.rs"

[[test]]
name = "scala"
path = "tests/scala/main.rs"

[[test]]
name = "swift"
path = "tests/swift/main.rs"

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

[[test]]
name = "typescript"
path = "tests/typescript/main.rs"

[[test]]
name = "zsh"
path = "tests/zsh/main.rs"

[dependencies.pretty]
version = "0.12"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.sigil-stitch-macros]
version = "0.3.4"

[dependencies.snafu]
version = "0.9"

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