{"id":21586136,"url":"https://github.com/magiclen/bc","last_synced_at":"2025-04-10T20:15:17.897Z","repository":{"id":57504445,"uuid":"159843646","full_name":"magiclen/bc","owner":"magiclen","description":"Use `bc` in the Rust Programming Language.","archived":false,"fork":false,"pushed_at":"2024-05-01T13:33:23.000Z","size":27,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-03T04:47:46.824Z","etag":null,"topics":["bc","rust"],"latest_commit_sha":null,"homepage":"","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/magiclen.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-30T15:38:10.000Z","updated_at":"2024-05-01T13:33:23.000Z","dependencies_parsed_at":"2024-11-24T15:12:51.608Z","dependency_job_id":"82ecf669-fb4e-4007-b0fc-ae689351ea4c","html_url":"https://github.com/magiclen/bc","commit_stats":{"total_commits":24,"total_committers":1,"mean_commits":24.0,"dds":0.0,"last_synced_commit":"140df326b79948bb4bd95493a427c1af06f9879b"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fbc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fbc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fbc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiclen%2Fbc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magiclen","download_url":"https://codeload.github.com/magiclen/bc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248288702,"owners_count":21078907,"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":["bc","rust"],"created_at":"2024-11-24T15:12:46.209Z","updated_at":"2025-04-10T20:15:17.864Z","avatar_url":"https://github.com/magiclen.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"bc (An arbitrary precision calculator language)\n====================\n\n[![CI](https://github.com/magiclen/bc/actions/workflows/ci.yml/badge.svg)](https://github.com/magiclen/bc/actions/workflows/ci.yml)\n\nUse `bc` in the Rust Programming Language.\n\n## Examples\n\n```rust\nlet result = bc::bc!(\"2 + 6\");\n\nassert_eq!(\"8\", result.unwrap());\n```\n\n```rust\nlet result = bc::bc!(\"2.5 + 6\");\n\nassert_eq!(\"8.5\", result.unwrap());\n```\n\n```rust\nlet result = bc::bc_timeout!(\"99^99\");\n\nassert_eq!(\"369729637649726772657187905628805440595668764281741102430259972423552570455277523421410650010128232727940978889548326540119429996769494359451621570193644014418071060667659301384999779999159200499899\", result.unwrap());\n```\n\n```rust\nlet result = bc::bc_timeout!(20, \"99^99\");\n\nassert_eq!(\"369729637649726772657187905628805440595668764281741102430259972423552570455277523421410650010128232727940978889548326540119429996769494359451621570193644014418071060667659301384999779999159200499899\", result.unwrap());\n```\n\n## Crates.io\n\nhttps://crates.io/crates/bc\n\n## Documentation\n\nhttps://docs.rs/bc\n\n## License\n\n[MIT](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagiclen%2Fbc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagiclen%2Fbc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagiclen%2Fbc/lists"}