rustlings/Cargo.toml

87 lines
2.2 KiB
TOML
Raw Normal View History

2024-03-28 16:34:48 +00:00
[workspace]
resolver = "2"
2024-03-31 16:59:01 +00:00
exclude = [
2024-07-25 13:12:14 +00:00
"tests/test_exercises",
2024-04-01 00:11:52 +00:00
"dev",
2024-03-31 16:59:01 +00:00
]
2024-03-28 16:34:48 +00:00
[workspace.package]
2024-08-09 09:52:31 +00:00
version = "6.2.0"
2022-11-11 15:12:09 +00:00
authors = [
"Mo Bitar <mo8it@proton.me>", # https://github.com/mo8it
"Liv <mokou@fastmail.com>", # https://github.com/shadows-withal
2024-04-24 14:15:14 +00:00
# Alumni
"Carol (Nichols || Goulding) <carol.nichols@gmail.com>", # https://github.com/carols10cents
2022-11-11 15:12:09 +00:00
]
2024-04-24 14:15:14 +00:00
repository = "https://github.com/rust-lang/rustlings"
2024-03-28 16:34:48 +00:00
license = "MIT"
edition = "2021" # On Update: Update the edition of the `rustfmt` command that checks the solutions.
2024-08-02 14:40:06 +00:00
rust-version = "1.80"
2018-04-26 19:41:19 +00:00
[workspace.dependencies]
2024-08-17 14:57:58 +00:00
serde = { version = "1.0.208", features = ["derive"] }
2024-08-05 01:15:43 +00:00
toml_edit = { version = "0.22.20", default-features = false, features = ["parse", "serde"] }
2024-03-28 16:34:48 +00: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 14:15:14 +00:00
repository.workspace = true
2024-03-28 16:34:48 +00:00
license.workspace = true
edition.workspace = true
2024-08-02 14:40:06 +00:00
rust-version.workspace = true
2024-04-24 14:15:14 +00:00
keywords = [
"exercise",
"learning",
]
2024-04-16 01:56:08 +00:00
include = [
2024-04-25 17:58:55 +00:00
"/src/",
2024-04-16 01:56:08 +00:00
"/exercises/",
2024-04-25 17:58:55 +00:00
"/solutions/",
# A symlink to be able to include `dev/Cargo.toml` although `dev` is excluded.
"/dev-Cargo.toml",
2024-04-16 01:56:08 +00:00
"/README.md",
2024-04-25 17:58:55 +00:00
"/LICENSE",
2024-04-16 01:56:08 +00:00
]
2024-03-28 16:34:48 +00:00
2018-04-26 19:41:19 +00:00
[dependencies]
2024-08-08 21:46:21 +00:00
ahash = { version = "0.8.11", default-features = false }
2024-05-20 16:11:19 +00:00
anyhow = "1.0.86"
2024-08-17 14:57:58 +00:00
clap = { version = "4.5.16", features = ["derive"] }
2024-08-23 22:14:12 +00:00
crossterm = { version = "0.28.1", default-features = false, features = ["windows", "events"] }
2024-04-27 02:32:06 +00:00
notify-debouncer-mini = { version = "0.4.1", default-features = false }
2024-08-05 01:15:43 +00:00
os_pipe = "1.2.1"
2024-08-09 09:52:31 +00:00
rustlings-macros = { path = "rustlings-macros", version = "=6.2.0" }
2024-08-17 14:57:58 +00:00
serde_json = "1.0.125"
serde.workspace = true
toml_edit.workspace = true
2019-03-20 20:05:45 +00:00
2024-08-08 12:04:43 +00:00
[dev-dependencies]
tempfile = "3.12.0"
2024-03-29 00:25:32 +00:00
[profile.release]
panic = "abort"
[profile.dev]
panic = "abort"
2024-04-25 17:02:07 +00:00
[package.metadata.release]
pre-release-hook = ["./release-hook.sh"]
2024-07-28 18:30:23 +00:00
2024-08-15 22:15:33 +00:00
[workspace.lints.rust]
unsafe_code = "forbid"
unstable_features = "forbid"
[workspace.lints.clippy]
empty_loop = "forbid"
infinite_loop = "deny"
mem_forget = "deny"
dbg_macro = "warn"
todo = "warn"
2024-07-28 18:30:23 +00:00
# TODO: Remove after the following fix is released: https://github.com/rust-lang/rust-clippy/pull/13102
needless_option_as_deref = "allow"
2024-08-15 22:15:33 +00:00
[lints]
workspace = true