$ cargo build --features serde
Compiling marked-yaml v0.7.0 (/home/xnuk/marked-data/marked-yaml)
error[E0308]: mismatched types
--> marked-yaml/src/spanned_serde.rs:624:20
|
624 | error: e,
| ^ expected `Box<Error>`, found `Error`
|
= note: expected struct `Box<spanned_serde::Error>`
found enum `spanned_serde::Error`
= note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html
help: store this in the heap by calling `Box::new`
|
624 | error: Box::new(e),
| +++++++++ +
For more information about this error, try `rustc --explain E0308`.
error: could not compile `marked-yaml` (lib) due to 1 previous error
features = ['serde', 'serde-path'] does not have build errors.
features = ['serde', 'serde-path']
does not have build errors.