{"id":17252150,"url":"https://github.com/eagletmt/denv-rust","last_synced_at":"2025-03-26T07:23:23.307Z","repository":{"id":57617890,"uuid":"77845718","full_name":"eagletmt/denv-rust","owner":"eagletmt","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-10T15:09:53.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T09:50:56.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/eagletmt.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":"2017-01-02T16:15:25.000Z","updated_at":"2021-09-10T15:09:56.000Z","dependencies_parsed_at":"2022-09-08T08:10:59.927Z","dependency_job_id":null,"html_url":"https://github.com/eagletmt/denv-rust","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eagletmt%2Fdenv-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eagletmt%2Fdenv-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eagletmt%2Fdenv-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eagletmt%2Fdenv-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eagletmt","download_url":"https://codeload.github.com/eagletmt/denv-rust/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245606608,"owners_count":20643212,"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":[],"created_at":"2024-10-15T06:53:08.695Z","updated_at":"2025-03-26T07:23:23.286Z","avatar_url":"https://github.com/eagletmt.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# denv-rust\n[![Build Status](https://github.com/eagletmt/denv-rust/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/eagletmt/denv-rust/actions/workflows/ci.yml)\n[![crates.io](https://img.shields.io/crates/v/denv.svg)](https://crates.io/crates/denv)\n\nLoad environment variables from .env file.\n\n## CLI usage\n```\nUsage: denv [OPTIONS] COMMAND...\n\nOptions:\n    -f, --filename FILENAME\n                        Path to .env file\n    -h, --help          Print help\n```\n\n```\n% cat .env\nFOO=bar\n% denv printenv FOO\nbar\n% cat hoge.env\nHOGE=fuga\n% denv -f printenv HOGE\nfuga\n```\n\n## Library usage\n```rust\ndenv::load(\"/path/to/.env\").expect(\"Unable to load .env file\");\n```\n\n## Acknowledgment\nOriginal implementation is written by taiki45.\nhttps://github.com/taiki45/denv\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feagletmt%2Fdenv-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feagletmt%2Fdenv-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feagletmt%2Fdenv-rust/lists"}