Commit graph

917 commits

Author SHA1 Message Date
Austin Bonander
aee3c4fe48 remove unnecessary .gitignore elements 2019-11-22 10:36:49 +00:00
Austin Bonander
fc07830639 implement facade crate so macros can be used from same namespace 2019-11-22 10:30:16 +00:00
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
Ryan Leckey
f02b01dcb6 Slim down Connection and require &mut on Executor 2019-11-21 23:29:32 +00:00
Ryan Leckey
4b025e7249 Remove rustfmt.toml 2019-11-21 23:28:23 +00:00
Austin Bonander
020eed90c8 port to async-std, misc fixes 2019-11-21 22:10:49 +00:00
Ryan Leckey
42c3073089 connection.bak -> connection 2019-11-21 21:40:31 +00:00
Ryan Leckey
ec6a3d8021 Fix typo in module comment 2019-11-21 19:33:39 +00:00
Ryan Leckey
47867398c2 Run rustfmt 2019-11-21 18:19:01 +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
426b6926d7 Fix tests for row description 2019-11-21 18:18:15 +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
bf6aead81c comment on weird use of match/if-guards 2019-11-20 09:26:31 +00:00
Austin Bonander
d25095bd7b fix all nits 2019-11-19 19:56:21 +00:00
Austin Bonander
1733adaad7 fix comments, errors and run rustfmt 2019-11-19 19:55:17 +00:00
Austin Bonander
2ab07798fc fix sqlx-macros/Cargo.toml 2019-11-19 19:55:17 +00:00
Austin Bonander
d3df2dd210 "prepare" -> "describe" and use unnamed statement 2019-11-19 19:55:17 +00:00
Austin Bonander
5cbd3f9e20 fix clippy, rustfmt errors 2019-11-19 19:55:17 +00:00
Austin Bonander
8d844033f7 remove src/bin/cargo-sqlx.rs 2019-11-19 19:55:17 +00:00
Austin Bonander
22f3d6cae1 implement binary types for MariaDB 2019-11-19 19:55:17 +00:00
Austin Bonander
bbdc03c576 unified prepared statement interface 2019-11-19 19:55:17 +00:00
Austin Bonander
c993e4eee0 hide and comment on the existence of TyCons[Ext] 2019-11-19 19:55:17 +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
b05ec7686a add parameter support to the sqlx macro 2019-11-19 19:54:23 +00:00
Austin Bonander
3a76f9d207 prototyping sql!() macro 2019-11-19 19:54:23 +00:00
Austin Bonander
298421b45a prototyped statement preparation 2019-11-19 19:54:23 +00:00
Austin Bonander
f7d743f673 prototyping compile-time checked sql macro 2019-11-19 19:54:23 +00:00
Ryan Leckey
57a5b56760 Minor tweaks and remove some commented code 2019-11-18 14:51:44 +00:00
Ryan Leckey
5b6c4ad8fa Re-arrange tests for postgres connection 2019-09-11 22:25:41 -07:00
Ryan Leckey
1b855f581b Update dependencies (remove git patch for async-stream) 2019-09-11 11:26:15 -07:00
Ryan Leckey
b23b42e554 Restrict #[allow(unused)] to mariadb::protocol 2019-09-11 11:25:23 -07:00
Ryan Leckey
b185dcfb0e Update rustc 2019-09-10 23:46:22 -07:00
Ryan Leckey
b911297586 Export MariaDb from root 2019-09-10 23:44:38 -07:00
Ryan Leckey
64a2b3bb12 Merge branch 'master' of ssh://github.com/mehcode/sqlx 2019-09-10 23:31:14 -07:00
Ryan Leckey
b52c0e3d8e Minor change to the tagline 2019-09-10 23:31:12 -07:00
Daniel Akhterov
f36d9bb9ba Update ToSql and FromSql to be Db dependent 2019-09-10 23:29:11 -07:00
Ryan Leckey
b22203f98c Remove (now) unused options file 2019-09-10 23:23:25 -07:00
Daniel Akhterov
62f11b5b0b Add mariadb tests and HasSql 2019-09-10 23:14:39 -07:00
Ryan Leckey
fb877fee28 Adjust mariadb for async-trait usage 2019-09-10 22:51:23 -07:00
Ryan Leckey
47b06edad1 Run rustfmt 2019-09-10 22:31:18 -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
Daniel Akhterov
351affc617 Update mariadb connection to be able to prepare and execute 2019-09-10 21:48:46 -07:00
Ryan Leckey
188982e12c [mariadb] WIP connection 2019-09-10 18:07:05 -07:00
Ryan Leckey
d5a543d5cf [mariadb] fix protocol tests 2019-09-10 17:49:21 -07:00
Ryan Leckey
01dbcd3ff5 [mariadb] export more from protocol 2019-09-10 17:47:04 -07:00
Ryan Leckey
c29e0d3547 [mariadb] finish refactor of binary protocol 2019-09-10 17:45:24 -07:00