{"id":20410915,"url":"https://github.com/mintlu8/i2f","last_synced_at":"2025-07-31T18:32:50.992Z","repository":{"id":200238273,"uuid":"705089472","full_name":"mintlu8/i2f","owner":"mintlu8","description":"Macros that turns integer literals to float literals and vice versa.","archived":false,"fork":false,"pushed_at":"2023-10-15T02:45:21.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T13:10:37.534Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mintlu8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-15T01:34:46.000Z","updated_at":"2023-10-15T02:45:24.000Z","dependencies_parsed_at":"2023-10-16T06:42:29.372Z","dependency_job_id":"29d98577-29f7-4cf9-b95d-82e4a7a28ec8","html_url":"https://github.com/mintlu8/i2f","commit_stats":null,"previous_names":["mintlu8/i2f"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mintlu8%2Fi2f","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mintlu8%2Fi2f/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mintlu8%2Fi2f/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mintlu8%2Fi2f/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mintlu8","download_url":"https://codeload.github.com/mintlu8/i2f/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241955047,"owners_count":20048405,"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-15T05:49:02.472Z","updated_at":"2025-03-05T03:15:37.261Z","avatar_url":"https://github.com/mintlu8.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# i2f\n\nMacros that converts number literals into int or float literals.\n\nIn addition to literals, we also accept negative literals `-literal`.\n\n## Examples\n\n```rust\ni2f!(90)        //90.0\ni2f!(-462)      //-462.0\ni2f!(3.14)      //3.14\nf2i!(3),        //3\nf2i!(3.0),      //3\ntrunc!(3.14),   //3\nf2i!(-12.0),    //-12\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmintlu8%2Fi2f","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmintlu8%2Fi2f","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmintlu8%2Fi2f/lists"}