Commit Graph

1678 Commits

Author SHA1 Message Date
Steven Fackler
99cab46f38 Allow verification to be disabled in OpenSsl 2017-01-13 13:02:03 -08:00
Steven Fackler
b673d8a727 Make statement IDs globally unique
This avoids weird behavior when using a statement with the wrong
connection
2017-01-07 14:36:40 -08:00
Steven Fackler
de46ba2176 Merge pull request #224 from alexcrichton/box-impl
Enusre `Box<T: TlsHandshake>` implements `TlsHandshake`
2016-12-30 16:17:55 -08:00
Alex Crichton
4edcb7d334 Enusre Box<T: TlsHandshake> implements TlsHandshake 2016-12-30 14:46:14 -08:00
Steven Fackler
6275056953 Set the doc root 2016-12-26 17:38:07 -05:00
Steven Fackler
eb53d51512 Add a doc example 2016-12-26 17:19:43 -05:00
Steven Fackler
def38b4772 Fix docs lik 2016-12-26 17:00:07 -05:00
Steven Fackler
9298c7921c Fix doc link 2016-12-26 16:59:48 -05:00
Steven Fackler
90bc787b75 Release tokio-postgres v0.1.0 2016-12-26 16:48:10 -05:00
Steven Fackler
c62bedc4e4 Release postgres-shared v0.1.0 2016-12-26 16:46:32 -05:00
Steven Fackler
5004efb792 Rename crate 2016-12-26 16:41:09 -05:00
Steven Fackler
47738e3774 Cargo.toml updates 2016-12-26 16:36:34 -05:00
Steven Fackler
87034feb2b Fix build 2016-12-26 16:31:18 -05:00
Steven Fackler
2562d01796 Shift stuff around 2016-12-26 16:29:30 -05:00
Steven Fackler
2dc80bec2e Documentation 2016-12-26 16:21:20 -05:00
Steven Fackler
ba1d9d1f01 Split out stmt 2016-12-26 15:57:43 -05:00
Steven Fackler
a03e770141 Move row out 2016-12-26 15:50:36 -05:00
Steven Fackler
ac2b849f3f Split out transaction to a module 2016-12-26 15:43:08 -05:00
Steven Fackler
4266c79dd8 Add type features to tokio 2016-12-26 15:35:28 -05:00
Steven Fackler
32dc8923d7 Merge params 2016-12-26 15:31:49 -05:00
Steven Fackler
d17846f9ca Use published state-stream 2016-12-26 15:23:13 -05:00
Steven Fackler
faf6645fe7 Add a user that must use ssl for tests 2016-12-25 22:31:13 -05:00
Steven Fackler
1ba054a266 Actually delay by 1 second 2016-12-25 21:40:02 -05:00
Steven Fackler
a7f0488ee5 Add a cancel_query test 2016-12-25 21:30:07 -05:00
Steven Fackler
7810b96ad2 Unknown type support 2016-12-25 12:51:12 -05:00
Steven Fackler
f6cb7ea61a Cleanup 2016-12-24 17:59:48 -05:00
Steven Fackler
b1c9b45f1e Add cancel_query 2016-12-24 12:55:15 -05:00
Steven Fackler
f754391fe4 Consume self in handshake 2016-12-24 12:41:34 -05:00
Steven Fackler
de097259a1 TLS support 2016-12-24 12:21:26 -05:00
Steven Fackler
d8aed0931a Test unix sockets 2016-12-23 19:47:49 -05:00
Steven Fackler
e1de0c2dc5 transaction support 2016-12-23 14:55:00 -05:00
Steven Fackler
b0946fabf1 Transaction creation and completion 2016-12-23 14:09:05 -05:00
Steven Fackler
fb46202bd3 Bump minimum version
Required for futures to build
2016-12-23 11:01:35 -05:00
Steven Fackler
e62854a4c2 Add some methods to Row 2016-12-23 10:54:53 -05:00
Steven Fackler
a8717d26aa Fix features 2016-12-23 10:47:04 -05:00
Steven Fackler
7c6363292f Fix build 2016-12-23 00:39:12 -05:00
Steven Fackler
94841285a2 No need to explicitly flush 2016-12-23 00:33:11 -05:00
Steven Fackler
9466dfed2d Also test empty queries 2016-12-22 22:12:04 -05:00
Steven Fackler
40cba12807 Query! 2016-12-22 22:10:45 -05:00
Steven Fackler
643602d2b6 Move execute to Connection 2016-12-22 18:47:05 -05:00
Steven Fackler
38b491bffb Don't consume Statement 2016-12-22 17:00:40 -05:00
Steven Fackler
8b1034ad4e Add a Row struct 2016-12-22 15:30:03 -05:00
Steven Fackler
361c7bf395 Accessors for params and columns 2016-12-21 22:06:54 -05:00
Steven Fackler
ab672e42b4 Shift functions around 2016-12-21 21:54:11 -05:00
Steven Fackler
522ea10a98 Automatically close dead statements 2016-12-21 21:51:47 -05:00
Steven Fackler
29210bb38b Add Connection::close 2016-12-21 20:58:18 -05:00
Steven Fackler
fd1724a6e2 Support statement closure 2016-12-21 20:54:21 -05:00
Steven Fackler
f03b4b181a Send messages all at once 2016-12-21 20:34:19 -05:00
Steven Fackler
d27518ba76 Fix build 2016-12-21 15:56:59 -08:00
Steven Fackler
8340d4b5ab Statement peparation and execution 2016-12-21 12:45:54 -08:00