NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #2631 most downloaded on crates.io
Define your own PhantomData
Latest stable
0.1.23
Last release 4 months ago
18 Jul 2026
Release timing varies
gaps range from 2 weeks to 11 months
Most releases are documented
notes for 16 of 24 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
24 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Update to syn 3
Resolve repr_packed_without_abi clippy lint in generated code
Allow phantom as trivial field inside repr(transparent) struct (#41, #42). Previously:
error: zero-sized fields in `repr(transparent)` cannot contain `repr(C)` types
--> src/main.rs:7:24
|
7 | struct MyWrapper<T>(T, MyPhantom<T>);
| ^^^^^^^^^^^^
|
= note: this field contains `TypeParam<T>`, which is a `#[repr(C)]` type, so it is not guaranteed to be zero-sized on all targets.
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #78586 <https://github.com/rust-lang/rust/issues/78586>
= note: `#[deny(repr_transparent_non_zst_fields)]` (part of `#[deny(future_incompatible)]`) on by default
Your coding agent can read these notes before it upgrades. Set up the MCP server →
- Support const generics
Documentation improvements
Mark all generated trait impls with #\[automatically_derived\] to exclude from required test coverage
Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache
Support hiding re-export in the value namespace
Fix compatibility with nightly rustdoc (#20, #21)
Documentation improvements
Nothing published for this version
Add no-alloc category to crates.io metadata
no-alloc category to crates.io metadataMark derived impls with automatically_derived attribute
Nothing published for this version
- Update syn dependency to 2.x
Nothing published for this version
Nothing published for this version
Add categories to crates.io metadata
Nothing published for this version
Suppress non_camel_case_types lint inside generated code
non_camel_case_types lint inside generated code (#11)Improve the way that definition of phantom types are rendered by rustdoc
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.