[package]
edition = "2024"
name = "type-bridge-orm"
version = "1.4.2"
authors = ["ds1sqe"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async ORM for TypeDB built on type-bridge-core-lib"
readme = false
license = "MIT"
repository = "https://github.com/ds1sqe/type-bridge"
[features]
default = ["typedb"]
derive = ["dep:type-bridge-orm-derive"]
typedb = [
"dep:typedb-driver",
"dep:futures",
]
[lib]
name = "type_bridge_orm"
path = "src/lib.rs"
[[bin]]
name = "type-bridge-codegen"
path = "src/bin/codegen.rs"
[[test]]
name = "derive_tests"
path = "tests/derive_tests.rs"
[[test]]
name = "entity_manager_tests"
path = "tests/entity_manager_tests.rs"
[[test]]
name = "error_handling_tests"
path = "tests/error_handling_tests.rs"
[[test]]
name = "hooks_tests"
path = "tests/hooks_tests.rs"
[[test]]
name = "include_schema_tests"
path = "tests/include_schema_tests.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "query_tests"
path = "tests/query_tests.rs"
[[test]]
name = "relation_hooks_tests"
path = "tests/relation_hooks_tests.rs"
[[test]]
name = "relation_manager_tests"
path = "tests/relation_manager_tests.rs"
[[test]]
name = "schema_tests"
path = "tests/schema_tests.rs"
[[test]]
name = "transaction_context_tests"
path = "tests/transaction_context_tests.rs"
[[bench]]
name = "query_building"
path = "benches/query_building.rs"
harness = false
[[bench]]
name = "serde"
path = "benches/serde.rs"
harness = false
[dependencies.futures]
version = "0.3"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.type-bridge-core-lib]
version = "1.4.2"
[dependencies.type-bridge-orm-derive]
version = "1.4.2"
optional = true
[dependencies.typedb-driver]
version = "3"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"test-util",
]
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(coverage_nightly)",
"cfg(coverage)",
]