Skip to content

Commit

Permalink
Don't include patch versions in Cargo.toml files
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Feb 7, 2024
1 parent f0c74df commit f5c873d
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 30 deletions.
8 changes: 4 additions & 4 deletions crate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ edition = "2021"
[dependencies]

[dev-dependencies]
assert_cmd = "2.0.13"
predicates = "3.1.0"
assert_cmd = "2.0"
predicates = "3.1"
similar-asserts = "1.5"
tempfile = "3.10.0"
toml = "0.8.10"
tempfile = "3.10"
toml = "0.8"

[package.metadata.rust-analyzer]
rustc_private = true
10 changes: 5 additions & 5 deletions lints/arbitrary_cpi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ path = "ui/secure/src/lib.rs"

[dependencies]
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "ac4c2094a6030530661bee3876e0228ddfeb6b8b" }
dylint_linting = "2.6.1"
if_chain = "1.0.2"
dylint_linting = "2.6"
if_chain = "1.0"
solana-lints = { path = "../../crate" }

[dev-dependencies]
anchor-lang = "0.29.0"
anchor-spl = "0.29.0"
dylint_testing = "2.6.1"
anchor-lang = "0.29"
anchor-spl = "0.29"
dylint_testing = "2.6"

[workspace]

Expand Down
8 changes: 4 additions & 4 deletions lints/bump_seed_canonicalization/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ path = "ui/insecure-3/src/lib.rs"

[dependencies]
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "ac4c2094a6030530661bee3876e0228ddfeb6b8b" }
dylint_linting = "2.6.1"
if_chain = "1.0.2"
dylint_linting = "2.6"
if_chain = "1.0"
solana-lints = { path = "../../crate" }

[dev-dependencies]
anchor-lang = "0.29.0"
dylint_testing = "2.6.1"
anchor-lang = "0.29"
dylint_testing = "2.6"

[workspace]

Expand Down
8 changes: 4 additions & 4 deletions lints/insecure_account_close/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ path = "ui/secure/src/lib.rs"

[dependencies]
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "ac4c2094a6030530661bee3876e0228ddfeb6b8b" }
dylint_linting = "2.6.1"
if_chain = "1.0.2"
dylint_linting = "2.6"
if_chain = "1.0"
solana-lints = { path = "../../crate" }

[dev-dependencies]
anchor-lang = "0.29.0"
dylint_testing = "2.6.1"
anchor-lang = "0.29"
dylint_testing = "2.6"

[workspace]

Expand Down
10 changes: 5 additions & 5 deletions lints/missing_owner_check/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ path = "ui/secure-program-id/src/lib.rs"

[dependencies]
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "ac4c2094a6030530661bee3876e0228ddfeb6b8b" }
dylint_linting = "2.6.1"
if_chain = "1.0.2"
dylint_linting = "2.6"
if_chain = "1.0"
solana-lints = { path = "../../crate" }

[dev-dependencies]
anchor-lang = "0.29.0"
anchor-spl = "0.29.0"
dylint_testing = "2.6.1"
anchor-lang = "0.29"
anchor-spl = "0.29"
dylint_testing = "2.6"

[workspace]

Expand Down
8 changes: 4 additions & 4 deletions lints/missing_signer_check/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ path = "ui/secure/src/lib.rs"

[dependencies]
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "ac4c2094a6030530661bee3876e0228ddfeb6b8b" }
dylint_linting = "2.6.1"
if_chain = "1.0.2"
dylint_linting = "2.6"
if_chain = "1.0"
solana-lints = { path = "../../crate" }

[dev-dependencies]
anchor-lang = "0.29.0"
dylint_testing = "2.6.1"
anchor-lang = "0.29"
dylint_testing = "2.6"

[workspace]

Expand Down
8 changes: 4 additions & 4 deletions lints/type_cosplay/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ path = "ui/secure-2/src/lib.rs"

[dependencies]
clippy_utils = { git = "https://github.com/rust-lang/rust-clippy", rev = "ac4c2094a6030530661bee3876e0228ddfeb6b8b" }
dylint_linting = "2.6.1"
if_chain = "1.0.2"
dylint_linting = "2.6"
if_chain = "1.0"
solana-lints = { path = "../../crate" }

[dev-dependencies]
anchor-lang = "0.29.0"
dylint_testing = "2.6.1"
anchor-lang = "0.29"
dylint_testing = "2.6"

[workspace]

Expand Down

0 comments on commit f5c873d

Please sign in to comment.