{"id":18460167,"url":"https://github.com/rust-nvml/wrapcenum-derive","last_synced_at":"2025-12-12T11:53:28.651Z","repository":{"id":57672335,"uuid":"91532896","full_name":"rust-nvml/wrapcenum-derive","owner":"rust-nvml","description":"Not for general use","archived":false,"fork":false,"pushed_at":"2024-02-10T06:20:01.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T23:52:58.115Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rust-nvml.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2017-05-17T04:18:04.000Z","updated_at":"2025-01-17T23:43:37.000Z","dependencies_parsed_at":"2024-11-06T08:29:01.423Z","dependency_job_id":null,"html_url":"https://github.com/rust-nvml/wrapcenum-derive","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":"0.16666666666666663","last_synced_commit":"1cf27e7b904a4506f1d29381c72f3e7da6ebc6e5"},"previous_names":["rust-nvml/wrapcenum-derive","cldfire/wrapcenum-derive"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-nvml%2Fwrapcenum-derive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-nvml%2Fwrapcenum-derive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-nvml%2Fwrapcenum-derive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-nvml%2Fwrapcenum-derive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-nvml","download_url":"https://codeload.github.com/rust-nvml/wrapcenum-derive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247792052,"owners_count":20996876,"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-11-06T08:25:49.304Z","updated_at":"2025-12-12T11:53:23.581Z","avatar_url":"https://github.com/rust-nvml.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wrapcenum-derive\n\nInternal macro used in [nvml-wrapper](https://github.com/Cldfire/nvml-wrapper).\n\nThis macro is tied to the crate and is not meant for use by the general public.\n\nIts purpose is to auto-generate both a `TryFrom` implementation converting an `i32`\ninto a Rust enum (specifically for converting a C enum represented as an integer that\nhas come over FFI) and an `as_c` method for converting the Rust enum back into an `i32`.\n\nIt wouldn't take much effort to turn this into something usable by others; if you're\ninterested feel free to contribute or file an issue asking me to put some work into it.\n\n#### License\n\n\u003csup\u003e\nLicensed under either of \u003ca href=\"LICENSE-APACHE\"\u003eApache License, Version\n2.0\u003c/a\u003e or \u003ca href=\"LICENSE-MIT\"\u003eMIT license\u003c/a\u003e at your option.\n\u003c/sup\u003e\n\n\u003cbr\u003e\n\n\u003csub\u003e\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in this crate by you, as defined in the Apache-2.0 license, shall\nbe dual licensed as above, without any additional terms or conditions.\n\u003c/sub\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-nvml%2Fwrapcenum-derive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-nvml%2Fwrapcenum-derive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-nvml%2Fwrapcenum-derive/lists"}