44 lines
850 B
TOML
44 lines
850 B
TOML
[package]
|
|
name = "vapora-shared"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
crate-type = ["rlib"]
|
|
|
|
[dependencies]
|
|
# Serialization
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
toml = { workspace = true }
|
|
|
|
# Error handling
|
|
thiserror = { workspace = true }
|
|
|
|
# Utilities
|
|
uuid = { workspace = true }
|
|
chrono = { workspace = true }
|
|
|
|
# Database (for error conversion) - optional for WASM
|
|
surrealdb = { workspace = true, optional = true }
|
|
|
|
# Logging
|
|
tracing = { workspace = true }
|
|
|
|
# Validation
|
|
regex = { workspace = true }
|
|
|
|
# Async runtime (for validation pipeline)
|
|
tokio = { workspace = true, features = ["process", "io-util"] }
|
|
|
|
[features]
|
|
default = ["backend"]
|
|
backend = ["surrealdb"]
|
|
|
|
[dev-dependencies]
|
|
# Testing
|