summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorMo <76752051+mo8it@users.noreply.github.com>2024-04-04 15:48:07 +0200
committerGitHub <noreply@github.com>2024-04-04 15:48:07 +0200
commit8c8f30d8ce3b732de649938d8945496bd769ac22 (patch)
tree3679a78e468872f05cec1de4e489acbbc08a11a8 /Cargo.toml
parent459c52137ac7b8aa8500a46f04b0e848ba48a969 (diff)
parentb6c434c445d91a9e886e5639b078635e5eca4eb3 (diff)
Merge pull request #1931 from mo8it/standalone-binary
Standalone binary
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml36
1 files changed, 28 insertions, 8 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 2d152cf..86187b4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,19 +1,37 @@
-[package]
-name = "rustlings"
-description = "Small exercises to get you used to reading and writing Rust code!"
-version = "5.6.1"
+[workspace]
+resolver = "2"
+exclude = [
+ "tests/fixture/failure",
+ "tests/fixture/state",
+ "tests/fixture/success",
+ "dev",
+]
+
+[workspace.package]
+version = "6.0.0"
authors = [
"Liv <mokou@fastmail.com>",
"Carol (Nichols || Goulding) <carol.nichols@gmail.com>",
]
+license = "MIT"
edition = "2021"
+[package]
+name = "rustlings"
+description = "Small exercises to get you used to reading and writing Rust code!"
+default-run = "rustlings"
+version.workspace = true
+authors.workspace = true
+license.workspace = true
+edition.workspace = true
+
[dependencies]
anyhow = "1.0.81"
clap = { version = "4.5.4", features = ["derive"] }
console = "0.15.8"
indicatif = "0.17.8"
notify-debouncer-mini = "0.4.1"
+rustlings-macros = { path = "rustlings-macros" }
serde_json = "1.0.115"
serde = { version = "1.0.197", features = ["derive"] }
shlex = "1.3.0"
@@ -21,11 +39,13 @@ toml_edit = { version = "0.22.9", default-features = false, features = ["parse",
which = "6.0.1"
winnow = "0.6.5"
-[[bin]]
-name = "rustlings"
-path = "src/main.rs"
-
[dev-dependencies]
assert_cmd = "2.0.14"
glob = "0.3.0"
predicates = "3.1.0"
+
+[profile.release]
+panic = "abort"
+
+[profile.dev]
+panic = "abort"