Safely cast &T to &U where the struct U contains a single field of type T.
☆224Aug 19, 2026Updated last week
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 3 weeks ago
- Make trait methods callable without the trait in scope☆164Aug 3, 2026Updated 3 weeks ago
- 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 3 weeks ago
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- Full precision decimal representation of f64☆28Aug 6, 2026Updated 3 weeks ago
- Type that deserializes only from one specific value☆285Aug 3, 2026Updated 3 weeks ago
- Define your own PhantomData☆167Aug 3, 2026Updated 3 weeks ago
- 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 4 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.☆381Jul 25, 2026Updated last month
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Compile-time checks that an enum or match is written in sorted order☆125Aug 3, 2026Updated 3 weeks ago
- Clone trait that is object-safe☆755Aug 22, 2026Updated last week
- Attribute macro to require that the compiler prove a function can't ever panic☆1,214Aug 3, 2026Updated 3 weeks ago
- Graph the number of crates that depend on your crate over time☆255Aug 19, 2026Updated last week
- Easy self-referential struct generation for Rust.☆731Jan 11, 2025Updated last year
- TARGET and HOST triples☆16Jul 18, 2026Updated last month
- ☆36Nov 20, 2024Updated last year
- Indented document literals for Rust☆787Aug 12, 2026Updated 2 weeks ago
- Safe cross-platform linker shenanigans☆888Aug 5, 2026Updated 3 weeks ago
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- Append-only collections for Rust where borrows to entries can outlive insertions☆280Jun 27, 2026Updated 2 months ago
- Serde Visitor for deserializing untagged enums☆70Jun 24, 2026Updated 2 months ago
- A wrapper around Rust futures that stores the future in space provided by the caller.☆311Updated this week
- Test harness for ui tests of compiler diagnostics☆995Aug 3, 2026Updated 3 weeks ago
- Utility wrapper to send non send types to other threads safely☆193Apr 1, 2026Updated 4 months 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 last month
- Token tree calling convention☆82Dec 19, 2022Updated 3 years ago
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- A minimal `syn` syntax tree pretty-printer☆772Jul 18, 2026Updated last month
- Fast floating point to string conversion☆704Aug 6, 2026Updated 3 weeks ago
- Link libstdc++ or libc++ automatically or manually☆54Jun 24, 2026Updated 2 months ago
- Fork of std::Arc with lots of utilities useful for FFI☆296Updated this week
- Ensure correct assumptions about constants, types, and more in Rust☆663Nov 18, 2023Updated 2 years ago
- A Rust proc-macro attribute parser☆1,265Aug 20, 2026Updated last week
- A vector with a fixed capacity. (Rust)☆894Jul 19, 2026Updated last month