crates.io · crates:ref-cast
ref-cast active
Safely cast &T to &U where the struct U contains a single field of type T.
| Latest stable version | 1.0.27 |
|---|---|
| Published | 2026-08-19 04:27:28 UTC |
| Install | cargo add ref-cast |
| Minimum Rust version (rust-version) | Rust ≥ 1.71 |
| License | MIT OR Apache-2.0 |
| Advisories on latest version | none known |
| Last verified | 2026-10-08 14:56:31 UTC |
| Sources | api.osv.dev, crates.io |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-08-19 04:27:28 UTC · 50 days ago |
| Stable releases in the last 12 months | 2 |
| Published versions | 37 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
1.0.27 | 2026-08-19 04:27:28 UTC |
1.0.26 | 2026-07-18 21:48:16 UTC |
1.0.25 | 2025-09-28 23:18:50 UTC |
1.0.24 | 2025-03-03 05:04:22 UTC |
1.0.23 | 2024-05-07 04:07:53 UTC |
1.0.22 | 2024-01-02 06:58:34 UTC |
1.0.21 | 2023-12-13 18:49:54 UTC |
1.0.20 | 2023-08-17 02:54:43 UTC |
1.0.19 | 2023-07-21 05:08:12 UTC |
1.0.18 | 2023-07-04 18:41:47 UTC |
1.0.17 | 2023-07-03 18:26:05 UTC |
1.0.16 | 2023-03-18 00:46:27 UTC |
1.0.15 | 2023-03-03 23:22:48 UTC |
1.0.14 | 2022-12-17 19:35:00 UTC |
1.0.13 | 2022-11-01 16:49:53 UTC |
1.0.12 | 2022-10-12 18:47:46 UTC |
1.0.11 | 2022-10-12 04:30:00 UTC |
1.0.10 | 2022-10-10 05:29:33 UTC |
1.0.9 | 2022-08-03 13:58:46 UTC |
1.0.8 | 2022-07-16 05:05:29 UTC |
Showing the 20 most recent of 37 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
rust 1.63 | 1.0.25 |
rust 1.70 | 1.0.25 |
rust 1.75 | 1.0.27 |
rust 1.80 | 1.0.27 |
rust 1.85 | 1.0.27 |
rust 1.90 | 1.0.27 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of ref-cast?
The latest stable version of ref-cast is 1.0.27, published on 2026-08-19. Verified by Vigia on 2026-10-08.
How do I install the latest version of ref-cast?
Run cargo add ref-cast. The latest stable version is 1.0.27 (verified 2026-10-08).
Is ref-cast deprecated?
No. ref-cast is not marked as deprecated in the registry.
Which Rust version does ref-cast require?
ref-cast 1.0.27 declares this requirement: Rust ≥ 1.71.
Does ref-cast 1.0.27 have known vulnerabilities?
No known advisories affect ref-cast 1.0.27 according to the data Vigia checks.
Is ref-cast still maintained?
ref-cast published 2 stable releases in the last 12 months; the most recent was 50 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- ref-cast-impl
- zeroize_derive
- event-listener-strategy
- brotli
- adler
- cast
- pyo3-build-config
- combine
- curve25519-dalek
- camino
- arrayref
- urlencoding
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/crates/ref-cast) [](https://vigia.coredls.cloud/crates/ref-cast) [](https://vigia.coredls.cloud/crates/ref-cast)
For agents
GET https://vigia.coredls.cloud/v1/packages/crates/ref-cast
GET https://vigia.coredls.cloud/v1/packages/crates/ref-cast/versions/{version}