Commit graph

183 commits

Author SHA1 Message Date
Tom Dohrmann
a944d99c1c support derives for sqlite 2020-03-20 10:21:15 +01:00
PoiScript
c9cca27e65 rename feature gate to ipnetwork 2020-03-20 10:19:14 +08:00
Ryan Leckey
0c4c80a51f Add more detail to description in Cargo.toml 2020-03-18 22:48:46 -07:00
Austin Bonander
94c40b3eb7 Postgres: implement numeric and BigDecimal support 2020-03-18 19:06:14 -07:00
Ryan Leckey
d1af2fe1b0 Prepare v0.3.0-alpha.1 2020-03-18 16:58:42 -07:00
Austin Bonander
6cea7e2c1b macros: add proper test for sqlite using database file 2020-03-17 21:10:19 -07:00
Ryan Leckey
f7e08ea4d8 Remove mention of old derives test 2020-03-17 19:33:20 -07:00
Ryan Leckey
d77b2b1e97 derives: update for new Decode/Encode traits and extensively test in usage 2020-03-17 19:26:59 -07:00
Ryan Leckey
602e61ab27 postgres: add support for decoding anonymous tuples and more fully test encoding/decoding records 2020-03-17 02:47:37 -07:00
Ryan Leckey
c76b3147d5 remove profile config from Cargo.toml 2020-03-17 01:11:00 -07:00
Tom Dohrmann
a600b5b856 add tests for postgres struct field encoding 2020-03-16 22:58:31 -07:00
Anthony Dodd
75a76395c6 Rename new example to match current nomenclature. 2020-03-15 02:17:14 -07:00
Anthony Dodd
ae7e15cbe3 Added demo program to show use of LISTEN/NOTIFY. 2020-03-15 02:17:14 -07:00
Ryan Leckey
a3799c3496 sqlite: implement command execution 2020-03-14 17:43:44 -07:00
Ryan Leckey
7ab07016da sqlite: initial work in connection 2020-03-14 17:43:44 -07:00
Ryan Leckey
5d042e35b1 sqlite: stub 2020-03-14 17:43:44 -07:00
Austin Bonander
fdff5ef4c6 update trybuild 2020-03-11 13:24:05 -07:00
Ryan Leckey
69fc6a51a9 Remove mysql-types-chrono test (covered by mysql-types) 2020-03-11 01:48:01 -07:00
Ryan Leckey
c9df8acc41 Add zero-allocation to MySQL query execution
WIP mysql compiles with types and executor commented out
2020-03-11 01:47:29 -07:00
Ryan Leckey
10d2b45d9c update dependencies and clean up some more unused imports 2020-03-11 01:46:06 -07:00
Ryan Leckey
f337f1c602 postgres: implement text mode for chrono and clean up type tests 2020-03-11 01:44:41 -07:00
Ryan Leckey
47f3d77e59 query_as: fully implement query_as, required a db-specific ext trait 2020-03-11 01:44:41 -07:00
Ryan Leckey
8e8cf6db20 postgres: fix various issues and add more tests 2020-03-11 01:44:06 -07:00
Ryan Leckey
433aab1e5b postgres: use RawValue in Decode and implement row-returning simple queries 2020-03-11 01:44:06 -07:00
Ryan Leckey
a374c18a18 postgres: rewrite protocol in more iterative and lazy fashion 2020-03-11 01:43:17 -07:00
Ryan Leckey
05bc3ba987 Prepare v0.2.6 2020-03-10 15:40:33 -07:00
Vlad Stepanov
322393c9ee [fix] revert default features 2020-03-01 11:57:32 +03:00
Vlad Stepanov
084add9cdb #115: implement time-rs support 2020-02-29 22:38:48 +03:00
Ryan Leckey
f8e112f4d9 Prepare v0.2.5 2020-02-01 00:49:27 -08:00
Ryan Leckey
7233caa579
Merge pull request #91 from Ace4896/todos-postgres-example
Add TODOs CLI Example for Postgres
2020-01-30 09:39:34 -08:00
Jane Lusby
ff731ce503 Enable raw ident support 2020-01-28 18:56:25 -08:00
Austin Bonander
214467841d
Merge pull request #85 from yaahc/unstable-features
Add doc_cfg attributes for conditional portions of the API
2020-01-27 16:04:18 -08:00
Jon Pacheco
eece922ac3 Add todos CLI example for postgres 2020-01-27 10:17:58 +00:00
Austin Bonander
f0c88da152
Merge pull request #71 from Freax13/master
add derives for Encode and Decode
2020-01-24 13:13:06 -08:00
Tom Dohrmann
1e9e816fab add proper encode/decode test 2020-01-24 18:36:04 +01:00
Jane Lusby
ea03fa47e7 Initial commit with doc_cfg changes 2020-01-22 13:10:10 -08:00
Austin Bonander
efed9b3d6d sqlx-macros: fix handling of invalid idents
add regression test with Trybuild

