Safely cast &T to &U where the struct U contains a single field of type T.
☆219Jun 24, 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:
- Make trait methods callable without the trait in scope☆165Updated this week
- Struct fields that are made read-only accessible to other modules☆266Jun 20, 2026Updated last week
- Make any value Sync but only available on its original thread☆40Updated this week
- Conditional compilation according to rustc compiler version☆394Updated this week
- Convert number to enum☆89Jul 30, 2024Updated last year
- 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.
- Atomic operations on potentially uninitialized integers.☆32Updated this week
- Type that deserializes only from one specific value☆279Updated this week
- Compile-time temporary directory shared by multiple crates and erased by `cargo clean`☆79Updated this week
- Define your own PhantomData☆167Updated this week
- Macros for all your token pasting needs☆1,089Oct 6, 2024Updated last year
- The missing compound borrowing for Rust.☆65Apr 18, 2026Updated 2 months ago
- Full precision decimal representation of f64☆27Jun 20, 2026Updated last week
- Procedural macro to mock returning (values referencing) locals from a function (using CPS)☆35Oct 22, 2024Updated last year
- Compile-time checks that an enum or match is written in sorted order☆124Updated this week
- 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.
- A library for to allow multiple return types by automatically generated enum.☆382Jun 15, 2026Updated 2 weeks ago
- Clone trait that is object-safe☆753Updated this week
- Minimal TOML library with few dependencies☆83Mar 3, 2025Updated last year
- ☆36Nov 20, 2024Updated last year
- Attribute macro to require that the compiler prove a function can't ever panic☆1,198Updated this week
- Graph the number of crates that depend on your crate over time☆255Updated this week
- Easy self-referential struct generation for Rust.☆714Jan 11, 2025Updated last year
- TARGET and HOST triples☆16Updated this week
- Safe cross-platform linker shenanigans☆868Updated 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.
- A wrapper around Rust futures that stores the future in space provided by the caller.☆310Nov 19, 2025Updated 7 months ago
- Utility wrapper to send non send types to other threads safely☆192Apr 1, 2026Updated 2 months ago
- Indented document literals for Rust☆784Jun 20, 2026Updated last week
- Append-only collections for Rust where borrows to entries can outlive insertions☆277Apr 7, 2026Updated 2 months ago
- Test harness for ui tests of compiler diagnostics☆970Updated this week
- Token tree calling convention☆82Dec 19, 2022Updated 3 years ago
- Safe, zero-cost downcasting for limited compile-time specialization.☆184Aug 11, 2025Updated 10 months ago
- Serde Visitor for deserializing untagged enums☆72Updated this week
- A procedural macro implementation of `quote!`.☆24Mar 20, 2023Updated 3 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Fork of std::Arc with lots of utilities useful for FFI☆293Jun 1, 2026Updated 3 weeks ago
- Fast floating point to string conversion☆701Updated this week
- A minimal `syn` syntax tree pretty-printer☆768Updated this week
- A vector with a fixed capacity. (Rust)☆873Jun 20, 2026Updated last week
- Safe, fallible, embedded-friendly ordered set/map via a scapegoat tree. Validated against BTreeSet/BTreeMap.☆265Feb 10, 2022Updated 4 years ago
- A Rust proc-macro attribute parser☆1,254Jan 15, 2026Updated 5 months ago
- docs.rs as a publishing platform?☆72Updated this week