Skip to content

Commit

Permalink
Make env-logger an optional dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
wks committed Nov 6, 2024
1 parent 6967a58 commit d3ebf5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ crossbeam = "0.8.1"
delegate = "0.12.0"
downcast-rs = "1.1.1"
enum-map = "2.4.2"
env_logger = "0.11.3"
env_logger = { version = "0.11.3", optional = true }
is-terminal = "0.4.7"
itertools = "0.12.0"
jemalloc-sys = { version = "0.5.3", features = ["disable_initial_exec_tls"], optional = true }
Expand Down Expand Up @@ -71,7 +71,7 @@ default = ["builtin_env_logger"]
# Built-in env_logger. This feature is enabled by default.
# The user can disable this default feature to remove `env_logger` from the dependencies.
# See `crate::util::logger` for more details.
builtin_env_logger = []
builtin_env_logger = ["dep:env_logger"]

# This feature is only supported on x86-64 for now
# It's manually added to CI scripts
Expand Down

0 comments on commit d3ebf5a

Please sign in to comment.