[dependencies.once_cell]
version = "1.19"
[dependencies.regex]
version = "1.10"
[dependencies.saphyr]
optional = true
version = "0.0.6"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "1.0"
[dependencies.tryparse-derive]
optional = true
version = "0.4.3"
[dependencies.unicode-normalization]
version = "0.1"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.pretty_assertions]
version = "1.4"
[[example]]
name = "debug_json_fixes"
path = "examples/debug_json_fixes.rs"
[[example]]
name = "test_prose_extraction"
path = "examples/test_prose_extraction.rs"
[[example]]
name = "test_unquoted_values"
path = "examples/test_unquoted_values.rs"
[features]
default = ["yaml"]
derive = ["tryparse-derive"]
yaml = ["saphyr"]
[lib]
name = "tryparse"
path = "src/lib.rs"
[package]
authors = ["TryParse Contributors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["parsing", "text-processing", "development-tools"]
description = "Multi-strategy parser for messy real-world data. Handles broken JSON, markdown wrappers, and type mismatches."
edition = "2021"
keywords = ["parsing", "json", "llm", "flexible", "coercion"]
license = "Apache-2.0"
name = "tryparse"
readme = "README.md"
repository = "https://github.com/microagents/tryparse"
rust-version = "1.70"
version = "0.4.3"
[[test]]
name = "brutal_reality"
path = "tests/brutal_reality.rs"
[[test]]
name = "derive_test"
path = "tests/derive_test.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "reality_check"
path = "tests/reality_check.rs"
[[test]]
name = "test_architectural_flaw"
path = "tests/test_architectural_flaw.rs"
[[test]]
name = "test_baml_basics"
path = "tests/test_baml_basics.rs"
[[test]]
name = "test_baml_class"
path = "tests/test_baml_class.rs"
[[test]]
name = "test_case_insensitive"
path = "tests/test_case_insensitive.rs"
[[test]]
name = "test_constraints"
path = "tests/test_constraints.rs"
[[test]]
name = "test_double_escaped"
path = "tests/test_double_escaped.rs"
[[test]]
name = "test_extraction_fixing"
path = "tests/test_extraction_fixing.rs"
[[test]]
name = "test_field_norm"
path = "tests/test_field_norm.rs"
[[test]]
name = "test_implied_key"
path = "tests/test_implied_key.rs"
[[test]]
name = "test_invisible_chars"
path = "tests/test_invisible_chars.rs"
[[test]]
name = "test_mixed_quotes"
path = "tests/test_mixed_quotes.rs"
[[test]]
name = "test_normalize_direct"
path = "tests/test_normalize_direct.rs"
[[test]]
name = "test_parser_json"
path = "tests/test_parser_json.rs"
[[test]]
name = "test_parser_primitives"
path = "tests/test_parser_primitives.rs"
[[test]]
name = "test_percentage"
path = "tests/test_percentage.rs"
[[test]]
name = "test_scientific_notation"
path = "tests/test_scientific_notation.rs"
[[test]]
name = "test_snake_case"
path = "tests/test_snake_case.rs"
[[test]]
name = "test_template_literals"
path = "tests/test_template_literals.rs"
[[test]]
name = "test_transformation_tracking"
path = "tests/test_transformation_tracking.rs"
[[test]]
name = "test_yaml"
path = "tests/test_yaml.rs"