| Crates.io | env-sync |
| lib.rs | env-sync |
| version | 0.1.0 |
| created_at | 2025-09-20 19:02:16.72927+00 |
| updated_at | 2025-09-20 19:02:16.72927+00 |
| description | Easily update your local env file with a git-trackable file |
| homepage | |
| repository | https://github.com/anotherempty/env-sync |
| max_upload_size | |
| id | 1848125 |
| size | 70,579 |
A Rust CLI tool and library for synchronizing an environment file with a template file while preserving local customizations and comments.
Keep your .env files in sync with a git-trackable .env.template file. The tool preserves your local values, comments, and customizations while adopting the structure from the template.
# Sync .env with .env.template (default)
env-sync
# Specify custom files
env-sync -l .env.local -t .env.example
# Enable verbose logging
env-sync -v # debug level
env-sync -vv # trace level
# Using cargo
cargo install env-sync
# Using cargo-binstall
cargo binstall env-sync
MIT OR Apache-2.0