{"id":24189651,"url":"https://github.com/ztgx/cast-rs","last_synced_at":"2026-06-09T15:02:06.394Z","repository":{"id":57542350,"uuid":"195162045","full_name":"zTgx/cast-rs","owner":"zTgx","description":"A collection of  types cast for Rust.","archived":false,"fork":false,"pushed_at":"2020-04-12T16:14:20.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T06:09:40.954Z","etag":null,"topics":["box","downcast","hex","rust","slicecast","str","string","typecast","vec"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zTgx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-04T03:22:35.000Z","updated_at":"2021-03-20T04:49:39.000Z","dependencies_parsed_at":"2022-09-26T18:31:11.440Z","dependency_job_id":null,"html_url":"https://github.com/zTgx/cast-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zTgx%2Fcast-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zTgx%2Fcast-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zTgx%2Fcast-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zTgx%2Fcast-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zTgx","download_url":"https://codeload.github.com/zTgx/cast-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241601167,"owners_count":19988879,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["box","downcast","hex","rust","slicecast","str","string","typecast","vec"],"created_at":"2025-01-13T14:30:17.046Z","updated_at":"2025-11-27T15:06:04.155Z","avatar_url":"https://github.com/zTgx.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cast-rs\n\n[![Travis status](https://travis-ci.org/zTgx/cast-rs.svg?branch=master)](https://travis-ci.org/zTgx/cast-rs) [![crate](https://img.shields.io/crates/v/cast-rs.svg)](https://crates.io/crates/cast-rs)\n\nA collection of  types cast for Rust.\n\n`cast-rs` is a meta-crate, re-exporting items from these sub-crates:\n\n| Repository | Crate | Documentation |\n| ---------- | ----- | ------------- |\n|  [hex](https://github.com/KokaKiwi/rust-hex)  |  [![crate](https://img.shields.io/crates/v/hex.svg)](https://crates.io/crates/hex) |[![documentation](https://docs.rs/hex/badge.svg)](https://docs.rs/hex)\n|  [downcast-rs](https://github.com/marcianx/downcast-rs)  |  [![crate](https://img.shields.io/crates/v/downcast_rs.svg)](https://crates.io/crates/downcast_rs) |[![documentation](https://docs.rs/downcast-rs/badge.svg)](https://docs.rs/downcast-rs)\n|  [slice-cast](https://github.com/FaultyRAM/slice-cast.git)  |  [![crate](https://img.shields.io/crates/v/slice_cast.svg)](https://crates.io/crates/slice_cast) |[![documentation](https://docs.rs/slice-cast/badge.svg)](https://docs.rs/slice-cast)\n\nNote: `cast-rs` is listed here for reference, but it's not directly included\nin `cast-rs`.  This is a `proc-macro` crate for deriving some of `cast-rs`'s traits.\n\n## Usage\n\nAdd this to your `Cargo.toml`:\n\n```toml\n[dependencies]\ncast-rs = \"0.2.1\"\n```\n\nand those to your crate root:\n### hex\n```rust\nuse cast_rs::hex;\n```\n\n### downcast\n```rust\nuse cast_rs::downcast_rs::*;\n```\n\n### slicecast\n```rust\nuse cast_rs::slice_cast;\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fztgx%2Fcast-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fztgx%2Fcast-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fztgx%2Fcast-rs/lists"}