mirror of
https://github.com/eyre-rs/eyre.git
synced 2025-09-27 13:01:29 +00:00
Update owo-colors
This commit is contained in:
parent
f7e61e648f
commit
37d4dce5c4
@ -14,7 +14,7 @@ readme = "README.md"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
tracing-error = "0.1.2"
|
tracing-error = "0.1.2"
|
||||||
tracing-core = "0.1.10"
|
tracing-core = "0.1.10"
|
||||||
owo-colors = "1.2.0"
|
owo-colors = "3.2.0"
|
||||||
once_cell = "1.4.1"
|
once_cell = "1.4.1"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
@ -4,6 +4,6 @@
|
|||||||
at [35mtests/themes.rs[0m:[35m42[0m
|
at [35mtests/themes.rs[0m:[35m42[0m
|
||||||
40 │ use tracing_subscriber::{prelude::*, registry::Registry};
|
40 │ use tracing_subscriber::{prelude::*, registry::Registry};
|
||||||
41 │
|
41 │
|
||||||
[37m[1m 42 > #[instrument][0m
|
[37;1m 42 > #[instrument][0m
|
||||||
43 │ fn test_capture(x: u8) -> SpanTrace {
|
43 │ fn test_capture(x: u8) -> SpanTrace {
|
||||||
44 │ if x == 42 {
|
44 │ #[allow(clippy::if_same_then_else)]
|
@ -40,8 +40,8 @@ use tracing_error::SpanTrace;
|
|||||||
use tracing_subscriber::{prelude::*, registry::Registry};
|
use tracing_subscriber::{prelude::*, registry::Registry};
|
||||||
|
|
||||||
#[instrument]
|
#[instrument]
|
||||||
#[allow(clippy::clippy::if_same_then_else)]
|
|
||||||
fn test_capture(x: u8) -> SpanTrace {
|
fn test_capture(x: u8) -> SpanTrace {
|
||||||
|
#[allow(clippy::if_same_then_else)]
|
||||||
if x == 42 {
|
if x == 42 {
|
||||||
SpanTrace::capture()
|
SpanTrace::capture()
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user