38 lines
700 B
TOML
38 lines
700 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 }
|
||
|
|
|
||
|
|
[features]
|
||
|
|
default = ["backend"]
|
||
|
|
backend = ["surrealdb"]
|
||
|
|
|
||
|
|
[dev-dependencies]
|
||
|
|
# Testing
|