diff --git a/Cargo.lock b/Cargo.lock index bc8e9df..79fec33 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -384,6 +384,12 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" +[[package]] +name = "dotenvy" +version = "0.15.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b" + [[package]] name = "env_filter" version = "0.1.2" @@ -1213,6 +1219,7 @@ dependencies = [ "assert_cmd", "clap", "color-eyre", + "dotenvy", "env_logger", "fluent-templates", "log", diff --git a/Cargo.toml b/Cargo.toml index 9b44f0c..0f5c7de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,6 +15,7 @@ env_logger = [] [dependencies] clap = { version = "4", features = ["derive", "env", "unicode", "cargo"] } color-eyre = "0.6" +dotenvy = "0.15.7" env_logger = "0.11" fluent-templates = { version = "0.9", optional = true, default-features = false, features = ["tera", "use-ignore"] } log = "0.4" diff --git a/README.md b/README.md index 624000b..0c59439 100644 --- a/README.md +++ b/README.md @@ -193,7 +193,7 @@ Passing the `-a | --escape` flag allows escaping the content. Usage: tera [OPTIONS] --template