chore: release fp-macros v0.6.0 / fp-library v0.13.1#21
Merged
nothingnesses merged 2 commits intomainfrom Mar 14, 2026
Merged
Conversation
- Add #[kind] attribute macro for ergonomic Kind supertrait bounds, replacing raw hash-based trait names (e.g. Kind_cdc7cd43dac7585f) with #[kind(type Of<'a, A: 'a>: 'a;)] annotations - Add Kind variant to TraitCategory for proper Kind_* classification - Fix WarningEmitter name collision across multiple macro invocations using global AtomicUsize counter - Reject duplicate #[document_*] attributes with clear error messages, with compile-fail tests for each macro - Remove #[document_fields] macro in favor of native /// doc comments - Restrict #[document_signature] to functions and methods only - Warn when traits use raw Kind_* supertraits instead of #[kind(...)]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#[kind]attribute macro, reject duplicate#[document_*]attributes, restrict#[document_signature]to functions/methods, remove#[document_fields]macro, fixWarningEmittername collision#[kind(...)]annotations, replace#[document_fields]with native doc comments, improve rustdoc linksgit add .for stagingTest plan
cargo fmt --all— no changescargo clippy --workspace --all-features— no warningscargo doc --workspace --all-features --no-deps— builds cleanlycargo test --workspace --all-features— all tests pass