{"id":19787046,"url":"https://github.com/tomboddaert/dyn-slice","last_synced_at":"2025-04-30T23:33:00.689Z","repository":{"id":180547506,"uuid":"665225585","full_name":"tomBoddaert/dyn-slice","owner":"tomBoddaert","description":"An implementation for a \u0026dyn [Trait] -like reference","archived":false,"fork":false,"pushed_at":"2024-05-07T21:47:21.000Z","size":121,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-09T21:28:23.642Z","etag":null,"topics":["data-structures","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/dyn-slice","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomBoddaert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-11T18:11:24.000Z","updated_at":"2024-07-08T19:47:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"eda2e60c-a5a2-49dc-94fe-b2f8a2615ef6","html_url":"https://github.com/tomBoddaert/dyn-slice","commit_stats":null,"previous_names":["tomboddaert/dyn-slice"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomBoddaert%2Fdyn-slice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomBoddaert%2Fdyn-slice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomBoddaert%2Fdyn-slice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomBoddaert%2Fdyn-slice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomBoddaert","download_url":"https://codeload.github.com/tomBoddaert/dyn-slice/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224227097,"owners_count":17276742,"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":["data-structures","rust"],"created_at":"2024-11-12T06:20:47.582Z","updated_at":"2024-11-12T06:20:48.295Z","avatar_url":"https://github.com/tomBoddaert.png","language":"Rust","readme":"[![Rust](https://github.com/tomBoddaert/dyn-slice/actions/workflows/rust.yml/badge.svg?event=push)](https://github.com/tomBoddaert/dyn-slice/actions/workflows/rust.yml)\n\n# Dyn-Slice\n\nAn implementation of a `\u0026dyn [Trait]`-like reference, inspired by a [Reddit thread](https://www.reddit.com/r/rust/comments/14i08gz/dyn_slices).\n\n`dyn-slice`s are slices of trait objects. Indexing into one yields a trait object reference. The vtable pointer is only stored once.\n\n```sh\ncargo add dyn-slice\n```\n\n[Latest documentation](https://docs.rs/dyn-slice/latest/dyn_slice/)  \n[Examples](/examples/)\n\n[dyn-slice on crates.io](https://crates.io/crates/dyn-slice)  \n[dyn-slice on lib.rs](https://lib.rs/crates/dyn-slice)  \n[dyn-slice on GitHub](https://github.com/tomBoddaert/dyn-slice)\n\n## Warning\n\nThis was originally just a proof of concept and may has some bugs, so it may be best not to use it in production (or any important) code.\n\nWith that said, feel free to use it in code that does not have to be reliable and to open an issue if you find any bugs.\n\n## License\n\n[Dyn-Slice](https://github.com/tomBoddaert/dyn-slice) is dual-licensed under either the Apache License Version 2.0 or MIT license at your option.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomboddaert%2Fdyn-slice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomboddaert%2Fdyn-slice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomboddaert%2Fdyn-slice/lists"}