{"id":20305543,"url":"https://github.com/dervexdev/globenv","last_synced_at":"2025-03-04T07:21:45.037Z","repository":{"id":199970357,"uuid":"704899383","full_name":"DervexDev/globenv","owner":"DervexDev","description":"Globally set \u0026 read environment variables and paths on Windows, macOS or Linux","archived":false,"fork":false,"pushed_at":"2024-02-01T12:31:09.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T15:11:56.700Z","etag":null,"topics":["environment","global","path","rust","variable"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/globenv","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DervexDev.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}},"created_at":"2023-10-14T12:51:34.000Z","updated_at":"2024-02-21T15:36:20.000Z","dependencies_parsed_at":"2024-03-17T18:02:59.493Z","dependency_job_id":null,"html_url":"https://github.com/DervexDev/globenv","commit_stats":{"total_commits":15,"total_committers":3,"mean_commits":5.0,"dds":"0.19999999999999996","last_synced_commit":"49ae0ff1adf2446680be28d4bef9773a6da09521"},"previous_names":["dervexhero/globenv","dervexdev/globenv"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DervexDev%2Fglobenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DervexDev%2Fglobenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DervexDev%2Fglobenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DervexDev%2Fglobenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DervexDev","download_url":"https://codeload.github.com/DervexDev/globenv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241801989,"owners_count":20022563,"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":["environment","global","path","rust","variable"],"created_at":"2024-11-14T17:08:54.175Z","updated_at":"2025-03-04T07:21:45.018Z","avatar_url":"https://github.com/DervexDev.png","language":"Rust","readme":"# globenv\n\nGlobally set \u0026 read environment variables and paths (not just for the current process) on Windows, macOS or Linux\n\n\u003cdiv\u003e\n  \u003ca href=\"https://crates.io/crates/globenv\"\u003e\u003cimg alt='Version badge' src='https://img.shields.io/crates/v/globenv.svg'\u003e\u003c/a\u003e\n  \u003ca href=\"https://crates.io/crates/globenv\"\u003e\u003cimg alt='Downloads badge' src='https://img.shields.io/crates/d/globenv.svg'\u003e\u003c/a\u003e\n  \u003ca href=\"https://crates.io/crates/globenv\"\u003e\u003cimg alt='License badge' src='https://img.shields.io/crates/l/globenv.svg'\u003e\u003c/a\u003e\n  \u003ca href=\"https://docs.rs/globenv\"\u003e\u003cimg alt=\"Docs badge\" src=\"https://img.shields.io/docsrs/globenv\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n## Example:\n\n```rust\nuse globenv::*;\n\n// Get environment variable\nget_var(\"key\").unwrap().unwrap();\n// Set environment variable\nset_var(\"key\", \"value\").unwrap();\n// Remove environment variable\nremove_var(\"key\").unwrap();\n\n// Get all environment paths\nget_paths().unwrap();\n// Set environment path\nset_path(\"example/path\").unwrap();\n// Remove environment path\nremove_path(\"example/path\").unwrap();\n```\n\n## Credit:\n\nBased on the [globalenv](https://github.com/nicolasbauw/globalenv) by [@nicolasbauw](https://github.com/nicolasbauw)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdervexdev%2Fglobenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdervexdev%2Fglobenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdervexdev%2Fglobenv/lists"}