diff --git a/Cargo.toml b/Cargo.toml index 86b2123..55567a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ documentation = "http://docs.rs/tokio-serial" readme = "README.md" keywords = ["rs232", "serial", "tokio"] categories = ["asynchronous", "hardware-support"] -edition = "2018" +edition = "2021" [package.metadata] msrv = "1.46.0" @@ -23,6 +23,7 @@ default = [] libudev = ["mio-serial/libudev"] rt = ["tokio/rt-multi-thread"] codec = ["tokio-util/codec", "bytes"] +serde = ["mio-serial/serde"] [dependencies.futures] version = "0.3"