[package]
edition = "2021"
rust-version = "1.89"
name = "domainforge-core"
version = "0.23.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 = [
"-Oz",
"--enable-mutable-globals",
"--enable-bulk-memory",
"--enable-nontrapping-float-to-int",
"--enable-sign-ext",
]
[features]
cli = [
"three_valued_logic",
"clap",
"colored",
"signing",
]
default = []
formatting = [
"icu_decimal",
"icu_locale_core",
"fixed_decimal",
]
json-schema = ["schemars"]
python = [
"pyo3",
"pythonize",
"signing",
]
shacl = ["oxigraph"]
signing = ["ed25519-dalek"]
three_valued_logic = []
typescript = [
"napi",
"napi-derive",
"signing",
]
wasm = [
"wasm-bindgen",
"serde-wasm-bindgen",
"uuid/js",
"lol_alloc",
]
wasm-projections = []
[lib]
name = "domainforge_core"
crate-type = [
"rlib",
"cdylib",
]
path = "src/lib.rs"
[[bin]]
name = "domainforge"
path = "src/bin/domainforge.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 = "ai_learning_tests"
path = "tests/ai_learning_tests.rs"
[[test]]
name = "application_canonical_tests"
path = "tests/application_canonical_tests.rs"
[[test]]
name = "application_compatibility_tests"
path = "tests/application_compatibility_tests.rs"
[[test]]
name = "application_contract_tests"
path = "tests/application_contract_tests.rs"
[[test]]
name = "application_cross_binding_golden_tests"
path = "tests/application_cross_binding_golden_tests.rs"
[[test]]
name = "application_diagnostic_tests"
path = "tests/application_diagnostic_tests.rs"
[[test]]
name = "application_field_semantics_tests"
path = "tests/application_field_semantics_tests.rs"
[[test]]
name = "application_identity_tests"
path = "tests/application_identity_tests.rs"
[[test]]
name = "application_parser_tests"
path = "tests/application_parser_tests.rs"
[[test]]
name = "application_policy_tests"
path = "tests/application_policy_tests.rs"
[[test]]
name = "application_public_types_tests"
path = "tests/application_public_types_tests.rs"
[[test]]
name = "application_schema_tests"
path = "tests/application_schema_tests.rs"
[[test]]
name = "archimate_projection_tests"
path = "tests/archimate_projection_tests.rs"
[[test]]
name = "array_literal_tests"
path = "tests/array_literal_tests.rs"
[[test]]
name = "asyncapi_spec_validation_tests"
path = "tests/asyncapi_spec_validation_tests.rs"
[[test]]
name = "authority_conformance_tests"
path = "tests/authority_conformance_tests.rs"
[[test]]
name = "baml_projection_tests"
path = "tests/baml_projection_tests.rs"
[[test]]
name = "bpmn_projection_tests"
path = "tests/bpmn_projection_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 = "cell_projection_tests"
path = "tests/cell_projection_tests.rs"
[[test]]
name = "cep_snapshot_world_tests"
path = "tests/cep_snapshot_world_tests.rs"
[[test]]
name = "cli_application_tests"
path = "tests/cli_application_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_module_closure_tests"
path = "tests/cli_module_closure_tests.rs"
[[test]]
name = "cli_path_traversal_tests"
path = "tests/cli_path_traversal_tests.rs"
[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"
[[test]]
name = "cmmn_projection_tests"
path = "tests/cmmn_projection_tests.rs"
[[test]]
name = "diagnostics_tests"
path = "tests/diagnostics_tests.rs"
[[test]]
name = "dimension_unit_tests"
path = "tests/dimension_unit_tests.rs"
[[test]]
name = "dspy_projection_tests"
path = "tests/dspy_projection_tests.rs"
[[test]]
name = "entity_instance_validation_tests"
path = "tests/entity_instance_validation_tests.rs"
[[test]]
name = "entity_tests"
path = "tests/entity_tests.rs"
[[test]]
name = "envelope_emit_tests"
path = "tests/envelope_emit_tests.rs"
[[test]]
name = "evaluate_tests"
path = "tests/evaluate_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 = "formatter_fidelity_tests"
path = "tests/formatter_fidelity_tests.rs"
[[test]]
name = "gen_ai_learning_fixture"
path = "tests/gen_ai_learning_fixture.rs"
[[test]]
name = "graph_integration_tests"
path = "tests/graph_integration_tests.rs"
[[test]]
name = "graph_operation_bound_policy_tests"
path = "tests/graph_operation_bound_policy_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 = "lean_projection_tests"
path = "tests/lean_projection_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 = "observed_debt_regression_tests"
path = "tests/observed_debt_regression_tests.rs"
[[test]]
name = "openshell_projection_tests"
path = "tests/openshell_projection_tests.rs"
[[test]]
name = "otel_projection_tests"
path = "tests/otel_projection_tests.rs"
[[test]]
name = "parser_ast_v3"
path = "tests/parser_ast_v3.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_resource_limits_tests"
path = "tests/parser_resource_limits_tests.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_arithmetic_where_tests"
path = "tests/policy_arithmetic_where_tests.rs"
[[test]]
name = "policy_entity_instance_tests"
path = "tests/policy_entity_instance_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_projection_tests"
path = "tests/rdf_projection_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 = "rego_projection_tests"
path = "tests/rego_projection_tests.rs"
[[test]]
name = "resource_tests"
path = "tests/resource_tests.rs"
[[test]]
name = "resource_unit_tests"
path = "tests/resource_unit_tests.rs"
[[test]]
name = "role_binding_tests"
path = "tests/role_binding_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 = "roundtrip_cell_tests"
path = "tests/roundtrip_cell_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 = "sbvr_parsing_tests"
path = "tests/sbvr_parsing_tests.rs"
[[test]]
name = "sea_forge_interaction_fixture_tests"
path = "tests/sea_forge_interaction_fixture_tests.rs"
[[test]]
name = "semantic_pack_alias_resolution"
path = "tests/semantic_pack_alias_resolution.rs"
[[test]]
name = "semantic_pack_build"
path = "tests/semantic_pack_build.rs"
[[test]]
name = "semantic_pack_compat_tests"
path = "tests/semantic_pack_compat_tests.rs"
[[test]]
name = "semantic_pack_consumer_smoke"
path = "tests/semantic_pack_consumer_smoke.rs"
[[test]]
name = "semantic_pack_pack_set"
path = "tests/semantic_pack_pack_set.rs"
[[test]]
name = "semantic_pack_signing"
path = "tests/semantic_pack_signing.rs"
[[test]]
name = "semantic_pack_three_valued"
path = "tests/semantic_pack_three_valued.rs"
[[test]]
name = "semantic_pack_validate"
path = "tests/semantic_pack_validate.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 = "timefmt_tests"
path = "tests/timefmt_tests.rs"
[[test]]
name = "timestamp_golden_tests"
path = "tests/timestamp_golden_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_instance_export_tests"
path = "tests/turtle_instance_export_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 = "typed_entity_instances_collection_tests"
path = "tests/typed_entity_instances_collection_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"
[[test]]
name = "world_ref_golden_tests"
path = "tests/world_ref_golden_tests.rs"
[[test]]
name = "world_ref_tests"
path = "tests/world_ref_tests.rs"
[[test]]
name = "zenml_projection_tests"
path = "tests/zenml_projection_tests.rs"
[dependencies.anyhow]
version = "1.0.100"
[dependencies.base64]
version = "=0.23"
[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true
[dependencies.colored]
version = "3.1"
optional = true
[dependencies.ed25519-dalek]
version = "=3.0.0"
features = ["pem"]
optional = true
[dependencies.fixed_decimal]
version = "0.7"
optional = true
[dependencies.globset]
version = "0.4"
[dependencies.globwalk]
version = "0.9"
[dependencies.hex]
version = "0.4"
[dependencies.icu_decimal]
version = "2.3"
optional = true
[dependencies.icu_locale_core]
version = "2.3"
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 = "3.10"
features = [
"async",
"dyn-symbols",
]
optional = true
[dependencies.napi-derive]
version = "3.5"
optional = true
[dependencies.once_cell]
version = "1.19"
[dependencies.oxigraph]
version = "0.5"
optional = true
[dependencies.percent-encoding]
version = "2.3.2"
[dependencies.pest]
version = "2.7"
[dependencies.pest_derive]
version = "2.7"
[dependencies.pyo3]
version = "0.29.0"
features = ["extension-module"]
optional = true
[dependencies.pythonize]
version = "0.29"
optional = true
[dependencies.regex]
version = "1.11"
features = [
"std",
"unicode",
]
default-features = false
[dependencies.roxmltree]
version = "0.21.1"
[dependencies.rust_decimal]
version = "1.33"
features = ["serde"]
[dependencies.rustc-hash]
version = "2.0"
[dependencies.schemars]
version = "1.2"
features = [
"rust_decimal1",
"indexmap2",
]
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde-saphyr]
version = "2.1"
features = ["serialize"]
default-features = false
[dependencies.serde-wasm-bindgen]
version = "0.6"
optional = true
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "=0.11"
[dependencies.thiserror]
version = "2.0"
[dependencies.time]
version = "0.3"
features = [
"std",
"large-dates",
"serde",
]
default-features = false
[dependencies.toml]
version = "1.1"
features = ["parse"]
[dependencies.unicode-normalization]
version = "0.1"
[dependencies.uuid]
version = "=1.29.2"
features = [
"v4",
"v5",
"v7",
"serde",
]
[dependencies.wasm-bindgen]
version = "0.2"
optional = true
[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh64"]
[dev-dependencies.serde-saphyr]
version = "2.1"
features = [
"serialize",
"deserialize",
]
default-features = false
[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.jsonschema]
version = "0.61"
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.predicates]
version = "3"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.proptest]
version = "1.0"
features = [
"std",
"bit-set",
]
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.roxmltree]
version = "0.21.1"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.rust_decimal_macros]
version = "1.33"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.schemars]
version = "1.2"
features = [
"rust_decimal1",
"indexmap2",
]
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tempfile]
version = "3.12"
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom_03]
version = "0.3"
features = ["wasm_js"]
package = "getrandom"
[target.'cfg(target_arch = "wasm32")'.dependencies.time]
version = "0.3"
features = [
"std",
"large-dates",
"serde",
"wasm-bindgen",
]
default-features = false