diff options
| author | Asher Gomez <ashersaupingomez@gmail.com> | 2023-11-02 02:21:13 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-01 15:21:13 +0000 |
| commit | f8f4e776325efe0d8dd50207beecb425f0875999 (patch) | |
| tree | f8781d719f6e980fe34dcf415e607e2826692573 /Cargo.lock | |
| parent | 53248e9bb3123a1b684f3f9f744bb671dfa53bc1 (diff) | |
feat(unstable): `deno run --env` (#20300)
This change adds the `--env=[FILE]` flag to the `run`, `compile`,
`eval`, `install` and `repl` subcommands. Environment variables set in
the CLI overwrite those defined in the `.env` file.
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index dcb1e7d0c..5d3f231b4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1029,6 +1029,7 @@ dependencies = [ "deno_semver", "deno_task_shell", "dissimilar", + "dotenvy", "dprint-plugin-json", "dprint-plugin-markdown", "dprint-plugin-typescript", @@ -2086,6 +2087,12 @@ dependencies = [ ] [[package]] +name = "dotenvy" +version = "0.15.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" + +[[package]] name = "dprint-core" version = "0.62.1" source = "registry+https://github.com/rust-lang/crates.io-index" |
