Safely cast &T to &U where the struct U contains a single field of type T.
☆228Oct 26, 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☆165Aug 3, 2026Updated 2 months ago
- Define your own PhantomData☆170Sep 26, 2026Updated last month
- Type that deserializes only from one specific value☆286Aug 3, 2026Updated 2 months ago
- Struct fields that are made read-only accessible to other modules☆269Aug 3, 2026Updated 2 months ago
- Make any value Sync but only available on its original thread☆41Jun 24, 2026Updated 4 months 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.
- Full precision decimal representation of f64☆29Aug 6, 2026Updated 2 months ago
- Compile-time checks that an enum or match is written in sorted order☆126Aug 3, 2026Updated 2 months ago
- Tiny little crate to determine how large an unnameable type is.☆12Mar 29, 2025Updated last year
- Compile-time temporary directory shared by multiple crates and erased by `cargo clean`☆80Jun 24, 2026Updated 4 months ago
- Convert number to enum☆90Jul 30, 2024Updated 2 years ago
- Conditional compilation according to rustc compiler version☆396Aug 3, 2026Updated 2 months ago
- TARGET and HOST tuples☆18Sep 8, 2026Updated last month
- Macros for all your token pasting needs☆1,090Oct 6, 2024Updated 2 years ago
- The missing compound borrowing for Rust.☆65Apr 18, 2026Updated 6 months ago
- 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.
- A library for to allow multiple return types by automatically generated enum.☆380Oct 10, 2026Updated 2 weeks ago
- Procedural macro to mock returning (values referencing) locals from a function (using CPS)☆34Oct 22, 2024Updated 2 years ago
- Attribute macro to require that the compiler prove a function can't ever panic☆1,221Aug 3, 2026Updated 2 months ago
- Minimal TOML library with few dependencies☆84Mar 3, 2025Updated last year
- Serde Visitor for deserializing untagged enums☆71Jun 24, 2026Updated 4 months ago
- Indented document literals for Rust☆791Oct 9, 2026Updated 2 weeks ago
- Graph the number of crates that depend on your crate over time☆257Oct 12, 2026Updated 2 weeks ago
- Safe cross-platform linker shenanigans☆908Updated this week
- Test harness for ui tests of compiler diagnostics☆1,010Oct 7, 2026Updated 3 weeks ago
- 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.
- Token tree calling convention☆83Dec 19, 2022Updated 3 years ago
- Clone trait that is object-safe☆757Sep 22, 2026Updated last month
- ☆55Jul 18, 2026Updated 3 months ago
- A wrapper around Rust futures that stores the future in space provided by the caller.☆314Aug 24, 2026Updated 2 months ago
- A minimal `syn` syntax tree pretty-printer☆774Jul 18, 2026Updated 3 months ago
- Easy self-referential struct generation for Rust.☆735Jan 11, 2025Updated last year
- Lending iterators on stable Rust☆88Jan 12, 2024Updated 2 years ago
- Const equivalents of many bytemuck functions☆14Jan 13, 2024Updated 2 years ago
- Link libstdc++ or libc++ automatically or manually☆55Jun 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.
- Utility wrapper to send non send types to other threads safely☆193Sep 4, 2026Updated last month
- Type-erased Serialize, Serializer and Deserializer traits☆826Updated this week
- Typed distributed plugin registration☆1,367Updated this week
- Conditional compilation using boolean expression syntax, rather than any(), all(), not()☆291Dec 18, 2022Updated 3 years ago
- Rust `Vec` that can store unsized values☆22Sep 13, 2025Updated last year
- bytes::BufMut implementation to count buffer size☆25Jun 24, 2026Updated 4 months ago
- Safe, zero-cost downcasting for limited compile-time specialization.☆185Jul 8, 2026Updated 3 months ago