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 6, 2024
1 parent 36ff1ff commit c3b84ea
Show file tree
Hide file tree
Showing 38 changed files with 70 additions and 70 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
2 changes: 1 addition & 1 deletion lints/arbitrary_cpi/ui/insecure-2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
4 changes: 2 additions & 2 deletions lints/arbitrary_cpi/ui/insecure/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-spl = "0.29.0"
anchor-lang = "0.29"
anchor-spl = "0.29"

[workspace]
4 changes: 2 additions & 2 deletions lints/arbitrary_cpi/ui/recommended/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-spl = "0.29.0"
anchor-lang = "0.29"
anchor-spl = "0.29"

[workspace]
4 changes: 2 additions & 2 deletions lints/arbitrary_cpi/ui/secure/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-spl = "0.29.0"
anchor-lang = "0.29"
anchor-spl = "0.29"

[workspace]
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
2 changes: 1 addition & 1 deletion lints/bump_seed_canonicalization/ui/insecure-2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
2 changes: 1 addition & 1 deletion lints/bump_seed_canonicalization/ui/insecure-3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
2 changes: 1 addition & 1 deletion lints/bump_seed_canonicalization/ui/insecure/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
2 changes: 1 addition & 1 deletion lints/bump_seed_canonicalization/ui/recommended/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
2 changes: 1 addition & 1 deletion lints/bump_seed_canonicalization/ui/secure/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
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
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
2 changes: 1 addition & 1 deletion lints/insecure_account_close/ui/insecure-still/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
2 changes: 1 addition & 1 deletion lints/insecure_account_close/ui/insecure/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
2 changes: 1 addition & 1 deletion lints/insecure_account_close/ui/recommended/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
2 changes: 1 addition & 1 deletion lints/insecure_account_close/ui/secure/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
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
4 changes: 2 additions & 2 deletions lints/missing_owner_check/ui/insecure/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-spl = "0.29.0"
anchor-lang = "0.29"
anchor-spl = "0.29"

[workspace]
4 changes: 2 additions & 2 deletions lints/missing_owner_check/ui/recommended/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-spl = "0.29.0"
anchor-lang = "0.29"
anchor-spl = "0.29"

[workspace]
4 changes: 2 additions & 2 deletions lints/missing_owner_check/ui/secure-account-owner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-spl = "0.29.0"
anchor-lang = "0.29"
anchor-spl = "0.29"

[workspace]
4 changes: 2 additions & 2 deletions lints/missing_owner_check/ui/secure-fixed/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-spl = "0.29.0"
anchor-lang = "0.29"
anchor-spl = "0.29"

[workspace]
4 changes: 2 additions & 2 deletions lints/missing_owner_check/ui/secure-program-id/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-spl = "0.29.0"
anchor-lang = "0.29"
anchor-spl = "0.29"

[workspace]
4 changes: 2 additions & 2 deletions lints/missing_owner_check/ui/secure/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-spl = "0.29.0"
anchor-lang = "0.29"
anchor-spl = "0.29"

[workspace]
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
2 changes: 1 addition & 1 deletion lints/missing_signer_check/ui/insecure/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
2 changes: 1 addition & 1 deletion lints/missing_signer_check/ui/recommended/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
2 changes: 1 addition & 1 deletion lints/missing_signer_check/ui/secure/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
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
2 changes: 1 addition & 1 deletion lints/type_cosplay/ui/insecure-2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
2 changes: 1 addition & 1 deletion lints/type_cosplay/ui/insecure-3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
2 changes: 1 addition & 1 deletion lints/type_cosplay/ui/insecure-anchor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ default = []
[workspace]

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"
2 changes: 1 addition & 1 deletion lints/type_cosplay/ui/insecure/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
2 changes: 1 addition & 1 deletion lints/type_cosplay/ui/recommended-2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
2 changes: 1 addition & 1 deletion lints/type_cosplay/ui/recommended/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
2 changes: 1 addition & 1 deletion lints/type_cosplay/ui/secure-2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]
2 changes: 1 addition & 1 deletion lints/type_cosplay/ui/secure/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ cpi = ["no-entrypoint"]
default = []

[dependencies]
anchor-lang = "0.29.0"
anchor-lang = "0.29"

[workspace]

0 comments on commit c3b84ea

Please sign in to comment.