[package] name = "common" version = "0.1.0" edition = "2021" [lib] crate-type = ["cdylib", "rlib"] [features] default = [] worldgen = ["db", "dep:triangle"] db = ["dep:prisma-client-rust"] [dependencies] triangle = { path = "../triangle", optional = true } anyhow = "1.0.76" chrono = "0.4.31" colourado = "0.2.0" names = "0.14.0" petgraph = "0.6.4" rand = "0.8.5" rand_chacha = "0.3.1" # rspc = { version = "0.1.3", features = ["axum"] } serde = { version = "1.0.193", features = ["derive"] } serde_json = "1.0.108" # tokio = { version = "1.35.1", features = ["full"] } getrandom = { version = "0.2.11", features = ["js"] } [dependencies.prisma-client-rust] git = "https://github.com/Brendonovich/prisma-client-rust" tag = "0.6.10" features = ["rspc"] optional = true