v0.1.1
Additions
- [config] Add
sentry
feature for parsing DSNs in Rust
Fixes
- [config] Remove the restriction of
TryParseError
(andMapTryParseError
)'s generics to beTryFromEnvValue
to be any generic. In cases likePathBuf
returning this error:
error[E0277]: `?` couldn't convert the error: `std::path::PathBuf: std::fmt::Display` is not satisfied
--> /git/charted/server/crates/configuration/src/server/ssl.rs:54:39
|
54 | cert: env::try_parse(CERT)?,
| --------------------^ `std::path::PathBuf` cannot be formatted with the default formatter; call `.display()` on it
| |
| this can't be annotated with `?` because it has type `Result<_, azalia::azalia_config::env::TryParseError<std::path::PathBuf>>`
|
= help: the trait `std::fmt::Display` is not implemented for `std::path::PathBuf`
= note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
= note: required for `azalia::azalia_config::env::TryParseError<std::path::PathBuf>` to implement `std::error::Error`
= note: required for `eyre::Report` to implement `std::convert::From<azalia::azalia_config::env::TryParseError<std::path::PathBuf>>`
Full Changelog: 0.1.0...0.1.1