Skip to content

Commit

Permalink
doc: update version of tracing-subscriber
Browse files Browse the repository at this point in the history
This fixes the issue tokio-rs/tracing#2573
  • Loading branch information
nikhil-prabhu committed Jan 3, 2025
1 parent 362d09f commit 96c2c26
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ First, add the library to your project by adding the following to your `Cargo.to
# ...
cloud-detect = "2"
tokio = { version = "1", features = ["full"] }
tracing-subscriber = { version = "0.2", features = ["env-filter"] } # Optional; for logging.
tracing-subscriber = { version = "0.3", features = ["env-filter"] } # Optional; for logging.
```

To use the non-async blocking API instead, enable the `blocking` feature:
Expand All @@ -46,7 +46,7 @@ To use the non-async blocking API instead, enable the `blocking` feature:
[dependencies]
# ...
cloud-detect = { version = "2", features = ["blocking"] }
tracing-subscriber = { version = "0.2", features = ["env-filter"] } # Optional; for logging.
tracing-subscriber = { version = "0.3", features = ["env-filter"] } # Optional; for logging.
```

Detect the cloud provider and print the result (with default timeout; async).
Expand Down
2 changes: 1 addition & 1 deletion src/blocking/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! ```toml
//! # ...
//! cloud_detect = { version = "2", features = ["blocking"] }
//! tracing-subscriber = { version = "0.2", features = ["env-filter"] } # Optional; for logging
//! tracing-subscriber = { version = "0.3", features = ["env-filter"] } # Optional; for logging
//! ```
//!
//! ## Examples
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
//! # ...
//! cloud_detect = "2"
//! tokio = { version = "1", features = ["full"] }
//! tracing-subscriber = { version = "0.2", features = ["env-filter"] } # Optional; for logging
//! tracing-subscriber = { version = "0.3", features = ["env-filter"] } # Optional; for logging
//! ```
//!
//! ## Examples
Expand Down

0 comments on commit 96c2c26

Please sign in to comment.