aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2024-08-07 07:39:16 -0400
committerNathan Perry <np@nathanperry.dev>2024-08-07 07:39:16 -0400
commitb58b03c22d637fe8f7200edb6953325bf359544d (patch)
tree606865b7afc4498b02da14895723b2b0ed49760e /Cargo.toml
parent96c197bde0f83d8b99ec66238856c76b41bfd5e1 (diff)
split calc into separate subcrate
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml29
1 files changed, 21 insertions, 8 deletions
diff --git a/Cargo.toml b/Cargo.toml
index a4037c8..3c8d901 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,8 +1,17 @@
+[workspace]
+members = [
+ "calc"
+]
+
+[workspace.package]
+authors = ["Nathan Perry <np@npry.dev>"]
+edition = "2021"
+
[package]
name = "thulani"
version = "0.3.1"
-authors = ["Nathan Perry <np@npry.dev>"]
-edition = "2021"
+edition.workspace = true
+authors.workspace = true
default-run = "thulani"
[[bin]]
@@ -14,8 +23,17 @@ default = ["db", "games"]
db = ["dep:diesel", "dep:diesel-async", "dep:diesel_async_migrations", "dep:tokio-postgres", "dep:deadpool-postgres"]
games = []
-[dependencies]
+[workspace.dependencies]
lazy_static = "1.4"
+rand = "0.8"
+
+thulani_calc.path = "calc"
+
+[dependencies]
+lazy_static.workspace = true
+rand.workspace = true
+thulani_calc.workspace = true
+
anyhow = "1.0"
thiserror = "1.0"
log = "0.4"
@@ -24,7 +42,6 @@ dotenv = "0.15"
chrono = "0.4"
time = "0.3"
fern = { version = "0.6", features = ["colored"] }
-rand = "0.8"
reqwest = { version = "0.11", features = ["json"] }
sha1 = { version = "0.10", features = ["std"] }
regex = "1.10"
@@ -32,14 +49,10 @@ itertools = "0.12"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
timeago = "0.4"
-statrs = "0.16"
fnv = "1.0"
clap = { version = "4.5", features = ["derive"] }
-pest = "2.7"
-pest_derive = "2.7"
-
envconfig = "0.10"
envconfig_derive = "0.10"