An analysis of semver compliance in Rust finds accidental semver violations are common even in the most popular crates. Human error is not the cause, and better tooling is the way forward.
It would be nice if we had something like pub(macro), which would make something public but only inside macros from the same crate. So they are usable in macros but not part of the public API.
It would be nice if we had something like
pub(macro)
, which would make something public but only inside macros from the same crate. So they are usable in macros but not part of the public API.