Austin Bonander
2ee1393469
WIP fix: add guards for cancellation in executor methods
2020-10-27 03:54:41 -07:00
dignifiedquire
eae3f46237
update libsqlite3-sys to 0.20
2020-10-26 01:34:28 -07:00
Chloe Ross
e816943c60
fix(cli): wait for newlines for confirmations
2020-10-23 19:33:13 -07:00
Joshua Nelson
20d65a8248
Remove hashbrown dependency
...
Hashbrown is now the hashmap used in the standard library, so no need to
pull in an external dependency. This switches to using `AHashMap`
directly.
2020-10-17 02:44:09 -07:00
Jonas Platte
277d0413bc
Bump paste version
2020-10-13 10:04:05 -07:00
Jonas Platte
1935e91e7a
Bump base64 version
2020-10-13 10:04:05 -07:00
Jonas Platte
e00d8aaa5a
Bump clap version
...
This time use an exact version requirement since it would otherwise be
upgraded to later betas automatically.
2020-10-13 10:04:05 -07:00
Jonas Platte
63bfab90c5
Bump hmac version
2020-10-13 10:04:05 -07:00
Jonas Platte
f155bb83e8
Bump hashbrown version
2020-10-13 10:04:05 -07:00
Kramer Hampton
1f41e4c54d
chore: forgot to commit lock file changes
2020-10-13 09:55:51 -07:00
Jonas Platte
e3a71f095c
Delete target/sqlx before invoking cargo in cargo sqlx prepare
2020-10-13 09:51:10 -07:00
吴翱翔
c6fa9047b9
Remove rust_decimal unnecessary num-traits
2020-07-29 07:39:31 -07:00
Julius de Bruijn
1a59d3308a
Pg: Implementing BIT and VARBIT using BitVec
2020-07-27 03:36:44 -07:00
Ryan Leckey
e419bf9dfa
remove removed examples from workspace
2020-07-27 02:23:34 -07:00
Ryan Leckey
22f1f93b79
chore: prepare sqlx v0.4.0-beta.1 and sqlx-cli v0.1.0-beta.1
2020-07-27 01:43:02 -07:00
Ryan Leckey
41694f7e7c
chore: prepare sqlx-rt v0.1.1
2020-07-27 01:38:39 -07:00
Ryan Leckey
116fbc1942
chore: prepare sqlx-rt v0.1.0
2020-07-26 23:59:58 -07:00
Ryan Leckey
fe04a1b612
chore: update lockfile
2020-07-26 22:31:28 -07:00
Jonas Platte
adfa2d2161
sqlx-cli: Upgrade console dependency
2020-07-24 07:54:06 -07:00
Julius de Bruijn
0c9bea4ab2
Fixing panics for disabled statement cache
2020-07-24 07:24:23 -07:00
ABGH, C
dad1356147
Remove unused phf dependency
2020-07-22 17:58:23 -07:00
Jonas Platte
d79335d955
Add an openssl-vendored feature to sqlx-cli
...
… to allow building for musl targets
2020-07-21 08:01:55 -07:00
Ryan Leckey
6a70780f45
chore: update lockfile
2020-07-20 23:13:05 -07:00
Ryan Leckey
c7f55f7ed6
chore: update lockfile
2020-07-18 05:43:59 -07:00
Ryan Leckey
6fdb0d534f
chore: update dependencies
2020-07-17 05:36:56 -07:00
Ryan Leckey
61e4a4f566
feat: finish v1 of both cli and embedded migrations
2020-07-12 03:43:55 -07:00
Julius de Bruijn
fd837fce09
Support for rust_decimal::Decimal
2020-07-09 12:32:19 -07:00
Ryan Leckey
8d188c5f1a
feat: expose column information on Row
...
- add database-specific Column types: MySqlColumn, PgColumn, etc.
- add Row::columns() -> &[DB::Column]
- add Row::column(I) and Row::try_column(I)
2020-07-05 03:48:36 -07:00
Austin Bonander
17e88ac1a4
perf: implement pool benchmark, make fairness an option
2020-07-03 05:59:20 -07:00
Ryan Leckey
72700615c8
chore: update lockfile
2020-07-02 22:38:34 -07:00
Ryan Leckey
4bb88e7da2
chore: update dependencies
2020-06-27 05:57:21 -07:00
Ryan Leckey
53ebfcd5ec
chore: update lockfile
2020-06-27 05:56:30 -07:00
Julius de Bruijn
2b6f242a22
LRU statement cache for MySQL
2020-06-24 16:57:06 +02:00
Ryan Leckey
3dc067f031
fix: downgrade num-bigint due to conflicting version in rsa
2020-06-21 04:13:45 -07:00
Ryan Leckey
7c4c185698
chore: update dependencies
2020-06-21 03:55:31 -07:00
Ryan Leckey
f8dc7284b9
chore: update dependencies
2020-06-21 03:55:31 -07:00
Ryan Leckey
e2ac01e190
chore: update dependencies
2020-06-13 08:54:38 -07:00
Ryan Leckey
e1d22a1840
fix(core): async-stream crate seems to lose the stream if the stream owns the object we are streaming
...
hand-rolled a copy of the idea behind AsyncStream and things seem to work
2020-06-09 02:16:47 -07:00
Ryan Leckey
6497d67b6a
feat(mssql): add macro support
2020-06-07 16:29:46 -07:00
Daniel Akhterov
362a546484
feat(postgres): make sure username is ran through saslprep before sending to server
2020-06-07 02:34:41 -07:00
Ryan Leckey
ef2527ff3e
feat(mssql): fix a few bugs and implement Connection::describe
2020-06-07 02:00:31 -07:00
Ryan Leckey
28636c1f5d
feat(mssql): add support for string types including a framework for handling non-UTF8 data
2020-06-07 02:00:13 -07:00
Ryan Leckey
51ae9f00e7
chore: bump version to 0.4.0-pre
2020-05-30 23:15:52 -07:00
Ryan Leckey
e5b6047009
feat: introduce docker-compose based testing for running locally against many database combinations
2020-05-30 17:51:55 -07:00
Ryan Leckey
2966b655fc
refactor(mysql): adapt to the 0.4.x core refactor
2020-05-30 17:48:10 -07:00
Ryan Leckey
757a930e21
refactor(core): remove the HRTB (higher rank trait bound) on Row in the aim of improving ergonomics
...
* removes the lifetime from Row
* removes MySqlQueryAs, SqliteQueryAs, etc. (no longer needed)
* introduce query_scalar
* introduce Decode::accepts to allow overriding runtime type checking
per-type (replaces TypeInfo::compatible)
* introduce Encode::produces to allow overriding the encoded type per-value
* adds a lifetime to Arguments (and introduce the HRTB HasArguments)
to support zero-copy encoding with SQLite
* renames Database::RawBuffer to HasArguments::ArgumentBuffer
* introduce Connect::connect_with to provide an ConnectOptions type
explicitly to opt-out of connection string parsing
* introduce Value and ValueRef traits to allow decoding-deferred
extraction of values from Rows
* introduce Encode::encode_by_ref and change Encode::encode to take
by-value to try and re-use memory where possible
* use thiserror to generate sqlx::Error
* [!] temporarily removes query logging
* [!] temporarily removes transactions
2020-05-30 16:09:08 -07:00
Austin Bonander
7dae3dbf57
rename cargo-sqlx -> sqlx-cli
...
edit README
2020-05-30 16:02:37 -07:00
Austin Bonander
6b248e0d5f
get offline macros working with todos example
2020-05-30 16:02:37 -07:00
Austin Bonander
21041ff55e
implement cargo sqlx prepare
...
also organize code more clearly in `cargo-sqlx`
2020-05-30 16:02:37 -07:00
Austin Bonander
6913695588
add support for building in "decoupled" mode
2020-05-30 16:02:37 -07:00