32 lines
773 B
TOML
32 lines
773 B
TOML
|
|
[package]
|
||
|
|
authors.workspace = true
|
||
|
|
description = "Shared SurrealDB connection pool and schema migrations for provisioning platform"
|
||
|
|
edition.workspace = true
|
||
|
|
name = "platform-db"
|
||
|
|
version.workspace = true
|
||
|
|
|
||
|
|
[dependencies]
|
||
|
|
surrealdb = { workspace = true }
|
||
|
|
tokio = { workspace = true }
|
||
|
|
tracing = { workspace = true }
|
||
|
|
thiserror = { workspace = true }
|
||
|
|
serde = { workspace = true }
|
||
|
|
serde_json = { workspace = true }
|
||
|
|
chrono = { workspace = true }
|
||
|
|
|
||
|
|
[features]
|
||
|
|
# Embedded RocksDB backend (for solo mode)
|
||
|
|
embedded = ["surrealdb/kv-rocksdb"]
|
||
|
|
# In-process memory backend (for tests)
|
||
|
|
memory = ["surrealdb/kv-mem"]
|
||
|
|
|
||
|
|
default = ["memory"]
|
||
|
|
|
||
|
|
[dev-dependencies]
|
||
|
|
tokio-test = { workspace = true }
|
||
|
|
tokio = { workspace = true, features = ["full"] }
|
||
|
|
|
||
|
|
[lib]
|
||
|
|
name = "platform_db"
|
||
|
|
path = "src/lib.rs"
|