data-modelling-core 2.0.4

Core SDK library for model operations across platforms
Documentation
[[bench]]
harness = false
name = "import_bench"
path = "benches/import_bench.rs"

[[bench]]
harness = false
name = "inference_bench"
path = "benches/inference_bench.rs"
required-features = ["inference"]

[[bench]]
harness = false
name = "staging_benchmark"
path = "benches/staging_benchmark.rs"
required-features = ["staging"]

[dependencies.anyhow]
version = "1.0"

[dependencies.arrow]
optional = true
version = "55"

[dependencies.async-trait]
version = "0.1"

[dependencies.aws-config]
optional = true
version = "1.5"

[dependencies.aws-credential-types]
optional = true
version = "1.2"

[dependencies.aws-sdk-s3]
optional = true
version = "1.65"

[dependencies.base64]
version = "0.22"

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

[dependencies.datafusion]
default-features = false
features = []
optional = true
version = "45"

[dependencies.deadpool-postgres]
optional = true
version = "0.14"

[dependencies.duckdb]
features = ["bundled"]
optional = true
version = "1.4"

[dependencies.git2]
optional = true
version = "0.19"

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

[dependencies.iceberg]
optional = true
version = "0.7"

[dependencies.iceberg-catalog-glue]
optional = true
version = "0.7"

[dependencies.iceberg-catalog-rest]
optional = true
version = "0.7"

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

[dependencies.imageproc]
optional = true
version = "0.23"

[dependencies.indicatif]
optional = true
version = "0.17"

[dependencies.js-sys]
optional = true
version = "0.3"

[dependencies.jsonschema]
default-features = false
optional = true
version = "0.38.1"

[dependencies.llama-cpp-2]
optional = true
version = "0.1"

[dependencies.once_cell]
version = "1.19"

[dependencies.parquet]
features = ["async"]
optional = true
version = "55"

[dependencies.petgraph]
version = "0.6"

[dependencies.quick-xml]
features = ["serialize"]
optional = true
version = "0.36"

[dependencies.rayon]
optional = true
version = "1.10"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
default-features = false
features = ["json", "native-tls", "cookies", "blocking"]
optional = true
version = "0.12"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
optional = true
version = "0.10"

[dependencies.sqlparser]
version = "0.60"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
features = ["fs", "rt-multi-thread"]
optional = true
version = "1"

[dependencies.tokio-postgres]
optional = true
version = "0.7"

[dependencies.toml]
optional = true
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.urlencoding]
optional = true
version = "2.1"

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

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

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

[dependencies.web-sys]
features = ["IdbDatabase", "IdbFactory", "IdbObjectStore", "IdbRequest", "IdbTransaction", "IdbTransactionMode", "IdbOpenDbRequest", "IdbVersionChangeEvent", "Window", "Storage", "console"]
optional = true
version = "0.3"

[dependencies.yaml-rust]
version = "0.4"

[dependencies.zip]
default-features = false
features = ["deflate"]
optional = true
version = "2.2"

[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
features = ["full"]
version = "1"

[features]
api-backend = ["reqwest", "urlencoding"]
bpmn = ["quick-xml"]
database = ["toml", "sha2"]
databricks = ["staging", "reqwest", "urlencoding"]
databricks-dialect = ["datafusion"]
default = ["api-backend"]
dmn = ["quick-xml"]
duckdb-backend = ["database", "duckdb", "native-fs"]
git = ["git2"]
iceberg = ["dep:iceberg", "iceberg-catalog-rest", "tokio", "arrow", "parquet"]
iceberg-glue = ["iceberg", "iceberg-catalog-glue"]
inference = []
llm = ["tokio", "zip"]
llm-offline = ["llm", "llama-cpp-2"]
llm-online = ["llm", "reqwest"]
mapping = ["inference"]
native-fs = ["tokio"]
odps-validation = ["schema-validation"]
openapi = []
pipeline = ["staging", "inference", "mapping"]
png-export = ["image", "imageproc"]
postgres-backend = ["database", "tokio-postgres", "deadpool-postgres", "native-fs"]
s3 = ["staging", "aws-config", "aws-sdk-s3", "aws-credential-types"]
schema-validation = ["jsonschema"]
staging = ["duckdb-backend", "glob", "sha2", "rayon", "indicatif"]
staging-postgres = ["postgres-backend", "glob", "sha2", "rayon", "indicatif"]
wasm = ["wasm-bindgen", "wasm-bindgen-futures", "web-sys", "js-sys"]

[lib]
crate-type = ["rlib"]
name = "data_modelling_core"
path = "src/lib.rs"

[package]
authors = ["Mark Olliver"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Core SDK library for model operations across platforms"
edition = "2024"
license = "MIT"
name = "data-modelling-core"
readme = false
repository = "https://github.com/OffeneDatenmodellierung/data-modelling-sdk"
resolver = "2"
version = "2.0.4"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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