{"id":15910535,"url":"https://github.com/enzious/enum-str-derive","last_synced_at":"2026-05-02T04:40:28.690Z","repository":{"id":155099148,"uuid":"632240728","full_name":"enzious/enum-str-derive","owner":"enzious","description":"A crate to serialize/deserialize enums into/from a string.","archived":false,"fork":false,"pushed_at":"2023-04-26T23:37:36.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T09:51:43.002Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/enzious.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-04-25T02:18:40.000Z","updated_at":"2023-04-25T16:51:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"5692b3aa-4f48-46c1-b3e0-d4e6df7a78ae","html_url":"https://github.com/enzious/enum-str-derive","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"459984f1dd94054404749133abf202e1f4e1ffa9"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enzious%2Fenum-str-derive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enzious%2Fenum-str-derive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enzious%2Fenum-str-derive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enzious%2Fenum-str-derive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enzious","download_url":"https://codeload.github.com/enzious/enum-str-derive/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246917868,"owners_count":20854714,"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":[],"created_at":"2024-10-06T15:08:12.365Z","updated_at":"2026-05-02T04:40:28.623Z","avatar_url":"https://github.com/enzious.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# enum-str-derive\n\n[![License](https://img.shields.io/github/license/enzious/enum-str-derive)](https://github.com/enzious/enum-str-derive/blob/master/LICENSE.md)\n[![Contributors](https://img.shields.io/github/contributors/enzious/enum-str-derive)](https://github.com/enzious/enum-str-derive/graphs/contributors)\n[![GitHub Repo stars](https://img.shields.io/github/stars/enzious/enum-str-derive?style=social)](https://github.com/enzious/enum-str-derive)\n[![crates.io](https://img.shields.io/crates/v/enum-str-derive.svg)](https://crates.io/crates/enum-str-derive)\n\nA crate to serialize/deserialize enums into/from a string.\n\nConverts enums to a string when using [serde] and [postgres].\n\n## Documentation\n\n- [API Documentation](https://docs.rs/enum-str-derive)\n\n## Implementation\n\n```rust\n#[derive(Clone, Copy, Debug, EnumStr)]\npub enum ChannelTypeShortcode {\n  Text, // TEXT\n  #[enum_str(string = \"w\")]\n  Theater, // w\n}\n```\n\n[serde]: https://crates.io/crates/serde\n[postgres]: https://crates.io/crates/postgres\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenzious%2Fenum-str-derive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenzious%2Fenum-str-derive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenzious%2Fenum-str-derive/lists"}