Skip to content

Commit

Permalink
Updated dependencies. (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
ICGog authored Aug 20, 2020
1 parent f33e4fa commit 5152b7a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
20 changes: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ keywords = ["data-flow", "robotics", "autonomos", "driving"]
abomonation = "0.7.3"
abomonation_derive = "0.5.0"
async-trait = "0.1.18"
bincode = "1.2.1"
bytes = "0.5.4"
byteorder = "1.0.0"
bincode = "1.3.1"
bytes = "0.5.6"
byteorder = "1.3.4"
clap = "2.33.0"
futures = "0.3.1"
futures-util = "0.3.1"
futures = "0.3.5"
futures-util = "0.3.5"
lazy_static = "1.4.0"
petgraph = "0.5.0"
pyo3 = { version = "0.8.2", features = ["unsound-subclass"], optional = true }
rand = "0.3"
serde = { version = "1.0.99", features = ["derive"] }
serde = { version = "1.0.115", features = ["derive"] }
slog = "2.4.2"
slog-term = "2.4.2"
tokio = { version = "0.2.11", features = ["sync", "tcp", "io-util", "rt-core", "rt-threaded", "time", "macros", "stream", "blocking"] }
tokio-util = { version = "0.2.0", features = ["codec"] }
tokio = { version = "0.2.22", features = ["sync", "tcp", "io-util", "rt-core", "rt-threaded", "time", "macros", "stream", "blocking"] }
tokio-util = { version = "0.3.1", features = ["codec"] }
tokio-serde-bincode = "0.2"
uuid = { version = "0.7", features = ["v4", "v5", "serde"] }

Expand All @@ -41,8 +41,8 @@ slog = "2.4.2"
slog-term = "2.4.2"

[dev-dependencies]
criterion = "0.3.1"
criterion-macro = "0.3.1"
criterion = "0.3.3"
criterion-macro = "0.3.3"
nix = "0.17.0"

[features]
Expand Down
3 changes: 1 addition & 2 deletions src/communication/control_message_codec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ impl Decoder for ControlMessageCodec {
}
}

impl Encoder for ControlMessageCodec {
type Item = ControlMessage;
impl Encoder<ControlMessage> for ControlMessageCodec {
type Error = CodecError;

fn encode(&mut self, msg: ControlMessage, buf: &mut BytesMut) -> Result<(), CodecError> {
Expand Down
3 changes: 1 addition & 2 deletions src/communication/message_codec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ impl Decoder for MessageCodec {
}
}

impl Encoder for MessageCodec {
type Item = InterProcessMessage;
impl Encoder<InterProcessMessage> for MessageCodec {
type Error = CodecError;

/// Encodes a InterProcessMessage into a buffer.
Expand Down

0 comments on commit 5152b7a

Please sign in to comment.