mirror of
https://github.com/openharmony/third_party_rust_env_logger.git
synced 2026-07-21 03:05:24 -04:00
prepare for 0.5.3 release (#63)
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "env_logger"
|
||||
version = "0.5.2" # remember to update html_root_url
|
||||
version = "0.5.3" # remember to update html_root_url
|
||||
authors = ["The Rust Project Developers"]
|
||||
license = "MIT/Apache-2.0"
|
||||
readme = "README.md"
|
||||
|
||||
@@ -18,7 +18,7 @@ It must be added along with `log` to the project dependencies:
|
||||
```toml
|
||||
[dependencies]
|
||||
log = "0.4.0"
|
||||
env_logger = "0.5.2"
|
||||
env_logger = "0.5.3"
|
||||
```
|
||||
|
||||
`env_logger` must be initialized as early as possible in the project. After it's initialized, you can use the `log` macros to do actual logging.
|
||||
@@ -54,7 +54,7 @@ Tests can use the `env_logger` crate to see log messages generated during that t
|
||||
log = "0.4.0"
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = "0.5.2"
|
||||
env_logger = "0.5.3"
|
||||
```
|
||||
|
||||
```rust
|
||||
|
||||
+1
-1
@@ -142,7 +142,7 @@
|
||||
|
||||
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "https://docs.rs/env_logger/0.5.2")]
|
||||
html_root_url = "https://docs.rs/env_logger/0.5.3")]
|
||||
#![cfg_attr(test, deny(warnings))]
|
||||
|
||||
// When compiled for the rustc compiler itself we want to make sure that this is
|
||||
|
||||
Reference in New Issue
Block a user