Compiling bottom v0.2.1
error: cannot find derive macro `Deserialize` in this scope
--> /home/dumontj/.cargo/registry/src/github.com-1ecc6299db9ec823/bottom-0.2.1/src/main.rs:59:19
|
59 | #[derive(Default, Deserialize)]
| ^^^^^^^^^^^
error: cannot find derive macro `Deserialize` in this scope
--> /home/dumontj/.cargo/registry/src/github.com-1ecc6299db9ec823/bottom-0.2.1/src/main.rs:65:19
|
65 | #[derive(Default, Deserialize)]
| ^^^^^^^^^^^
error: cannot find derive macro `Deserialize` in this scope
--> /home/dumontj/.cargo/registry/src/github.com-1ecc6299db9ec823/bottom-0.2.1/src/main.rs:82:19
|
82 | #[derive(Default, Deserialize)]
| ^^^^^^^^^^^
error[E0277]: the trait bound `Config: serde::de::Deserialize<'_>` is not satisfied
--> /home/dumontj/.cargo/registry/src/github.com-1ecc6299db9ec823/bottom-0.2.1/src/main.rs:432:6
|
432 | Ok(toml::from_str(config_str.as_str())?)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `serde::de::Deserialize<'_>` is not implemented for `Config`
|
::: /home/dumontj/.cargo/registry/src/github.com-1ecc6299db9ec823/toml-0.5.6/src/de.rs:77:8
|
77 | T: de::Deserialize<'de>,
| -------------------- required by this bound in `toml::de::from_str`
error: aborting due to 4 previous errors