summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-04-04 23:16:57 +0200
committermo8it <mo8it@proton.me>2024-04-04 23:16:57 +0200
commit445441ce25ec8658bcdec6b2038d17e893a5903f (patch)
treeb930469e506939e69409587c778a0fc788f73728 /Cargo.toml
parent34375b2ebfbdb0b6504a56c82635c8c9d3d6ce59 (diff)
Make gen-dev-cargo-toml a separate package
so that `cargo install` only installs `rustlings`
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml14
1 files changed, 11 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 3c18741..d80550a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,6 +6,9 @@ exclude = [
"tests/fixture/success",
"dev",
]
+members = [
+ "gen-dev-cargo-toml",
+]
[workspace.package]
version = "6.0.0"
@@ -16,6 +19,11 @@ authors = [
license = "MIT"
edition = "2021"
+[workspace.dependencies]
+anyhow = "1.0.81"
+serde = { version = "1.0.197", features = ["derive"] }
+toml_edit = { version = "0.22.9", default-features = false, features = ["parse", "serde"] }
+
[package]
name = "rustlings"
description = "Small exercises to get you used to reading and writing Rust code!"
@@ -26,7 +34,7 @@ license.workspace = true
edition.workspace = true
[dependencies]
-anyhow = "1.0.81"
+anyhow.workspace = true
clap = { version = "4.5.4", features = ["derive"] }
console = "0.15.8"
crossterm = "0.27.0"
@@ -34,8 +42,8 @@ notify-debouncer-mini = "0.4.1"
ratatui = "0.26.1"
rustlings-macros = { path = "rustlings-macros" }
serde_json = "1.0.115"
-serde = { version = "1.0.197", features = ["derive"] }
-toml_edit = { version = "0.22.9", default-features = false, features = ["parse", "serde"] }
+serde.workspace = true
+toml_edit.workspace = true
which = "6.0.1"
winnow = "0.6.5"