2024-03-28 12:34:48 -04:00
|
|
|
[workspace]
|
|
|
|
resolver = "2"
|
2024-03-31 12:59:01 -04:00
|
|
|
exclude = [
|
2024-07-25 09:12:14 -04:00
|
|
|
"tests/test_exercises",
|
2024-03-31 20:11:52 -04:00
|
|
|
"dev",
|
2024-03-31 12:59:01 -04:00
|
|
|
]
|
2024-03-28 12:34:48 -04:00
|
|
|
|
|
|
|
[workspace.package]
|
2024-07-10 10:51:34 -04:00
|
|
|
version = "6.1.0"
|
2022-11-11 10:12:09 -05:00
|
|
|
authors = [
|
2024-07-31 12:53:25 -04:00
|
|
|
"Mo Bitar <mo8it@proton.me>", # https://github.com/mo8it
|
|
|
|
"Liv <mokou@fastmail.com>", # https://github.com/shadows-withal
|
2024-04-24 10:15:14 -04:00
|
|
|
# Alumni
|
2024-07-31 12:53:25 -04:00
|
|
|
"Carol (Nichols || Goulding) <carol.nichols@gmail.com>", # https://github.com/carols10cents
|
2022-11-11 10:12:09 -05:00
|
|
|
]
|
2024-04-24 10:15:14 -04:00
|
|
|
repository = "https://github.com/rust-lang/rustlings"
|
2024-03-28 12:34:48 -04:00
|
|
|
license = "MIT"
|
2024-08-01 13:14:09 -04:00
|
|
|
edition = "2021" # On Update: Update the edition of the `rustfmt` command that checks the solutions.
|
2024-08-02 10:40:06 -04:00
|
|
|
rust-version = "1.80"
|
2018-04-26 15:41:19 -04:00
|
|
|
|
2024-04-23 13:18:25 -04:00
|
|
|
[workspace.dependencies]
|
2024-07-10 07:27:32 -04:00
|
|
|
serde = { version = "1.0.204", features = ["derive"] }
|
2024-08-04 21:15:43 -04:00
|
|
|
toml_edit = { version = "0.22.20", default-features = false, features = ["parse", "serde"] }
|
2024-04-23 13:18:25 -04:00
|
|
|
|
2024-03-28 12:34:48 -04:00
|
|
|
[package]
|
|
|
|
name = "rustlings"
|
|
|
|
description = "Small exercises to get you used to reading and writing Rust code!"
|
|
|
|
version.workspace = true
|
|
|
|
authors.workspace = true
|
2024-04-24 10:15:14 -04:00
|
|
|
repository.workspace = true
|
2024-03-28 12:34:48 -04:00
|
|
|
license.workspace = true
|
|
|
|
edition.workspace = true
|
2024-08-02 10:40:06 -04:00
|
|
|
rust-version.workspace = true
|
2024-04-24 10:15:14 -04:00
|
|
|
keywords = [
|
|
|
|
"exercise",
|
|
|
|
"learning",
|
|
|
|
]
|
2024-04-15 21:56:08 -04:00
|
|
|
include = [
|
2024-04-25 13:58:55 -04:00
|
|
|
"/src/",
|
2024-04-15 21:56:08 -04:00
|
|
|
"/exercises/",
|
2024-04-25 13:58:55 -04:00
|
|
|
"/solutions/",
|
|
|
|
# A symlink to be able to include `dev/Cargo.toml` although `dev` is excluded.
|
|
|
|
"/dev-Cargo.toml",
|
2024-04-15 21:56:08 -04:00
|
|
|
"/README.md",
|
2024-04-25 13:58:55 -04:00
|
|
|
"/LICENSE",
|
2024-04-15 21:56:08 -04:00
|
|
|
]
|
2024-03-28 12:34:48 -04:00
|
|
|
|
2018-04-26 15:41:19 -04:00
|
|
|
[dependencies]
|
2024-08-07 19:23:58 -04:00
|
|
|
ahash = "0.8.11"
|
2024-05-20 12:11:19 -04:00
|
|
|
anyhow = "1.0.86"
|
2024-08-04 21:15:43 -04:00
|
|
|
clap = { version = "4.5.13", features = ["derive"] }
|
2024-04-26 22:32:06 -04:00
|
|
|
notify-debouncer-mini = { version = "0.4.1", default-features = false }
|
2024-08-04 21:15:43 -04:00
|
|
|
os_pipe = "1.2.1"
|
2024-06-26 10:59:13 -04:00
|
|
|
ratatui = { version = "0.27.0", default-features = false, features = ["crossterm"] }
|
2024-07-10 10:51:34 -04:00
|
|
|
rustlings-macros = { path = "rustlings-macros", version = "=6.1.0" }
|
2024-08-04 21:15:43 -04:00
|
|
|
serde_json = "1.0.122"
|
2024-04-23 13:18:25 -04:00
|
|
|
serde.workspace = true
|
|
|
|
toml_edit.workspace = true
|
2019-03-20 16:05:45 -04:00
|
|
|
|
2024-03-28 20:25:32 -04:00
|
|
|
[profile.release]
|
|
|
|
panic = "abort"
|
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
panic = "abort"
|
2024-04-25 13:02:07 -04:00
|
|
|
|
|
|
|
[package.metadata.release]
|
|
|
|
pre-release-hook = ["./release-hook.sh"]
|
2024-07-28 14:30:23 -04:00
|
|
|
|
|
|
|
# TODO: Remove after the following fix is released: https://github.com/rust-lang/rust-clippy/pull/13102
|
|
|
|
[lints.clippy]
|
|
|
|
needless_option_as_deref = "allow"
|