fix lint warnings as otherwise Trybuild wanted to include them
2020-01-21 01:52:57 -08:00
Ryan Leckey
3e6efc57b6 Prepare v0.2.4 2020-01-18 01:22:14 -08:00
Ryan Leckey
ac9aeb2e26 Prepare v0.2.3 2020-01-18 00:47:26 -08:00
Ryan Leckey
559bdb49c5 Prepare v0.2.2 (again) 2020-01-16 18:41:24 -08:00
Ryan Leckey
3b91b06828 Prepare v0.2.2 2020-01-16 18:31:48 -08:00
Ryan Leckey
35c5556512 Update dependencies 2020-01-16 18:29:58 -08:00
Ryan Leckey
d46acb0e0e default sqlx-core and sqlx-macros to runtime-async-std as well to make "cargo c" work during dev 2020-01-16 12:51:08 -08:00
Ryan Leckey
fe3225a8b8 Prepare v0.2.1 2020-01-16 01:52:47 -08:00
Ryan Leckey
62e1df5ad9 Prepare v0.2.0 2020-01-15 02:20:19 -08:00
Ryan Leckey
c42e859141 Add support for tokio to sqlx-macros 2020-01-15 01:54:50 -08:00
Ryan Leckey
daf7f6c556 Be explicit with features for docs.rs 2020-01-15 01:27:07 -08:00
Ryan Leckey
92f12e11aa Add support for Tokio 2020-01-15 01:17:33 -08:00
Austin Bonander
da5c538d22 strip out proc-macro-hack 2020-01-15 00:05:09 -08:00
Ryan Leckey
306ed9752d Add i8, date, time, and datetime (chrono) in query! for MySQL and remove bool 2020-01-14 23:32:30 -08:00
Austin Bonander
638852a2dd implement TLS support for Postgres 2020-01-13 11:52:09 -08:00
Ryan Leckey
2a19ab746b Prepare v0.1.4 2020-01-11 04:06:43 -08:00
Daniel Akhterov
507d988fc4 Implememnt SASL Authentication 2020-01-11 03:33:21 -08:00
Ryan Leckey
619de5aac2 Update dependencies 2020-01-11 03:30:03 -08:00
Ryan Leckey
132f7b2944 Add test_on_acquire option to the Pool 2020-01-11 01:01:21 -08:00
Kris
bad21b1567 Build docs for all features (#32) 2020-01-06 23:57:55 -08:00
Ryan Leckey
36d16c5cb2 (cargo-release) sqlx: v0.1.3 2020-01-06 11:10:24 -08:00
Ryan Leckey
53a3b205b0
Add keywords and categories 2020-01-04 01:37:37 -08:00
Ryan Leckey
bed6fddb56 (cargo-release) version 0.1.2 2020-01-03 22:12:43 -08:00
Ryan Leckey
1d2240848b [Postgres] Add integration test for Chrono + Postgres 2019-12-30 02:10:09 -08:00
Ryan Leckey
2a42ff9f0d [MySQL] Add an integration tests for chrono + MySQL and fix issues 2019-12-30 02:10:09 -08:00
Ryan Leckey
2068f05482 Update dependencies 2019-12-28 04:02:52 -08:00
Ryan Leckey
86ac601872 Prepare v0.1.1 2019-12-28 02:42:51 -08:00
Ryan Leckey
7b8ef0f46b Add more authors 2019-12-28 00:36:37 -08:00
Austin Bonander
7d745f98ea implement query_as!() et al, document query macros 2019-12-27 21:45:31 -08:00
Ryan Leckey
d76b1357da Audit MySql and Postgres protocols 2019-12-27 17:31:01 -08:00
Austin Bonander
8aa931356f WIP implement statement caching for MySQL, perform discussed refactors 2019-12-18 23:02:01 -08:00
Austin Bonander
ca3fbd740a implement support for chrono
fix tests
2019-12-11 19:59:41 -08:00
Austin Bonander
acca40c88e make query!() output anonymous records 2019-12-03 21:30:53 -08:00
Ryan Leckey
9558ab1c50 Remove bytes usage and update dependencies 2019-12-02 23:26:44 -08:00
Ryan Leckey
bf4f65ea2f [MySQL] Add fetch_optional, fix encode/decode for integers 2019-12-02 22:14:41 -08:00
Ryan Leckey
c4707bc53a Clean up Cargo.toml 2019-11-27 22:33:40 -08:00
Ryan Leckey
1e6e21046a Just call the example realworld 2019-11-27 15:23:00 -08:00
Ryan Leckey
49b1eab1f7 Clean up example and start a basic realworld one 2019-11-27 15:21:56 -08:00
Ryan Leckey
ab32d0a5c4 Add some initial type integration tests for Postgres 2019-11-23 09:02:56 +00:00
Ryan Leckey
f394acdb1c Minor cargo.toml cleanup 2019-11-22 11:52:03 +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
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