Skip to content

Commit

Permalink
Removed box_pointers lint (#354)
Browse files Browse the repository at this point in the history
* Removed box_pointers lint

* Update test_util deps

* Updated vergen deps
  • Loading branch information
CraZySacX committed Jul 4, 2024
1 parent 9875094 commit fc80ed9
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions test_util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ unstable = []
repo = ["gix", "rand"]

[dependencies]
anyhow = { version = "1.0.79" }
anyhow = { version = "1.0.86" }
gix = { version = "0.63.0", default-features = false, features = [
"revision",
"worktree-mutation",
"blocking-network-client",
], optional = true}
lazy_static = "1.4.0"
lazy_static = "1.5.0"
rand = { version = "0.8.5", optional = true }
temp-env = "0.3.6"

[dev-dependencies]
serial_test = "3.0.0"
serial_test = "3.1.1"

[build-dependencies]
rustversion = "1.0.14"
rustversion = "1.0.17"
2 changes: 1 addition & 1 deletion test_util/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ the [`TestRepos`] struct to creat temporary git repositories useful for `vergen-
strict_provenance,
)
)]
#![cfg_attr(nightly, allow(box_pointers, single_use_lifetimes, unexpected_cfgs))]
#![cfg_attr(nightly, allow(single_use_lifetimes, unexpected_cfgs))]
#![cfg_attr(
nightly,
deny(
Expand Down
2 changes: 1 addition & 1 deletion vergen-git2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ let build = BuildBuilder::default().build_timestamp(true).build()?;"##
strict_provenance,
)
)]
#![cfg_attr(nightly, allow(box_pointers, single_use_lifetimes, unexpected_cfgs))]
#![cfg_attr(nightly, allow(single_use_lifetimes, unexpected_cfgs))]
#![cfg_attr(
nightly,
deny(
Expand Down
2 changes: 1 addition & 1 deletion vergen-gitcl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ let build = BuildBuilder::default().build_timestamp(true).build()?;"##
strict_provenance,
)
)]
#![cfg_attr(nightly, allow(box_pointers, single_use_lifetimes, unexpected_cfgs))]
#![cfg_attr(nightly, allow(single_use_lifetimes, unexpected_cfgs))]
#![cfg_attr(
nightly,
deny(
Expand Down
2 changes: 1 addition & 1 deletion vergen-gix/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ let build = BuildBuilder::default().build_timestamp(true).build()?;"##
strict_provenance,
)
)]
#![cfg_attr(nightly, allow(box_pointers, single_use_lifetimes, unexpected_cfgs))]
#![cfg_attr(nightly, allow(single_use_lifetimes, unexpected_cfgs))]
#![cfg_attr(
nightly,
deny(
Expand Down
2 changes: 1 addition & 1 deletion vergen-lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
strict_provenance,
)
)]
#![cfg_attr(nightly, allow(box_pointers, single_use_lifetimes, unexpected_cfgs))]
#![cfg_attr(nightly, allow(single_use_lifetimes, unexpected_cfgs))]
#![cfg_attr(
nightly,
deny(
Expand Down
2 changes: 1 addition & 1 deletion vergen-pretty/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ assert!(!buf.is_empty());
strict_provenance,
)
)]
#![cfg_attr(nightly, allow(box_pointers, single_use_lifetimes, unexpected_cfgs))]
#![cfg_attr(nightly, allow(single_use_lifetimes, unexpected_cfgs))]
#![cfg_attr(
nightly,
deny(
Expand Down
16 changes: 8 additions & 8 deletions vergen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,28 +33,28 @@ unstable = ["vergen-lib/unstable"]
emit_and_set = ["vergen-lib/emit_and_set"]

[dependencies]
anyhow = "1.0.79"
anyhow = "1.0.86"
cargo_metadata = { version = "0.18.1", optional = true }
derive_builder = "0.20.0"
getset = { version = "0.1.2", optional = true }
regex = { version = "1.10.3", optional = true }
regex = { version = "1.10.5", optional = true }
rustc_version = { version = "0.4.0", optional = true }
sysinfo = { version = "0.30.5", optional = true, default-features = false }
time = { version = "0.3.34", features = [
sysinfo = { version = "0.30.12", optional = true, default-features = false }
time = { version = "0.3.36", features = [
"formatting",
"local-offset",
"parsing",
], optional = true }
vergen-lib = { version = "0.1.0", path = "../vergen-lib" }

[build-dependencies]
rustversion = "1.0.14"
rustversion = "1.0.17"

[dev-dependencies]
lazy_static = "1.4.0"
regex = "1.9.1"
lazy_static = "1.5.0"
regex = "1.10.5"
test_util = { path = "../test_util", features = ["unstable"] }
serial_test = "3.0.0"
serial_test = "3.1.1"
temp-env = "0.3.6"

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion vergen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ let build = BuildBuilder::default().build_timestamp(true).build()?;"##
strict_provenance,
)
)]
#![cfg_attr(nightly, allow(box_pointers, single_use_lifetimes, unexpected_cfgs))]
#![cfg_attr(nightly, allow(single_use_lifetimes, unexpected_cfgs))]
#![cfg_attr(
nightly,
deny(
Expand Down

0 comments on commit fc80ed9

Please sign in to comment.