Safely cast &T to &U where the struct U contains a single field of type T.
☆229Nov 11, 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:
- Make trait methods callable without the trait in scope☆165Updated this week
- Define your own PhantomData☆170Sep 26, 2026Updated last month
- Type that deserializes only from one specific value☆286Aug 3, 2026Updated 3 months ago
- Struct fields that are made read-only accessible to other modules☆268Updated this week
- Make any value Sync but only available on its original thread☆41Jun 24, 2026Updated 4 months ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Compile-time checks that an enum or match is written in sorted order☆126Aug 3, 2026Updated 3 months ago
- Full precision decimal representation of f64☆29Aug 6, 2026Updated 3 months ago
- Tiny little crate to determine how large an unnameable type is.☆12Mar 29, 2025Updated last year
- Conditional compilation according to rustc compiler version☆397Aug 3, 2026Updated 3 months ago
- Convert number to enum☆90Jul 30, 2024Updated 2 years ago
- Compile-time temporary directory shared by multiple crates and erased by `cargo clean`☆80Jun 24, 2026Updated 4 months ago
- Safe cross-platform linker shenanigans☆913Updated this week
- Attribute macro to require that the compiler prove a function can't ever panic☆1,223Updated this week
- Macros for all your token pasting needs☆1,090Oct 6, 2024Updated 2 years ago
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- TARGET and HOST tuples☆18Sep 8, 2026Updated 2 months ago
- The missing compound borrowing for Rust.☆65Apr 18, 2026Updated 6 months ago
- ☆55Jul 18, 2026Updated 3 months ago
- Procedural macro to mock returning (values referencing) locals from a function (using CPS)☆34Oct 22, 2024Updated 2 years ago
- A library for to allow multiple return types by automatically generated enum.☆381Oct 10, 2026Updated last month
- Minimal TOML library with few dependencies☆83Mar 3, 2025Updated last year
- ☆27Oct 21, 2026Updated 3 weeks ago
- Indented document literals for Rust☆793Updated this week
- Serde Visitor for deserializing untagged enums☆71Jun 24, 2026Updated 4 months ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Test harness for ui tests of compiler diagnostics☆1,015Updated this week
- Graph the number of crates that depend on your crate over time☆256Oct 30, 2026Updated 2 weeks ago
- A wrapper around Rust futures that stores the future in space provided by the caller.☆316Aug 24, 2026Updated 2 months ago
- Clone trait that is object-safe☆756Updated this week
- Token tree calling convention☆83Dec 19, 2022Updated 3 years ago
- A minimal `syn` syntax tree pretty-printer☆775Jul 18, 2026Updated 3 months ago
- Non-interleaving multithreaded output queue☆80Jun 24, 2026Updated 4 months ago
- Easy self-referential struct generation for Rust.☆737Jan 11, 2025Updated last year
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆291Dec 18, 2022Updated 3 years ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Lending iterators on stable Rust☆88Jan 12, 2024Updated 2 years ago
- Typed distributed plugin registration☆1,376Updated this week
- Link libstdc++ or libc++ automatically or manually☆55Jun 24, 2026Updated 4 months ago
- Eager evaluation of macros like `concat!` and `env!`☆46Updated this week
- Utility wrapper to send non send types to other threads safely☆193Sep 4, 2026Updated 2 months ago
- Type-erased Serialize, Serializer and Deserializer traits☆826Updated this week
- Compile-time reflection API for developing robust procedural macros (proof of concept)☆782Jul 18, 2026Updated 3 months ago
Are these results useful?