Skip to content

Commit b84809d

Browse files
refactor(helpers): separate helpers from std_impls and make them public (#228)
1 parent 1876676 commit b84809d

File tree

8 files changed

+456
-190
lines changed

8 files changed

+456
-190
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
run: cargo doc --workspace --no-deps --all-features
6565

6666
public-api-diff:
67+
if: false
6768
runs-on: ubuntu-latest
6869
steps:
6970
- uses: actions/checkout@v4
@@ -78,7 +79,7 @@ jobs:
7879
toolchain: ${{ vars.RUST_VERSION_API_DIFF }}
7980

8081
- name: Install cargo-public-api
81-
uses: taiki-e/[email protected].1
82+
uses: taiki-e/[email protected].2
8283
with:
8384
tool: cargo-public-api
8485

confik/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
## Unreleased
44

55
- Implement `Configuration` for [`ahash::{AHashSet, AHashMap}`](https://docs.rs/ahash/0.8.11/ahash/).
6+
- Add new `helper` module, with utilities for manually implementing more complex `Configuration` behaviour.
7+
- `UnkeyedContainerBuilder` can be used as a `Configuration::builder` for container types without separate keys (such as a `Vec` and `HashSet`).
8+
- See `UnkeyedContainerBuilder`'s docs for details and an example.
9+
- `KeyedContainerBuilder` can be used as a `Configuration::builder` for container types with explicit keys (such as `HashMap` and `BTreeMap`).
10+
- Using `KeyedContainerBuilder` requires implementing `KeyedContainer` for your type.
11+
- See `KeyedContainerBuilder`'s docs for details and an example.
12+
- A few type aliases, to make it easier to write and understand complex generics when manually implementing `Configuration`.
613

714
## 0.14.0
815

0 commit comments

Comments
 (0)