Safely cast &T to &U where the struct U contains a single field of type T.
☆223Aug 3, 2026Updated this 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☆268Updated this week
- Make trait methods callable without the trait in scope☆166Updated this week
- Make any value Sync but only available on its original thread☆40Jun 24, 2026Updated last month
- Convert number to enum☆89Jul 30, 2024Updated 2 years ago
- Conditional compilation according to rustc compiler version☆394Updated this week
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Full precision decimal representation of f64☆27Updated this week
- Type that deserializes only from one specific value☆285Updated this week
- Define your own PhantomData☆168Updated this week
- Compile-time temporary directory shared by multiple crates and erased by `cargo clean`☆79Jun 24, 2026Updated last month
- Macros for all your token pasting needs☆1,090Oct 6, 2024Updated last year
- The missing compound borrowing for Rust.☆65Apr 18, 2026Updated 3 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.☆382Jul 25, 2026Updated 2 weeks ago
- 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☆125Updated this week
- Clone trait that is object-safe☆754Updated this week
- Attribute macro to require that the compiler prove a function can't ever panic☆1,208Updated this week
- Graph the number of crates that depend on your crate over time☆255Jul 29, 2026Updated last week
- Easy self-referential struct generation for Rust.☆728Jan 11, 2025Updated last year
- TARGET and HOST triples☆16Jul 18, 2026Updated 3 weeks ago
- ☆36Nov 20, 2024Updated last year
- Indented document literals for Rust☆787Updated this week
- Safe cross-platform linker shenanigans☆880Updated this week
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Append-only collections for Rust where borrows to entries can outlive insertions☆280Jun 27, 2026Updated last month
- Serde Visitor for deserializing untagged enums☆72Jun 24, 2026Updated last month
- A wrapper around Rust futures that stores the future in space provided by the caller.☆310Nov 19, 2025Updated 8 months ago
- Test harness for ui tests of compiler diagnostics☆984Updated this week
- 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.☆33Aug 1, 2026Updated last 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
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- A minimal `syn` syntax tree pretty-printer☆774Jul 18, 2026Updated 3 weeks ago
- Fast floating point to string conversion☆703Updated this week
- Link libstdc++ or libc++ automatically or manually☆54Jun 24, 2026Updated last month
- Fork of std::Arc with lots of utilities useful for FFI☆298Jun 29, 2026Updated last month
- Ensure correct assumptions about constants, types, and more in Rust☆665Nov 18, 2023Updated 2 years ago
- A Rust proc-macro attribute parser☆1,264Jul 30, 2026Updated last week
- A vector with a fixed capacity. (Rust)☆895Jul 19, 2026Updated 3 weeks ago