File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,17 @@ async-sqlx-session = { version = "0.3.0", features = ["sqlite"] }
28
28
async-sqlx-session = { version = " 0.3.0" , features = [" pg" ] }
29
29
```
30
30
31
+ ### mysql:
32
+
33
+ ``` toml
34
+ async-sqlx-session = { version = " 0.3.0" , features = [" mysql" ] }
35
+ ```
36
+
31
37
### Optional ` async_std ` feature
32
38
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.
35
42
36
43
``` toml
37
44
async-sqlx-session = { version = " 0.3.0" , features = [" pg" , " async_std" ] }
Original file line number Diff line number Diff line change 1
1
/*!
2
2
# async-sqlx-session
3
3
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.
7
6
8
- To use [`SqliteSessionStore`], enable the `sqlite` feature on this
7
+ * To use [`SqliteSessionStore`], enable the `sqlite` feature on this
9
8
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
12
12
crate.
13
13
14
14
To use the `spawn_cleanup_task` function for either store on
You can’t perform that action at this time.
0 commit comments