{"id":25449794,"url":"https://github.com/zanderlewis/yotta","last_synced_at":"2025-05-16T09:08:28.947Z","repository":{"id":277570126,"uuid":"932844611","full_name":"zanderlewis/yotta","owner":"zanderlewis","description":"Yotta is a pure no_std Rust arbitrary-precision integer library with 0 dependencies.","archived":false,"fork":false,"pushed_at":"2025-02-17T22:37:42.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-29T11:52:35.790Z","etag":null,"topics":["arbitrary-precision","bigint","biginteger","bignum","bignumber","bignums","no-dependencies","no-deps","no-std","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/yotta","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zanderlewis.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":"2025-02-14T16:16:01.000Z","updated_at":"2025-02-17T22:37:46.000Z","dependencies_parsed_at":"2025-02-14T17:26:53.339Z","dependency_job_id":"3a037e73-3bb0-496d-8fe4-fe278f718ae3","html_url":"https://github.com/zanderlewis/yotta","commit_stats":null,"previous_names":["zanderlewis/yotta"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanderlewis%2Fyotta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanderlewis%2Fyotta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanderlewis%2Fyotta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanderlewis%2Fyotta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zanderlewis","download_url":"https://codeload.github.com/zanderlewis/yotta/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254501552,"owners_count":22081529,"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":["arbitrary-precision","bigint","biginteger","bignum","bignumber","bignums","no-dependencies","no-deps","no-std","rust"],"created_at":"2025-02-17T21:19:09.602Z","updated_at":"2025-05-16T09:08:28.692Z","avatar_url":"https://github.com/zanderlewis.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yotta\nYotta is a pure Rust arbitrary-precision arithmetic library. It is designed to be fast and easy to use. Yotta is still in development, so it is not recommended for production use.\n\nYotta is named after `Yottabyte`, the largest unit of digital information storage. This is because Yotta can handle numbers of any size.\n\n## Features\n- [x] Dynamic precision arithmetic\n- [x] Traits for using operators\n- [x] Floating point arithmetic\n- [x] Easy to use\n- [x] `no_std`\n\n## Usage\nFirst, add Yotta to your `Cargo.toml`:\n```bash\ncargo add yotta\n```\n\nThen, you can use Yotta in your project:\n```rust\nuse yotta::Yotta;\n\nfn main() {\n    let num1 = Yotta::new(\"123\", 32);\n    let num2 = Yotta::new(\"456\", 32);\n\n    let sum = num1.clone() + num2.clone();\n    let diff = num2.clone() - num1.clone();\n\n    assert_eq!(sum, Yotta::new(\"579\", 32));\n    assert_eq!(diff, Yotta::new(\"333\", 32));\n}\n```\n\n## License\nYotta is licensed under the [Protected Work License (PWL) v1.0](LICENSE.md). This license is designed to protect open source software from being paywalled without restricting commercial use. It also implements the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzanderlewis%2Fyotta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzanderlewis%2Fyotta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzanderlewis%2Fyotta/lists"}