{"id":16892925,"url":"https://github.com/dtolnay/dtoa","last_synced_at":"2025-05-15T07:05:36.337Z","repository":{"id":45330913,"uuid":"62044191","full_name":"dtolnay/dtoa","owner":"dtolnay","description":"Fast functions for printing floating-point primitives to a decimal string","archived":false,"fork":false,"pushed_at":"2025-04-25T02:40:48.000Z","size":448,"stargazers_count":125,"open_issues_count":0,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-03T01:56:24.031Z","etag":null,"topics":["performance","rust"],"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/dtolnay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"dtolnay"}},"created_at":"2016-06-27T09:41:01.000Z","updated_at":"2025-04-25T06:38:10.000Z","dependencies_parsed_at":"2023-02-17T13:10:19.330Z","dependency_job_id":"25041ee3-6a14-4cb7-a8d3-b4fd1b973825","html_url":"https://github.com/dtolnay/dtoa","commit_stats":{"total_commits":130,"total_committers":4,"mean_commits":32.5,"dds":"0.023076923076923106","last_synced_commit":"9d2c215dc22af4190212757b2ec307b4fb90a686"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtolnay%2Fdtoa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtolnay%2Fdtoa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtolnay%2Fdtoa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtolnay%2Fdtoa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dtolnay","download_url":"https://codeload.github.com/dtolnay/dtoa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254043220,"owners_count":22004912,"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":["performance","rust"],"created_at":"2024-10-13T17:12:53.774Z","updated_at":"2025-05-15T07:05:31.323Z","avatar_url":"https://github.com/dtolnay.png","language":"Rust","funding_links":["https://github.com/sponsors/dtolnay"],"categories":[],"sub_categories":[],"readme":"dtoa\n====\n\n[\u003cimg alt=\"github\" src=\"https://img.shields.io/badge/github-dtolnay/dtoa-8da0cb?style=for-the-badge\u0026labelColor=555555\u0026logo=github\" height=\"20\"\u003e](https://github.com/dtolnay/dtoa)\n[\u003cimg alt=\"crates.io\" src=\"https://img.shields.io/crates/v/dtoa.svg?style=for-the-badge\u0026color=fc8d62\u0026logo=rust\" height=\"20\"\u003e](https://crates.io/crates/dtoa)\n[\u003cimg alt=\"docs.rs\" src=\"https://img.shields.io/badge/docs.rs-dtoa-66c2a5?style=for-the-badge\u0026labelColor=555555\u0026logo=docs.rs\" height=\"20\"\u003e](https://docs.rs/dtoa)\n[\u003cimg alt=\"build status\" src=\"https://img.shields.io/github/actions/workflow/status/dtolnay/dtoa/ci.yml?branch=master\u0026style=for-the-badge\" height=\"20\"\u003e](https://github.com/dtolnay/dtoa/actions?query=branch%3Amaster)\n\nThis crate provides fast conversion of floating point primitives to decimal\nstrings. The implementation is a straightforward Rust port of [Milo Yip]'s C++\nimplementation [dtoa.h]. The original C++ code of each function is included in\ncomments.\n\nSee also [`itoa`] for printing integer primitives.\n\n*Version requirement: rustc 1.36+*\n\n[Milo Yip]: https://github.com/miloyip\n[dtoa.h]: https://github.com/miloyip/rapidjson/blob/master/include/rapidjson/internal/dtoa.h\n[`itoa`]: https://github.com/dtolnay/itoa\n\n```toml\n[dependencies]\ndtoa = \"1.0\"\n```\n\n\u003cbr\u003e\n\n## Example\n\n```rust\nfn main() {\n    let mut buffer = dtoa::Buffer::new();\n    let printed = buffer.format(2.71828f64);\n    assert_eq!(printed, \"2.71828\");\n}\n```\n\n\u003cbr\u003e\n\n## Performance (lower is better)\n\n![performance](https://raw.githubusercontent.com/dtolnay/dtoa/master/performance.png)\n\n\u003cbr\u003e\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%2Fdtolnay%2Fdtoa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdtolnay%2Fdtoa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtolnay%2Fdtoa/lists"}