Skip to content

Commit 12ac17a

Browse files
authored
Merge pull request #29 from DataDog/chore/chore-0.1.3
chore: Bump toolchain and pre-release for 0.1.3
2 parents 82c9dfb + f1f19a4 commit 12ac17a

File tree

14 files changed

+24
-27
lines changed

14 files changed

+24
-27
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ exclude = ["test_app"]
99

1010
[package]
1111
name = "cargo_pup"
12-
version = "0.1.2"
12+
version = "0.1.3"
1313
edition = "2024"
1414
description = "A Rust architectural linting tool that integrates with rustc to enforce architectural patterns and boundaries"
1515
license = "Apache-2.0"
@@ -34,9 +34,9 @@ anyhow = { workspace = true }
3434
tempfile = { workspace = true }
3535
ron = { workspace = true }
3636
cargo_metadata = { workspace = true }
37-
cargo_pup_common = { path = "cargo_pup_common", version = "=0.1.2" }
38-
cargo_pup_lint_impl = { path = "cargo_pup_lint_impl", version = "=0.1.2" }
39-
cargo_pup_lint_config = { path = "cargo_pup_lint_config", version = "=0.1.2" }
37+
cargo_pup_common = { path = "cargo_pup_common", version = "=0.1.3" }
38+
cargo_pup_lint_impl = { path = "cargo_pup_lint_impl", version = "=0.1.3" }
39+
cargo_pup_lint_config = { path = "cargo_pup_lint_config", version = "=0.1.3" }
4040

4141
#
4242
# These bits are just to keep rust rover happy.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ First, make sure to install [rustup](https://rustup.rs/) to manage your local ru
2121

2222
Then install pup; **you must use this nightly toolchain, as pup depends on compiler internals that are otherwise unavailable!**
2323
```bash
24-
cargo +nightly-2025-05-31 install cargo_pup
24+
cargo +nightly-2025-07-25 install cargo_pup
2525
```
2626

2727
## Getting Started
@@ -120,7 +120,7 @@ First, add the following to your `Cargo.toml`:
120120
121121
```toml
122122
[dev-dependencies]
123-
cargo_pup_lint_config = "0.1.2"
123+
cargo_pup_lint_config = "0.1.3"
124124
```
125125
126126
## Examples

cargo_pup_common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo_pup_common"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
edition = "2024"
55
description = "Common utilities and shared components for cargo-pup architectural linting tool"
66
license = "Apache-2.0"

cargo_pup_lint_config/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo_pup_lint_config"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
edition = "2024"
55
description = "Configuration and rule builder utilities for cargo-pup architectural linting"
66
license = "Apache-2.0"
@@ -13,4 +13,4 @@ serde.workspace = true
1313
ron.workspace = true
1414
tempfile.workspace = true
1515
anyhow.workspace = true
16-
cargo_pup_common = { path = "../cargo_pup_common", version = "=0.1.2" }
16+
cargo_pup_common = { path = "../cargo_pup_common", version = "=0.1.3" }

cargo_pup_lint_config/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Add this to your `Cargo.toml`:
2424

2525
```toml
2626
[dev-dependencies]
27-
cargo_pup_lint_config = "0.1.2"
27+
cargo_pup_lint_config = "0.1.3"
2828
```
2929

3030
## Example

cargo_pup_lint_config/src/module_lint/builder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ use crate::{ConfiguredLint, Severity};
88
/// Extension trait that adds module linting capabilities to LintBuilder
99
pub trait ModuleLintExt {
1010
/// Start building a module lint rule
11-
fn module_lint(&mut self) -> ModuleLintBuilder;
11+
fn module_lint(&mut self) -> ModuleLintBuilder<'_>;
1212
}
1313

1414
impl ModuleLintExt for LintBuilder {
15-
fn module_lint(&mut self) -> ModuleLintBuilder {
15+
fn module_lint(&mut self) -> ModuleLintBuilder<'_> {
1616
ModuleLintBuilder { parent: self }
1717
}
1818
}

cargo_pup_lint_config/src/struct_lint/builder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ use crate::{ConfiguredLint, Severity};
88
/// Extension trait that adds struct linting capabilities to LintBuilder
99
pub trait StructLintExt {
1010
/// Start building a struct lint rule
11-
fn struct_lint(&mut self) -> StructLintBuilder;
11+
fn struct_lint(&mut self) -> StructLintBuilder<'_>;
1212
}
1313

1414
impl StructLintExt for LintBuilder {
15-
fn struct_lint(&mut self) -> StructLintBuilder {
15+
fn struct_lint(&mut self) -> StructLintBuilder<'_> {
1616
StructLintBuilder { parent: self }
1717
}
1818
}

cargo_pup_lint_impl/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo_pup_lint_impl"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
edition = "2024"
55
description = "Core lint implementations and rustc integration for cargo-pup architectural linting"
66
license = "Apache-2.0"
@@ -9,8 +9,8 @@ homepage = "https://github.com/datadog/cargo-pup"
99
readme = "README.md"
1010

1111
[dependencies]
12-
cargo_pup_lint_config = { path = "../cargo_pup_lint_config", version = "=0.1.2" }
13-
cargo_pup_common = { path = "../cargo_pup_common", version = "=0.1.2" }
12+
cargo_pup_lint_config = { path = "../cargo_pup_lint_config", version = "=0.1.3" }
13+
cargo_pup_common = { path = "../cargo_pup_common", version = "=0.1.3" }
1414
anyhow.workspace = true
1515
regex.workspace = true
1616
serde_json.workspace = true

cargo_pup_lint_impl/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#![feature(rustc_private)]
22
// This product includes software developed at Datadog (https://www.datadoghq.com/) Copyright 2024 Datadog, Inc.
3-
#![feature(let_chains)]
43
#![feature(array_windows)]
54
#![feature(try_blocks)]
65

0 commit comments

Comments
 (0)