[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.futures]
version = "0.3"
[dependencies.genai]
version = "0.4.2"
[dependencies.minijinja]
version = "2.0"
[dependencies.reqwest]
features = ["json", "stream"]
version = "0.12"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.simplify_baml_macros]
version = "0.2.0"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
features = ["full"]
version = "1.0"
[dev-dependencies.trybuild]
version = "1.0"
[[example]]
name = "advanced_streaming_flow"
path = "examples/advanced_streaming_flow.rs"
[[example]]
name = "edge_cases"
path = "examples/edge_cases.rs"
[[example]]
name = "explicit_partial_parsing"
path = "examples/explicit_partial_parsing.rs"
[[example]]
name = "extract_person"
path = "examples/extract_person.rs"
[[example]]
name = "extract_person_macro"
path = "examples/extract_person_macro.rs"
[[example]]
name = "nested_macro"
path = "examples/nested_macro.rs"
[[example]]
name = "nested_parsing"
path = "examples/nested_parsing.rs"
[[example]]
name = "openrouter_example"
path = "examples/openrouter_example.rs"
[[example]]
name = "parser_showcase"
path = "examples/parser_showcase.rs"
[[example]]
name = "rust_genai_streaming_example"
path = "examples/rust_genai_streaming_example.rs"
[[example]]
name = "standalone_functions"
path = "examples/standalone_functions.rs"
[[example]]
name = "streaming_with_partial_parsing"
path = "examples/streaming_with_partial_parsing.rs"
[[example]]
name = "streaming_with_schema_structure"
path = "examples/streaming_with_schema_structure.rs"
[[example]]
name = "tagged_enum_example"
path = "examples/tagged_enum_example.rs"
[[example]]
name = "with_descriptions"
path = "examples/with_descriptions.rs"
[[example]]
name = "with_macros"
path = "examples/with_macros.rs"
[lib]
name = "simplify_baml"
path = "src/lib.rs"
[package]
authors = ["catethos <cloverethos@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings", "web-programming", "template-engine"]
description = "Simplified BAML runtime for structured LLM outputs using native Rust types with macros"
edition = "2021"
keywords = ["llm", "baml", "ai", "structured-output", "openai"]
license = "MIT"
name = "simplify_baml"
readme = "README.md"
repository = "https://github.com/catethos/simplify_baml"
version = "0.2.0"
[[test]]
name = "flexible_baml_function_body_test"
path = "tests/flexible_baml_function_body_test.rs"
[[test]]
name = "hashmap_field_test"
path = "tests/hashmap_field_test.rs"
[[test]]
name = "list_of_classes_test"
path = "tests/list_of_classes_test.rs"
[[test]]
name = "macro_error_messages_test"
path = "tests/macro_error_messages_test.rs"
[[test]]
name = "multiple_baml_attrs_test"
path = "tests/multiple_baml_attrs_test.rs"
[[test]]
name = "null_enum_field_test"
path = "tests/null_enum_field_test.rs"
[[test]]
name = "tagged_enum_test"
path = "tests/tagged_enum_test.rs"