Ryan Leckey
78f2633b26
Update dependencies
2020-03-26 19:16:54 -07:00
Ryan Leckey
a90ff10a27
Prepare v0.3.0-alpha.2
2020-03-25 04:58:22 -07:00
Ryan Leckey
e2f90c8f85
Update dependencies
2020-03-23 22:07:38 -07:00
Ryan Leckey
4881e7dcee
Update dependencies
2020-03-21 03:01:54 -07:00
Ryan Leckey
db543f8391
clean up Time impl, impl for text modes
2020-03-21 02:34:21 -07:00
Ryan Leckey
4a98a51a19
Merge remote-tracking branch 'utter-step/time-rs'
2020-03-21 01:25:00 -07:00
Ryan Leckey
05d8ac2747
Finish up JSON/JSONB support for Postgres
...
* implement for &serde_json::RawValue
* sqlx::types::Json<T> is a common type that all JSON-compatible databases can implement for,
postgres implements Json<T> as JSONB
* sqlx::postgres::types::PgJson<T> resolves to JSON
* sqlx::postgres::types::PgJsonB<T> resolves to JSONB
2020-03-21 01:16:34 -07:00
Oliver Bøving
b7e53e885a
First draft of JSON/JSONB support for postgres
...
This introduces two new wrapper types `Json` and `Jsonb`, currently
exported by `sqlx::postgres::{Json, Jsonb}` and adds serde and
serde_json as optional dependencies, under the feature flag `json`.
Wrapping types in `Json[b]` that implement `serde::Deserialize` and
`serde::Serialize` allows them to be decoded and encoded respectivly.
2020-03-20 23:59:25 -07:00
PoiScript
3014ab4750
fix typo in Cargo.toml
2020-03-20 10:51:47 +08:00
PoiScript
060c5d2b66
postgres: ipnetwork support
2020-03-19 18:21:09 +08:00
Austin Bonander
979c5cc944
remove unnecessary comment and update Cargo.lock
2020-03-18 19:09:10 -07:00
Ryan Leckey
d1af2fe1b0
Prepare v0.3.0-alpha.1
2020-03-18 16:58:42 -07:00
Ryan Leckey
9d9d2bbfd4
Update dependencies
2020-03-18 16:56:24 -07:00
Ryan Leckey
dc8e36c707
listen: prefix example with sqlx-example-
2020-03-16 18:27:04 -07:00
Ryan Leckey
4419aea619
update postgres/listen.rs for internal changes
2020-03-15 02:17:14 -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
0130fe1479
sqlite: implement describe
2020-03-14 17:43:44 -07:00
Ryan Leckey
7ab07016da
sqlite: initial work in connection
2020-03-14 17:43:44 -07:00
Austin Bonander
fdff5ef4c6
update trybuild
2020-03-11 13:24:05 -07:00
Ryan Leckey
d58c533a12
Update Cargo.lock format
2020-03-11 01:49:21 -07:00
Austin Bonander
de14a206ff
remove pin-project workaround
2020-03-11 01:47:29 -07:00
Ryan Leckey
672f83c00e
use pin-project and fix impl of GuardedFlush
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
47f3d77e59
query_as: fully implement query_as, required a db-specific ext trait
2020-03-11 01:44:41 -07:00
Ryan Leckey
433aab1e5b
postgres: use RawValue in Decode and implement row-returning simple queries
2020-03-11 01:44:06 -07:00
Austin Bonander
0cb7bd1185
make macros work again
2020-03-11 01:43:27 -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
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
Austin Bonander
eff7c9e125
fix Pool to remove possibility of "leaking" connections ( #84 )
...
* fix `Pool` to reduce possibility of "leaking" connections
now uses RAII guards to control `SharedPool::size`
* add smoke test for `Pool` to both Postgres and MySQL tests
add `Pool::is_closed()`
* fix documentation re: pool
* refactor pool implementation to not use futures oneshot channels
https://github.com/launchbadge/sqlx/pull/84#issuecomment-580476223
* run cargo fmt
* Pool: remove superfluous guard struct, document some internal methods
2020-01-31 23:33:42 -08:00
Jane Lusby
ea03fa47e7
Initial commit with doc_cfg changes
2020-01-22 13:10:10 -08:00
Ryan Leckey
24d6c696f8
Merge pull request #70 from launchbadge/ab/idents-fix
...
sqlx-macros: fix handling of invalid idents
2020-01-21 16:01:56 -08:00
Wesley Norris
1461891901
Fix passwords not being percent decoded
...
The password portion of the `Url` type is post-percent encoding
and needs to be manually decoded before processing and being
sent to the server.
2020-01-21 18:53:07 -05: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
35c5556512
Update dependencies
2020-01-16 18:29:58 -08:00
Ryan Leckey
fe3225a8b8
Prepare v0.2.1
2020-01-16 01:52:47 -08:00
Ryan Leckey
1fd3976d65
macros: remove now unused once-cell dep and make lazy_static optional
2020-01-16 01:04:40 -08:00
John-John Tedro
453012c9bf
Only create tokio runtime once for block_on
2020-01-15 14:49:56 +01: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
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
ff219061b2
implement TLS for MySQL
2020-01-13 12:34:05 -08:00
Ryan Leckey
2a19ab746b
Prepare v0.1.4
2020-01-11 04:06:43 -08:00