# 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"
name = "dcbor-pattern"
version = "0.9.0"
authors = ["Blockchain Commons"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pattern matcher for dCBOR"
documentation = "https://docs.rs/bc-dcbor-pattern"
readme = "README.md"
keywords = [
    "encoding",
    "cbor",
    "binary",
    "format",
    "serialization",
]
categories = [
    "data-structures",
    "encoding",
]
license = "BSD-2-Clause-Patent"
repository = "https://github.com/BlockchainCommons/bc-dcbor-pattern-rust"
resolver = "2"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.bc-components]
version = "^0.30.0"

[dependencies.bc-tags]
version = "^0.11.0"

[dependencies.bc-ur]
version = "^0.18.0"

[dependencies.dcbor]
version = "^0.24.1"
features = ["multithreaded"]

[dependencies.dcbor-parse]
version = "^0.9.0"

[dependencies.hex]
version = "^0.4.3"

[dependencies.known-values]
version = "^0.13.0"

[dependencies.logos]
version = "0.15.0"

[dependencies.regex]
version = "^1.11.1"

[dependencies.thiserror]
version = "^2.0"

[dev-dependencies.anyhow]
version = "^1.0.0"

[dev-dependencies.bc-rand]
version = "^0.5.0"

[dev-dependencies.hex-literal]
version = "^1.1.0"

[dev-dependencies.indoc]
version = "^2.0.0"
