Safely cast &T to &U where the struct U contains a single field of type T.
☆224Aug 19, 2026Updated 3 weeks ago
Alternatives and similar repositories for ref-cast
Users that are interested in ref-cast are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Struct fields that are made read-only accessible to other modules☆267Aug 3, 2026Updated last month
- Make trait methods callable without the trait in scope☆164Aug 3, 2026Updated last month
- Make any value Sync but only available on its original thread☆40Jun 24, 2026Updated 2 months ago
- Convert number to enum☆89Jul 30, 2024Updated 2 years ago
- Conditional compilation according to rustc compiler version☆394Aug 3, 2026Updated last month
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Full precision decimal representation of f64☆28Aug 6, 2026Updated last month
- Type that deserializes only from one specific value☆285Aug 3, 2026Updated last month
- Define your own PhantomData☆167Aug 3, 2026Updated last month
- Compile-time temporary directory shared by multiple crates and erased by `cargo clean`☆79Jun 24, 2026Updated 2 months ago
- Macros for all your token pasting needs☆1,090Oct 6, 2024Updated last year
- The missing compound borrowing for Rust.☆65Apr 18, 2026Updated 5 months ago
- Procedural macro to mock returning (values referencing) locals from a function (using CPS)☆35Oct 22, 2024Updated last year
- Minimal TOML library with few dependencies☆83Mar 3, 2025Updated last year
- A library for to allow multiple return types by automatically generated enum.☆381Sep 6, 2026Updated last week
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Compile-time checks that an enum or match is written in sorted order☆126Aug 3, 2026Updated last month
- Clone trait that is object-safe☆755Aug 22, 2026Updated 3 weeks ago
- Attribute macro to require that the compiler prove a function can't ever panic☆1,216Aug 3, 2026Updated last month
- Graph the number of crates that depend on your crate over time☆255Aug 19, 2026Updated 3 weeks ago
- Easy self-referential struct generation for Rust.☆732Jan 11, 2025Updated last year
- TARGET and HOST tuples☆16Sep 8, 2026Updated last week
- ☆36Nov 20, 2024Updated last year
- Indented document literals for Rust☆789Aug 12, 2026Updated last month
- Safe cross-platform linker shenanigans☆890Aug 5, 2026Updated last month
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- Append-only collections for Rust where borrows to entries can outlive insertions☆280Updated this week
- Serde Visitor for deserializing untagged enums☆71Jun 24, 2026Updated 2 months ago
- A wrapper around Rust futures that stores the future in space provided by the caller.☆314Aug 24, 2026Updated 3 weeks ago
- Test harness for ui tests of compiler diagnostics☆998Sep 8, 2026Updated last week
- Utility wrapper to send non send types to other threads safely☆194Sep 4, 2026Updated 2 weeks ago
- A procedural macro implementation of `quote!`.☆24Mar 20, 2023Updated 3 years ago
- Atomic operations on potentially uninitialized integers.☆33Updated this week
- Safe, zero-cost downcasting for limited compile-time specialization.☆185Jul 8, 2026Updated 2 months ago
- Token tree calling convention☆82Dec 19, 2022Updated 3 years ago
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- A minimal `syn` syntax tree pretty-printer☆773Jul 18, 2026Updated 2 months ago
- Fast floating point to string conversion☆705Aug 6, 2026Updated last month
- Link libstdc++ or libc++ automatically or manually☆54Jun 24, 2026Updated 2 months ago
- Fork of std::Arc with lots of utilities useful for FFI☆297Aug 31, 2026Updated 2 weeks ago
- Ensure correct assumptions about constants, types, and more in Rust☆665Nov 18, 2023Updated 2 years ago
- A Rust proc-macro attribute parser☆1,271Sep 11, 2026Updated last week
- A vector with a fixed capacity. (Rust)☆906Jul 19, 2026Updated last month