File tree 6 files changed +25
-5
lines changed 6 files changed +25
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ futures-preview = "=0.3.0-alpha.19"
20
20
native-tls = " 0.2"
21
21
tokio-io = " =0.2.0-alpha.6"
22
22
tokio-tls = " =0.3.0-alpha.6"
23
- tokio-postgres = { version = " 0.4 .0-rc .1" , path = " ../tokio-postgres" , default-features = false }
23
+ tokio-postgres = { version = " =0.5 .0-alpha .1" , path = " ../tokio-postgres" , default-features = false }
24
24
25
25
[dev-dependencies ]
26
26
tokio = " =0.2.0-alpha.6"
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ futures-preview = "=0.3.0-alpha.19"
20
20
openssl = " 0.10"
21
21
tokio-io = " =0.2.0-alpha.6"
22
22
tokio-openssl = " =0.4.0-alpha.6"
23
- tokio-postgres = { version = " 0.4 .0-rc .1" , path = " ../tokio-postgres" , default-features = false }
23
+ tokio-postgres = { version = " 0.5 .0-alpha .1" , path = " ../tokio-postgres" , default-features = false }
24
24
25
25
[dev-dependencies ]
26
26
tokio = " =0.2.0-alpha.6"
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ bytes = "0.4"
32
32
fallible-iterator = " 0.2"
33
33
futures-preview = " =0.3.0-alpha.19"
34
34
pin-utils = " =0.1.0-alpha.4"
35
- tokio-postgres = { version = " 0.4 .0-rc.2 " , path = " ../tokio-postgres" , default-features = false }
35
+ tokio-postgres = { version = " =0.5 .0-alpha.1 " , path = " ../tokio-postgres" , default-features = false }
36
36
tokio-executor = " =0.2.0-alpha.6"
37
37
38
38
tokio = { version = " =0.2.0-alpha.6" , optional = true }
Original file line number Diff line number Diff line change 1
1
# Change Log
2
2
3
+ ## v0.5.0-alpha.1 - 2019-10-14
4
+
5
+ ### Changed
6
+
7
+ * The library now uses ` std::futures::Future ` and async/await syntax.
8
+ * Most methods now take ` &self ` rather than ` &mut self ` .
9
+ * The transaction API has changed to more closely resemble the synchronous API and is significantly more ergonomic.
10
+ * Methods now take ` &[&(dyn ToSql + Sync)] ` rather than ` &[&dyn ToSql] ` to allow futures to be ` Send ` .
11
+ * Methods are now "normal" async functions that no longer do work up-front.
12
+ * Statements are no longer required to be prepared explicitly before use. Methods taking ` &Statement ` can now also take
13
+ ` &str ` , and will internally prepare the statement.
14
+ * ` ToSql ` now serializes its value into a ` BytesMut ` rather than ` Vec<u8> ` .
15
+ * Methods that previously returned ` Stream ` s now return ` Vec<T> ` . New ` *_raw ` methods still provide a ` Stream `
16
+ interface.
17
+
18
+ ### Added
19
+
20
+ * Added the ` channel_binding=disable/allow/require ` configuration to control use of channel binding.
21
+ * Added the ` Client::query_one ` method to cover the common case of a query that returns exactly one row.
22
+
3
23
## v0.4.0-rc.3 - 2019-06-29
4
24
5
25
### Fixed
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " tokio-postgres"
3
- version = " 0.4 .0-rc.3 "
3
+ version = " 0.5 .0-alpha.1 "
4
4
authors = [" Steven Fackler <sfackler@gmail.com>" ]
5
5
edition = " 2018"
6
6
license = " MIT/Apache-2.0"
Original file line number Diff line number Diff line change 101
101
//! as an argument. The `NoTls` type in this crate can be used when TLS is not required. Otherwise, the
102
102
//! `postgres-openssl` and `postgres-native-tls` crates provide implementations backed by the `openssl` and `native-tls`
103
103
//! crates, respectively.
104
- #![ doc( html_root_url = "https://docs.rs/tokio-postgres/0.4.0-rc.3 " ) ]
104
+ #![ doc( html_root_url = "https://docs.rs/tokio-postgres/0.5 " ) ]
105
105
#![ warn( rust_2018_idioms, clippy:: all, missing_docs) ]
106
106
107
107
pub use crate :: client:: Client ;
You can’t perform that action at this time.
0 commit comments