Skip to content

Commit 6b00876

Browse files
authored
Use the bytes crate for backend message parsing (#253)
1 parent 413d1db commit 6b00876

File tree

9 files changed

+276
-325
lines changed

9 files changed

+276
-325
lines changed

postgres-protocol/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ documentation = "https://docs.rs/postgres-protocol/0.2.2/postgres_protocol"
99
readme = "../README.md"
1010

1111
[dependencies]
12+
bytes = "0.4"
1213
byteorder = "1.0"
1314
fallible-iterator = "0.1"
1415
md5 = "0.3"

postgres-protocol/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
//! set to `UTF8`. It will most likely not behave properly if that is not the case.
1212
#![doc(html_root_url="https://docs.rs/postgres-protocol/0.2.2")]
1313
#![warn(missing_docs)]
14+
extern crate bytes;
1415
extern crate byteorder;
1516
extern crate fallible_iterator;
1617
extern crate md5;

0 commit comments

Comments
 (0)