# 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 = "2021"
rust-version = "1.77"
name = "sea-core"
version = "0.5.0"
authors = ["DomainForge Contributors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust core library implementing the SEA DSL primitives and validation engine."
homepage = "https://github.com/GodSpeedAI/DomainForge"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/GodSpeedAI/DomainForge"

[package.metadata.wasm-pack.profile.release]
wasm-opt = false

[features]
cli = [
    "three_valued_logic",
    "clap",
    "colored",
]
default = []
formatting = [
    "icu_decimal",
    "icu_locid",
    "fixed_decimal",
]
python = [
    "pyo3",
    "pythonize",
]
shacl = ["oxigraph"]
three_valued_logic = []
typescript = [
    "napi",
    "napi-derive",
]
wasm = [
    "wasm-bindgen",
    "serde-wasm-bindgen",
    "uuid/js",
    "lol_alloc",
]

[lib]
name = "sea_core"
crate-type = [
    "rlib",
    "cdylib",
]
path = "src/lib.rs"

[[bin]]
name = "sea"
path = "src/bin/sea.rs"
required-features = ["cli"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0.100"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true

[dependencies.colored]
version = "2.0"
optional = true

[dependencies.fixed_decimal]
version = "0.5"
optional = true

[dependencies.globset]
version = "0.4"

[dependencies.globwalk]
version = "0.9"

[dependencies.icu_decimal]
version = "1.5"
optional = true

[dependencies.icu_locid]
version = "1.5"
optional = true

[dependencies.indexmap]
version = "2.0"
features = ["serde"]

[dependencies.log]
version = "0.4.21"

[dependencies.lol_alloc]
version = "0.4"
optional = true

[dependencies.napi]
version = "2.16"
features = [
    "async",
    "dyn-symbols",
]
optional = true

[dependencies.napi-derive]
version = "2.16"
optional = true

[dependencies.once_cell]
version = "1.19"

[dependencies.oxigraph]
version = "0.3"
optional = true

[dependencies.percent-encoding]
version = "2.3.2"

[dependencies.pest]
version = "2.7"

[dependencies.pest_derive]
version = "2.7"

[dependencies.pyo3]
version = "0.24.1"
features = ["extension-module"]
optional = true

[dependencies.pythonize]
version = "0.24"
optional = true

[dependencies.regex]
version = "1.11"

[dependencies.roxmltree]
version = "0.21.1"

[dependencies.rust_decimal]
version = "1.33"
features = ["serde"]

[dependencies.rustc-hash]
version = "2.0"

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

[dependencies.serde-wasm-bindgen]
version = "0.6"
optional = true

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.toml]
version = "0.8"
features = ["parse"]

[dependencies.uuid]
version = "=1.8.0"
features = [
    "v4",
    "v5",
    "v7",
    "serde",
]

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh64"]

[dev-dependencies.jsonschema]
version = "0.18"

[dev-dependencies.proptest]
version = "1.0"
features = [
    "std",
    "bit-set",
]

[dev-dependencies.roxmltree]
version = "0.21.1"

[dev-dependencies.rust_decimal_macros]
version = "1.33"

[dev-dependencies.wasm-bindgen-test]
version = "0.3"

[build-dependencies.napi-build]
version = "2.1"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.assert_cmd]
version = "2.0"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.predicates]
version = "3"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tempfile]
version = "3.12"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.3"
features = ["wasm_js"]
