Commit graph

36 commits

Author SHA1 Message Date
Nicholas Connor
745c5c3957
Updated the README example with acquire connection (#99)
* Updated the README example with acquire connection

Initially from reading the docs and examples I tried to use `&mut pool` instead of `&mut conn`. The compiler gave me an error that `Pool<MySql>` didn't implement `Executor`. I had to do a bit of digging and eventually just viewed the source of `Pool` to find `acquire()`, `try_acquire()` etc.

I think this change makes it a bit easier for someone to get started.

* Update README.md to reference initial pool declaration

* Fixed compile issues and added examples of using &mut &pool
2020-01-31 23:30:08 -08:00
Austin Bonander
afaee44512
README: shorten and sweeten DATABASE_URL note 2020-01-30 03:36:58 -08:00
Austin Bonander
136b51b019
README: specify query!() works at compile-time 2020-01-30 03:34:59 -08:00
Austin Bonander
5966fae7c5
README: note req. of DATABASE_URL for query!() 2020-01-30 03:34:09 -08:00
Ryan Leckey
36ba6951dd
Update README.md 2020-01-16 01:06:14 -08:00
Sondre Nilsen
c700c899c2
Fix instructions for using tokio 2020-01-15 18:56:39 +01:00
Ryan Leckey
e5f6bd49f3
Update README.md 2020-01-15 03:44:57 -08:00
Ryan Leckey
e770f2ab43
Update README.md 2020-01-15 01:36:00 -08:00
Ryan Leckey
7d62d9a286
Update README.md 2020-01-15 01:27:19 -08:00
Ryan Leckey
6c8fd949dd
Update README.md 2020-01-12 14:02:52 -08:00
Ryan Leckey
6ab0efb54f
Merge pull request #45 from yerke/patch-2
fix a typo
2020-01-12 10:57:35 -08:00
Ryan Leckey
3548e5922c
Update README.md 2020-01-12 10:22:12 -08:00
Yerkebulan Tulibergenov
aea7106112
fix a typo 2020-01-11 22:22:24 -08:00
Ryan Leckey
8d8fea874a Use forbid(unsafe_code) over deny(unsafe_code) 2020-01-03 11:45:18 -08:00
Ryan Leckey
1d7a2f27c6
Merge pull request #14 from miclill/patch-2
update url: https://github.com/async-rs/async-std
2019-12-30 11:34:15 -08:00
miclill
cd77fadd35
update url: https://github.com/async-rs/async-std 2019-12-30 15:16:28 +00:00
miclill
20650a9ed4
fix spelling 2019-12-30 15:11:43 +00:00
Ryan Leckey
45191ce4f3
Update README.md 2019-12-30 02:29:56 -08:00
Andrew Hoetker
4f0fc16c62
fix minor typo
Fixed misspelling of 'beginnings' in README.md
2019-12-29 15:42:25 +11:00
Austin Bonander
156efd0c6a README edits 2019-12-28 02:38:53 -08:00
Ryan Leckey
4db1f70ae1
Update README.md 2019-12-28 01:41:07 -08:00
Ryan Leckey
382124fe57
Update README.md 2019-12-28 01:37:02 -08:00
Ryan Leckey
9186400668
Update README.md 2019-12-27 17:31:53 -08:00
Ryan Leckey
d76b1357da Audit MySql and Postgres protocols 2019-12-27 17:31:01 -08:00
Ryan Leckey
b52c0e3d8e Minor change to the tagline 2019-09-10 23:31:12 -07:00
Ryan Leckey
9ed276d454
Update README.md 2019-08-21 21:53:51 -07:00
Ryan Leckey
7671fc403f
Update README.md 2019-08-21 21:51:59 -07:00
Ryan Leckey
9e64093860
Update README.md 2019-08-21 21:51:50 -07:00
Ryan Leckey
bb617f6fa1
Update README.md 2019-08-21 21:51:32 -07:00
Ryan Leckey
0f4b9dcc89
Update README.md 2019-08-06 22:47:32 -07:00
Ryan Leckey
22f71df7c7 mason -> sqlx 2019-06-22 20:54:43 -07:00
Ryan Leckey
1e983a2a8b Add a note about AsyncDrop 2019-06-10 21:57:50 -07:00
Ryan Leckey
febcd9eb1f Add some experimental usage thoughts 2019-06-10 21:57:43 -07:00
Ryan Leckey
ecb7437db4 Set the name to mason in the readme 2019-06-07 18:00:29 -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