Skip to content

Commit

Permalink
Add missing rust-version in crates (#3009)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanPlasse committed Feb 19, 2023
1 parent 4d3d04e commit b75663b
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 12 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[workspace]
members = ["crates/*"]

[workspace.package]
edition = "2021"
rust-version = "1.65.0"

[workspace.dependencies]
anyhow = { version = "1.0.66" }
clap = { version = "4.0.1", features = ["derive"] }
Expand Down
3 changes: 2 additions & 1 deletion crates/flake8_to_ruff/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[package]
name = "flake8-to-ruff"
version = "0.0.247"
edition = "2021"
edition = { workspace = true }
rust-version = { workspace = true }

[dependencies]
anyhow = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/ruff/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "ruff"
version = "0.0.247"
authors = ["Charlie Marsh <charlie.r.marsh@gmail.com>"]
edition = "2021"
rust-version = "1.65.0"
edition = { workspace = true }
rust-version = { workspace = true }
documentation = "https://github.com/charliermarsh/ruff"
homepage = "https://github.com/charliermarsh/ruff"
repository = "https://github.com/charliermarsh/ruff"
Expand Down
4 changes: 2 additions & 2 deletions crates/ruff_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
name = "ruff_cli"
version = "0.0.247"
authors = ["Charlie Marsh <charlie.r.marsh@gmail.com>"]
edition = "2021"
rust-version = "1.65.0"
edition = { workspace = true }
rust-version = { workspace = true }
documentation = "https://github.com/charliermarsh/ruff"
homepage = "https://github.com/charliermarsh/ruff"
repository = "https://github.com/charliermarsh/ruff"
Expand Down
3 changes: 2 additions & 1 deletion crates/ruff_dev/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
name = "ruff_dev"
version = "0.0.0"
publish = false
edition = "2021"
edition = { workspace = true }
rust-version = { workspace = true }

[dependencies]
anyhow = { workspace = true }
Expand Down
3 changes: 2 additions & 1 deletion crates/ruff_formatter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
name = "ruff_formatter"
version = "0.0.0"
publish = false
edition = "2021"
edition = { workspace = true }
rust-version = { workspace = true }

[dependencies]
drop_bomb = { version = "0.1.5" }
Expand Down
3 changes: 2 additions & 1 deletion crates/ruff_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
name = "ruff_macros"
version = "0.0.0"
publish = false
edition = "2021"
edition = { workspace = true }
rust-version = { workspace = true }

[lib]
proc-macro = true
Expand Down
5 changes: 3 additions & 2 deletions crates/ruff_python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
name = "ruff_python"
version = "0.0.0"
publish = false
edition = "2021"
edition = { workspace = true }
rust-version = { workspace = true }

[lib]

[dependencies]
once_cell = {workspace = true}
once_cell = { workspace = true }
regex = { workspace = true }
rustc-hash = { workspace = true }
3 changes: 2 additions & 1 deletion crates/ruff_python_formatter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
name = "ruff_python_formatter"
version = "0.0.0"
publish = false
edition = "2021"
edition = { workspace = true }
rust-version = { workspace = true }

[dependencies]
anyhow = { workspace = true }
Expand Down
3 changes: 2 additions & 1 deletion crates/ruff_text_size/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
name = "ruff_text_size"
version = "0.0.0"
publish = false
edition = "2021"
edition = { workspace = true }
rust-version = { workspace = true }

[dependencies]
serde = { version = "1.0", optional = true, default_features = false }
Expand Down

0 comments on commit b75663b

Please sign in to comment.