{"id":33927111,"url":"https://github.com/a1393323447/math_rs","last_synced_at":"2026-06-01T04:31:31.680Z","repository":{"id":57508382,"uuid":"436832812","full_name":"a1393323447/math_rs","owner":"a1393323447","description":"A rust lib provides math expression parse and big integer.","archived":false,"fork":false,"pushed_at":"2021-12-10T05:02:19.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-13T18:41:49.275Z","etag":null,"topics":["bigint","biginteger","math","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a1393323447.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}},"created_at":"2021-12-10T03:02:09.000Z","updated_at":"2022-08-23T08:47:17.000Z","dependencies_parsed_at":"2022-08-29T22:41:51.816Z","dependency_job_id":null,"html_url":"https://github.com/a1393323447/math_rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/a1393323447/math_rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a1393323447%2Fmath_rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a1393323447%2Fmath_rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a1393323447%2Fmath_rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a1393323447%2Fmath_rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a1393323447","download_url":"https://codeload.github.com/a1393323447/math_rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a1393323447%2Fmath_rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33760645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bigint","biginteger","math","rust"],"created_at":"2025-12-12T10:43:49.090Z","updated_at":"2026-06-01T04:31:31.664Z","avatar_url":"https://github.com/a1393323447.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Math-rs\n## 简介\n使用纯rust编写的表达式解析、运算库。支持常见数学运算、设置变量。\n## Example\n```rust\nuse mathrs::expr::Expression;\n\nlet mut expr = Expression::parse(\"1 + 2*3 - x1 * x2\");\nexpr.set_variable(\"x1\", \"2\")\n    .set_variable(\"x2\", \"2 * 2\");\nlet result = expr.excute();\nprintln!(\"result = {}\", result);\nexpr.set_variable(\"x1\", \"sin(3.14)\")\n    .set_variable(\"x2\", \"1\");\nlet result = expr.excute();\nprintln!(\"result = {}\", result);\n```\n\n![](imgs/example.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa1393323447%2Fmath_rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa1393323447%2Fmath_rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa1393323447%2Fmath_rs/lists"}