NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #1701 most downloaded on crates.io
Implementation detail of the linkme crate
Latest stable
0.3.38
Last release 13 days ago
09 Nov 2026
Ships fairly regularly
a new release about every 2 months
Most releases are documented
notes for 49 of 57 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
57 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Add support for Hyperlight target os (#130, #131, thanks @syntactically)
Update to syn 3
Support UEFI and Windows codegen backends that disallow zero-sized PE/COFF sections (#126, thanks @AaronRM)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Raise required compiler to Rust 1.66
Convert section boundary extern statics to zero sized
Add license files in linkme-impl crate (#113, thanks @MathuxNY-73)
linkme-impl crate (#113, thanks @MathuxNY-73)Documentation improvements
Prevent ref_option_ref pedantic clippy lint from triggering inside generated code
ref_option_ref pedantic clippy lint from triggering inside generated code (#103)- Support Rust 2024 edition
Add UEFI target support (#100, thanks @Javagedes)
Documentation improvements
Add support for OpenBSD (#90, thanks @lcheylus)
Resolve unexpected_cfgs warning
Improve error messages precipitated by slice typechecking (#84, thanks @CAD97)
Fix soundness bug in which coercion can bypass distributed slice typecheck (#83, thanks @CAD97)
Fix unused_imports warnings when compiled by rustc 1.78
Add support for mipsel-sony-psp target (#80, thanks @SK83RJOSH)
Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache
Support deny(unsafe_op_in_unsafe_fn) and 2024 edition
deny(unsafe_op_in_unsafe_fn) and 2024 editionAvoid a new pedantic clippy lint from being triggered inside code generated by distributed_slice
distributed_sliceDocumentation improvements (#76, #77, thanks @stepancheg)
Accept a simpler syntax for distributed slice declaration
Accept a simpler syntax for distributed slice declaration (#74)
#[distributed_slice]
- pub static MY_SLICE: [Type] = [..];
+ pub static MY_SLICE: [Type];
Fix STATUS_ACCESS_VIOLATION on Windows (#72, thanks @jrose-signal)
Partially work around rust-analyzer bug
Add support for Fuchsia (#69, thanks @danakj)
Nothing published for this version
Nothing published for this version
Add no-alloc category to crates.io metadata
no-alloc category to crates.io metadataAdd support for Android (#66, thanks @qwandor)
- Update syn dependency to 2.x
Nothing published for this version
Nothing published for this version
Improve support for lifetime elision of static lifetimes
static mut (#58)Add features = ["used_linker"] to use #[used(linker)] attributes (requires nightly for now; https://github.com/rust-lang/rust/issues/93798) in place o
features = ["used_linker"] to use #[used(linker)] attributes (requires nightly for now; https://github.com/rust-lang/rust/issues/93798) in place of #[used] attributes, which is needed on some targets (#55, #56, thanks @yfblock)Allow caller's module to define a type with the same name as a distributed slice (#43, thanks @rMazeiks)
Add categories and keywords to crates.io metadata
Nothing published for this version
Detect when the program contains multiple distributed slices with the same name
Disallow distributed slices from having a zero-sized element type
Add support for iOS and tvOS targets (#47, thanks @nvzqz)
Fix missing slice elements on macOS (#46, thanks @nvzqz)
Support DistributedSlice on FreeBSD (#42, thanks @knan-md and @allanjude)
DistributedSlice on FreeBSD (#42, thanks @knan-md and @allanjude)Avoid exceeding permissible length of Mach-O section specifier on macOS
Fix #\[linkme\] attribute when used together with function element shorthand (#39, thanks @KaiGuenster)
Fix distributed slices turning up empty on illumos (#38, thanks @ahl)
Add illumos support (#37, thanks @pfmooney)
Resolve empty_enum pedantic clippy lint in generated code
empty_enum pedantic clippy lint in generated codeNothing published for this version
Add shorthand for the common case of distributed slices containing function pointers (#27, thanks @ubnt-intrepid)
Add shorthand for the common case of distributed slices containing function pointers (#27, thanks @ubnt-intrepid)
use linkme::distributed_slice;
#[distributed_slice]
pub static BENCHMARKS: [fn(&mut Bencher)] = [..];
// Equivalent to:
//
// #[distributed_slice(BENCHMARKS)]
// static _: fn(&mut Bencher) = bench_deserialize;
//
#[distributed_slice(BENCHMARKS)]
fn bench_deserialize(b: &mut Bencher) {
/* ... */
}
Add #[linkme(crate = ...)] attribute to support macros that need to re-export linkme (#26, thanks @ubnt-intrepid)
#[linkme(crate = ...)] attribute to support macros that need to re-export linkme (#26, thanks @ubnt-intrepid)Support distributed slice declared in submodule (#18, #19, thanks @arcnmx)
Support !Copy element types (#16, thanks @arcnmx)
Support target_os = "none" (#10, thanks @arcnmx)
Fix link error in release mode (#7, thanks @azriel91)
Add Windows support (#4, thanks @kabergstrom)
Nothing published for this version
Nothing published for this version
One column per quarter.