You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tracing_core::Value is currently missing implementations for some pretty common types from the standard library. The ones I ran into:
f32 and f64
String — this will (I think) move the type, so it may not do what people want, but it'll give us &String. If we could implement for AsRef<str>, now that would be neat. But may not work because of coherence.
Cow<T> where T: Value (though this may require a MSRV bump for this)
Of course, it's possible to use %/Display for these, but it'd be nice if one didn't have to.
The text was updated successfully, but these errors were encountered:
tracing_core::Value
is currently missing implementations for some pretty common types from the standard library. The ones I ran into:f32
andf64
String
— this will (I think) move the type, so it may not do what people want, but it'll give us&String
. If we could implement forAsRef<str>
, now that would be neat. But may not work because of coherence.Cow<T> where T: Value
(though this may require a MSRV bump for this)Of course, it's possible to use
%
/Display
for these, but it'd be nice if one didn't have to.The text was updated successfully, but these errors were encountered: