Skip to content

Commit b47bba8

Browse files
committed
update docs
1 parent 40e3dd4 commit b47bba8

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,17 @@ async-sqlx-session = { version = "0.3.0", features = ["sqlite"] }
2828
async-sqlx-session = { version = "0.3.0", features = ["pg"] }
2929
```
3030

31+
### mysql:
32+
33+
```toml
34+
async-sqlx-session = { version = "0.3.0", features = ["mysql"] }
35+
```
36+
3137
### Optional `async_std` feature
3238

33-
To use the `spawn_cleanup_task` function on async-std, enable the
34-
`async_std` feature.
39+
To use the `spawn_cleanup_task` function on the async-std runtime,
40+
enable the `async_std` feature, which can be combined with any of the
41+
above datastores.
3542

3643
```toml
3744
async-sqlx-session = { version = "0.3.0", features = ["pg", "async_std"] }

src/lib.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/*!
22
# async-sqlx-session
33
4-
This crate currently provides two session stores:
5-
[`PostgresSessionStore`] and [`SqliteSessionStore`], each of which
6-
is enabled by a feature flag.
4+
This crate currently provides several session stores, each of which is
5+
enabled by a feature flag.
76
8-
To use [`SqliteSessionStore`], enable the `sqlite` feature on this
7+
* To use [`SqliteSessionStore`], enable the `sqlite` feature on this
98
crate.
10-
11-
To use [`PostgresSessionStore`], enable the `pg` feature on this
9+
* To use [`PostgresSessionStore`], enable the `pg` feature on this
10+
crate.
11+
* To use [`MysqlSessionStore`], enable the `mysql` feature on this
1212
crate.
1313
1414
To use the `spawn_cleanup_task` function for either store on

0 commit comments

Comments
 (0)