{"id":33919037,"url":"https://github.com/inyourface34456/runmod","last_synced_at":"2025-12-12T08:39:44.949Z","repository":{"id":324165274,"uuid":"1096214966","full_name":"inyourface34456/runmod","owner":"inyourface34456","description":"A rust libary to speed up development","archived":false,"fork":false,"pushed_at":"2025-11-14T06:51:36.000Z","size":43953,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-14T07:20:31.582Z","etag":null,"topics":["development","library","rust"],"latest_commit_sha":null,"homepage":"https://inyourface34456.github.io/runmod/runmod/index.html","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inyourface34456.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-11-14T05:11:16.000Z","updated_at":"2025-11-14T06:51:40.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/inyourface34456/runmod","commit_stats":null,"previous_names":["inyourface34456/runmod"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/inyourface34456/runmod","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inyourface34456%2Frunmod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inyourface34456%2Frunmod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inyourface34456%2Frunmod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inyourface34456%2Frunmod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inyourface34456","download_url":"https://codeload.github.com/inyourface34456/runmod/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inyourface34456%2Frunmod/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27679464,"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","status":"online","status_checked_at":"2025-12-12T02:00:06.775Z","response_time":129,"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":["development","library","rust"],"created_at":"2025-12-12T08:39:43.714Z","updated_at":"2025-12-12T08:39:44.943Z","avatar_url":"https://github.com/inyourface34456.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a simple crate that will allow you to change values in your program and\nhave them update in real time when you change values in your source code.\n\nFor now only numbers types are suported (i.e., your ix, ux, and fx).  I do plan on adding\nstring suport at a later date if I ever get around to it.\n\nEDIT: Strings are now suported (utf-8 only for now)\n\nHere is a basic usage example:\n```rust\nuse runmod::{RunMod, RunVar};\n\nfn main() {\n    let mut val = RunMod::new(RunVar::I32(42));\n    while val.get_i32().unwrap() == 42 {\n        println!(\"val: {}\", val.get_i32().unwrap());\n        // this will run untill you change the value in the program\n        break // if this is not here, then rustdoc will not exit\n    }\n}\n```\n# How it works\nRight now it uses `std::panic::Location::caller()` (an api I bet you never new exsisted) and \nthe `#[track_caller]` macro (the only way this works) to get the file and location where the \nvarible is made, and every time you call `.get_[type]` it reads the file, skips to the line \nwith the varible decelration and uses regex to parse it.  Tis can cause panics, but only if \nyou use a varible instead of a number like this:\n```rust\nuse runmod::{RunMod, RunVar};\n\nlet val = 42;\nlet mut runvar = RunMod::new(RunVar::I32(val));\nrunvar.get_i32();\n```\n\nThis fails due to lexical parser not knowing what do to to convert a string into a number (i will accept\nPRs that can add this functionality while maintaning speed).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finyourface34456%2Frunmod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finyourface34456%2Frunmod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finyourface34456%2Frunmod/lists"}