tokio-rs / tracing

Application level tracing for Rust.
https://tracing.rs
MIT License
5.48k stars 721 forks source link

tracing-log 0.2.0 is missing env_logger #3081

Open jethrogb opened 1 month ago

jethrogb commented 1 month ago

When looking through the git history, it appears as if the env_logger module/feature of tracing-log has been there for years. But when downloading the 0.2.0 crate from crates.io, it's missing:

tracing-log$ grep -m1 ^version Cargo.toml
version = "0.2.0"
tracing-log$ ls src/
interest_cache.rs  lib.rs  log_tracer.rs
tracing-log$ 
jethrogb commented 1 month ago

I see this comment in the master branch:

The master branch is the pre-release, development version of tracing. Please see the v0.1.x branch for the versions of tracing released to crates.io.

Does this mean I'm supposed to look at v0.1.x for 0.2?

kaffarell commented 1 month ago

env_logger has been dropped from 0.2 (master branch). See #2771 and #2750. Note that the latest stable version is 0.1.x (on the 0.1.x branch).