{"id":35158202,"url":"https://github.com/floating-floaties/eval-utility","last_synced_at":"2026-04-05T01:31:35.800Z","repository":{"id":45519476,"uuid":"513748703","full_name":"floating-floaties/eval-utility","owner":"floating-floaties","description":"Wrapper function of the resolver crate. Provides python-like built-in functions.","archived":false,"fork":false,"pushed_at":"2026-03-18T03:44:24.000Z","size":115,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-18T19:51:04.736Z","etag":null,"topics":["rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/eval-utility","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/floating-floaties.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-07-14T03:40:39.000Z","updated_at":"2026-03-18T03:44:28.000Z","dependencies_parsed_at":"2026-01-27T11:02:07.238Z","dependency_job_id":null,"html_url":"https://github.com/floating-floaties/eval-utility","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/floating-floaties/eval-utility","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floating-floaties%2Feval-utility","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floating-floaties%2Feval-utility/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floating-floaties%2Feval-utility/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floating-floaties%2Feval-utility/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/floating-floaties","download_url":"https://codeload.github.com/floating-floaties/eval-utility/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/floating-floaties%2Feval-utility/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31421869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T00:25:07.052Z","status":"ssl_error","status_checked_at":"2026-04-05T00:25:05.923Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["rust"],"created_at":"2025-12-28T17:09:01.554Z","updated_at":"2026-04-05T01:31:35.793Z","avatar_url":"https://github.com/floating-floaties.png","language":"Rust","readme":"# Eval Utility\n\n\u003c!-- TOC --\u003e\n* [Eval Utility](#eval-utility)\n  * [About](#about)\n  * [Install](#install)\n  * [Example](#example)\n\u003c!-- TOC --\u003e\n\n## About\n\nWrapper function of the [resolver crate](https://crates.io/crates/resolver). Provides python-like built-in functions.\n\n## Install\nAdd the following line to your Cargo.toml file (under `[dependencies]`):\n\n```toml\neval-utility = \"0.2\"\n```\n\n\n## Example\n\nSee test cases in [`lib.rs`](https://github.com/floating-floaties/eval-utility/blob/main/src/lib.rs#L484) for more examples.\n\n```rust\nuse eval_utility::eval_wrapper::{EvalConfig, ExprWrapper};\n\nfn main() {\n    let expression = \"float('42.42') == 42.42\";\n    let expected = true;\n\n\n    let mut expr = ExprWrapper::new(expression)\n        // .config(Default::default())\n        .config(EvalConfig { // same as Default::default() ^\n            include_maths: true,\n            include_regex: true,\n            include_datetime: true,\n            include_cast: true,\n        })\n        .init();\n\n    match expr.exec() {\n        Ok(value) =\u003e {\n            assert_eq!(value, expected);\n        }\n        Err(err) =\u003e {\n            panic!(\"err={err:?}\");\n        }\n    };\n    // ...\n}\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloating-floaties%2Feval-utility","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffloating-floaties%2Feval-utility","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloating-floaties%2Feval-utility/lists"}