{"id":16613017,"url":"https://github.com/craftspider/boxing","last_synced_at":"2025-10-27T22:39:25.514Z","repository":{"id":172046307,"uuid":"648682461","full_name":"CraftSpider/boxing","owner":"CraftSpider","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-08T23:44:34.000Z","size":75,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T10:37:49.880Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/CraftSpider.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-06-02T14:42:59.000Z","updated_at":"2024-12-26T05:47:13.000Z","dependencies_parsed_at":"2023-07-03T17:16:02.832Z","dependency_job_id":null,"html_url":"https://github.com/CraftSpider/boxing","commit_stats":null,"previous_names":["craftspider/boxing"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CraftSpider%2Fboxing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CraftSpider%2Fboxing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CraftSpider%2Fboxing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CraftSpider%2Fboxing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CraftSpider","download_url":"https://codeload.github.com/CraftSpider/boxing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248768347,"owners_count":21158619,"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-12T01:45:45.150Z","updated_at":"2025-10-14T14:36:21.416Z","avatar_url":"https://github.com/CraftSpider.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Boxing\n\n[![crates.io](https://img.shields.io/crates/v/boxing.svg)](https://crates.io/crates/boxing)\n[![Documentation](https://docs.rs/boxing/badge.svg)](https://docs.rs/boxing)\n[![MIT/Apache-2 licensed](https://img.shields.io/crates/l/boxing.svg)](./LICENSE-APACHE)\n\nAn easy-to-use, cross-platform library for pointer and NaN boxing data - storing other data\nvalues in the unused portions of a float or pointer.\n\n## Examples\n\nFor more detailed examples, see the `nan` module documentation.\n\n```rust\nuse boxing::nan::NanBox;\n\nassert_eq!(core::mem::size_of::\u003cNanBox\u003c()\u003e\u003e(), core::mem::size_of::\u003cf64\u003e());\n\nlet a = NanBox::\u003c()\u003e::from_float(2.0);\nlet b = NanBox::\u003c()\u003e::from_inline(-1i32);\n\nassert_eq!(a.clone().try_into_float(), Ok(2.0));\nassert_eq!(b.clone().try_into_inline::\u003ci32\u003e(), Ok(-1i32));\nassert!((a.into_float_unchecked() + b.into_float_unchecked()).is_nan());\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcraftspider%2Fboxing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcraftspider%2Fboxing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcraftspider%2Fboxing/lists"}