Skip to content

Commit e611526

Browse files
authored
Update dependencies and alternatives docs (#253)
1 parent 1bb2fb3 commit e611526

File tree

8 files changed

+28
-84
lines changed

8 files changed

+28
-84
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ jobs:
180180
- uses: actions/checkout@v4
181181
- uses: actions-rust-lang/setup-rust-toolchain@v1
182182
with:
183-
toolchain: nightly-2024-10-30
183+
toolchain: nightly-2025-02-28
184184
components: miri, rust-src
185185

186186
- run: |

Cargo.lock

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

bon-cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ workspace = true
2121

2222
[dependencies]
2323
anyhow = "1.0"
24-
ra_ap_parser = "=0.0.241"
25-
ra_ap_syntax = "=0.0.241"
24+
ra_ap_parser = "=0.0.268"
25+
ra_ap_syntax = "=0.0.268"
2626
walkdir = "2.5"

bon-sandbox/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ targets = ["x86_64-unknown-linux-gnu"]
2929
workspace = true
3030

3131
[dependencies]
32-
buildstructor = "0.5"
32+
buildstructor = "0.6"
3333
derive_builder = "0.20"
3434
typed-builder = "0.20"
3535

bon-sandbox/src/docs_comparison/methods.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,8 @@ pub mod bon {
2929
}
3030

3131
/// Example docs generated with `buildstructor`
32+
// This lint comes from buildstructor-generated code
3233
#[expect(elided_lifetimes_in_paths)]
33-
// `buildstructor` generates a `#[cfg_attr(feature = "cargo-clippy", ...)]`,
34-
// which is not known to rustc. This lint comes from `nightly` at the time
35-
// of this writing, so using `allow` for now instead of `expect`
36-
#[allow(unexpected_cfgs)]
3734
pub mod buildstructor {
3835

3936
/// Doc comment on `Struct`

bon-sandbox/src/docs_comparison/structs.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ pub mod bon {
2020
}
2121

2222
/// Example docs generated with `buildstructor`
23-
// `buildstructor` generates a `#[cfg_attr(feature = "cargo-clippy", ...)]`,
24-
// which is not known to rustc. This lint comes from `nightly` at the time
25-
// of this writing, so using `allow` for now instead of `expect`
26-
#[allow(unexpected_cfgs)]
2723
pub mod buildstructor {
2824
/// Doc comment on `Struct`
2925
#[derive(buildstructor::Builder)]

website/doctests/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ workspace = true
1414
[dev-dependencies]
1515
anyhow = "1.0"
1616
bon = { path = "../../bon", features = ["experimental-overwritable", "implied-bounds"] }
17-
buildstructor = "0.5"
17+
buildstructor = "0.6"
1818
macro_rules_attribute = "0.2"
1919
typed-builder = "0.20"
2020

2121
[build-dependencies]
22-
itertools = "0.13"
22+
itertools = "0.14"
2323
lazy-regex = "3.3"
2424
walkdir = "2.5"

website/src/guide/alternatives.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ There are several other existing alternative crates for generating builders. `bo
3535
| Special setters for collections | [(see below)][collections] || ||
3636
| Builder by `&self`/`&mut self` | | | ||
3737
| [Generates nice docs][gen-docs-cmp] || | ||
38+
| Getters on the builder || | ||
3839

3940
</div>
4041

0 commit comments

Comments
 (0)