Replace serde_derive with serde with derive feature
This commit is contained in:
parent
c2efbb6fd1
commit
9281922c72
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -88,7 +88,6 @@ dependencies = [
|
|||||||
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"nix 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"nix 0.15.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde_derive 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
"toml 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"toml 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"uinput-sys 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
"uinput-sys 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
@ -97,6 +96,9 @@ dependencies = [
|
|||||||
name = "serde"
|
name = "serde"
|
||||||
version = "1.0.101"
|
version = "1.0.101"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
dependencies = [
|
||||||
|
"serde_derive 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serde_derive"
|
name = "serde_derive"
|
||||||
|
@ -26,6 +26,5 @@ nix = "0.15.0"
|
|||||||
uinput-sys = "0.1.7"
|
uinput-sys = "0.1.7"
|
||||||
getopts = "0.2.21"
|
getopts = "0.2.21"
|
||||||
toml = "0.5.3"
|
toml = "0.5.3"
|
||||||
serde_derive = "1.0.101"
|
serde = { version = "1.0.101", features = ["derive"] }
|
||||||
serde = "1.0.101"
|
|
||||||
inotify = { version = "0.7.0", default-features = false, features = [] }
|
inotify = { version = "0.7.0", default-features = false, features = [] }
|
||||||
|
@ -400,7 +400,7 @@ impl KeyMapper for Key {
|
|||||||
}
|
}
|
||||||
|
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
use serde_derive::Deserialize;
|
use serde::Deserialize;
|
||||||
|
|
||||||
#[derive(Deserialize, Debug)]
|
#[derive(Deserialize, Debug)]
|
||||||
pub struct KeymapConfig {
|
pub struct KeymapConfig {
|
||||||
|
Loading…
Reference in New Issue
Block a user