Commit graph

256 commits

Author SHA1 Message Date
Ryan Leckey
fecd367e8d Update dependencies 2019-11-21 23:59:38 +00:00
Ryan Leckey
2b2d37573c Merge remote-tracking branch 'origin/ab/async-std' 2019-11-21 23:32:53 +00:00
Ryan Leckey
e47e90ec75 Add small tide example 2019-11-21 23:29:40 +00:00
Austin Bonander
020eed90c8 port to async-std, misc fixes 2019-11-21 22:10:49 +00:00
Ryan Leckey
d6e9c47da8 Add a few protocol codec benchmarks 2019-11-21 18:18:42 +00:00
Ryan Leckey
067f1e613c Expose postgres::protocol with unstable flag 2019-11-21 18:18:31 +00:00
Ryan Leckey
755cfaddd1 Merge remote-tracking branch 'origin/ab/sql-macro' 2019-11-20 17:05:36 +00:00
Ryan Leckey
3b76ecbdb1 Pin to stable 2019-11-20 17:05:21 +00:00
Austin Bonander
0e137e107a proof of concept, infer sql types as rust types at compile time 2019-11-19 19:55:17 +00:00
Austin Bonander
3a76f9d207 prototyping sql!() macro 2019-11-19 19:54:23 +00:00
Ryan Leckey
1b855f581b Update dependencies (remove git patch for async-stream) 2019-09-11 11:26:15 -07:00
Ryan Leckey
b911297586 Export MariaDb from root 2019-09-10 23:44:38 -07:00
Ryan Leckey
b52c0e3d8e Minor change to the tagline 2019-09-10 23:31:12 -07:00
Ryan Leckey
969f3fd153 Factor out a separation between RawConnection and Connection (and add async_trait) 2019-09-10 22:31:01 -07:00
Ryan Leckey
56a53f6c98 Comment out failure in Cargo.toml 2019-09-03 07:41:25 -07:00
Ryan Leckey
7b992f2829 Remove leading = in dependency versions 2019-09-03 06:56:22 -07:00
Ryan Leckey
e903884451 Update dependencies 2019-09-02 17:39:04 -07:00
Ryan Leckey
d26f72e1e6 Clean up Postgres Connection and start (finally) bubbling database errors 2019-09-02 16:52:54 -07:00
Ryan Leckey
c8559cac84 Remove postgres::protocol::{Buf, BufMut} and use crate::io::{Buf, BufMut} instead 2019-08-29 00:16:54 -07:00
Ryan Leckey
ee30296e32 Run rustfmt and remove some unneeded stuff 2019-08-28 08:08:24 -07:00
Daniel Akhterov
91fc27a5b8 Test Compile 2019-08-28 08:03:29 -07:00
Daniel Akhterov
0917e84e0f Remove enum_try_from crate 2019-08-28 08:02:18 -07:00
Ryan Leckey
0d49de2d13 Remove broken benchmark 2019-08-25 14:06:59 -07:00
Ryan Leckey
2d5170d742 Prune dependency list and remove unused imports 2019-08-20 20:10:18 -07:00
Ryan Leckey
ab847f76c4 Remove select benchmark, too variable 2019-08-20 16:29:20 -07:00
Ryan Leckey
0c4cfaf2fc Add benchmarks for decode performance of DataRow and optimize a bit 2019-08-19 15:31:36 -07:00
Ryan Leckey
5e001045e2 Update rust and dependencies 2019-08-19 12:25:01 -07:00
Ryan Leckey
f79e901a3c Add diesel to select bench 2019-08-18 19:32:23 -07:00
Ryan Leckey
9f8c510d36 Add a simple benchmark comparing SELECT performance 2019-08-18 19:06:06 -07:00
Ryan Leckey
c280ad587f Move to sqlx::query( ... ).execute style API 2019-08-18 18:33:45 -07:00
Ryan Leckey
78b3ae4a19 Add connection string parsing for postgres, run rustfmt over mariadb, use constants for ErrorCode 2019-08-09 21:46:49 -07:00
Ryan Leckey
acf78d5a43 Initial version of connection pool 2019-08-08 10:22:20 -07:00
Ryan Leckey
7a067387e8 Make postgres and mariadb optional features of SQLx 2019-08-06 23:20:50 -07:00
Ryan Leckey
9df8813d4b Remove example playground and add a small example, a todo cli 2019-08-06 22:28:06 -07:00
Ryan Leckey
643bc6ed0e Sort dependencies 2019-08-06 21:44:43 -07:00
Ryan Leckey
1c64dc32ab Disable default features of runtime 2019-08-06 21:33:35 -07:00
Ryan Leckey
0b98527550 Update rustc and dependencies 2019-08-06 07:19:06 -07:00
Daniel Akhterov
ffe25704fc Fix capabilities 2019-08-05 21:16:44 -07:00
Daniel Akhterov
2cce6fba01 Rename and merge crate as a package 2019-07-26 15:27:55 -07:00
Daniel Akhterov
9d8b567790 WIP: Mariadb initial handshake packet 2019-07-26 15:10:18 -07:00
Ryan Leckey
7c70445e3d Move main.rs to examples/postgres 2019-07-26 09:20:09 -07:00
Ryan Leckey
3d01db84a0 Add create/drop database to the main driver 2019-07-26 08:43:46 -07:00
Ryan Leckey
04f56570a4 Collapse into 1 crate 2019-07-25 23:41:50 -07:00
Zachery Gyurkovitz
a49191fd46 Change get_results to produce a Stream 2019-07-25 11:54:36 -07:00
Ryan Leckey
908f228fb5 Update Rust and dependencies 2019-07-17 22:04:38 -07:00
Ryan Leckey
c040c97cb3 Initial experiment with the low-level API and PREPARE + EXECUTE queries 2019-07-16 01:15:12 -07:00
Ryan Leckey
4c90e026f7 Improve performance and minor tweaks 2019-06-29 21:32:39 -07:00
Ryan Leckey
ee449d351b Update dependencies 2019-06-28 21:39:36 -07:00
Ryan Leckey
5c73e220b6 Set up a connection benchmark using a mocked pg server 2019-06-26 12:49:08 -07:00
Ryan Leckey
22f71df7c7 mason -> sqlx 2019-06-22 20:54:43 -07:00
Ryan Leckey
3fa880f5f3 Optimize encode performance for NoticeResponse 2019-06-21 20:58:32 -07:00
Ryan Leckey
eaeef57b96 Experiment with lazy decoding of NoticeResponse 2019-06-20 22:41:13 -07:00
Ryan Leckey
3bc3be1ab1 Work more on client/server protocol 2019-06-15 23:13:54 -07:00
Ryan Leckey
fda6d9ef81 Establish a solid foundation with mason-postgres 2019-06-10 21:59:56 -07:00
Ryan Leckey
7fd4918c48 Initial low-level connection interface 2019-06-07 15:34:21 -07:00
Ryan Leckey
d29b24abf0 Initial commit 2019-06-06 06:10:50 -07:00