Skip to content

Commit

Permalink
update to AxumSession 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
genusistimelord committed Sep 18, 2023
1 parent 84cf510 commit 93a59c3
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## 0.6.0 (18. September, 2023)
### Changed
- Updated axum_session to 0.6.0.

## 0.5.0 (6. September, 2023)
### Changed
- Updated axum_session to 0.5.0.
Expand Down
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ postgres-native = ["axum_session/postgres-native"]
mysql-rustls = ["axum_session/mysql-rustls"]
mysql-native = ["axum_session/mysql-native"]
redis-db = ["axum_session/redis-db"]
redis-clusterdb = ["axum_session/redis-clusterdb"]
surrealdb-rocksdb = ["axum_session/surrealdb-rocksdb"]
surrealdb-tikv = ["axum_session/surrealdb-tikv"]
surrealdb-fdb-6_1 = ["axum_session/surrealdb-fdb-6_1"]
Expand All @@ -36,6 +37,7 @@ surrealdb-fdb-7_0 = ["axum_session/surrealdb-fdb-7_0"]
surrealdb-fdb-7_1 = ["axum_session/surrealdb-fdb-7_1"]
surrealdb-mem = ["axum_session/surrealdb-mem"]
key-store = ["axum_session/key-store"]
mongo = ["axum_session/mongo"]

[dependencies]
axum-core = "0.3.4"
Expand All @@ -54,10 +56,10 @@ tokio = { version = "1.32.0", features = ["full"] }
serde = "1.0.188"

[dependencies.axum_session]
#path = "D:/Sources/AxumSessions"
#path = "C:/Sources/AxumSession"
#git = "https://github.com/AscendingCreations/AxumSessions.git"
#branch = "axum0.6"
version = "0.5.0"
version = "0.6.0"
default-features = false

[package.metadata.docs.rs]
Expand Down
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ If you need help with this library or have suggestions please go to our [Discord
# Cargo.toml
[dependencies]
# Postgres + rustls
axum_session_auth = { version = "0.5.0", features = [ "postgres-rustls" ] }
axum_session_auth = { version = "0.6.0", features = [ "postgres-rustls" ] }
```

#### Cargo Feature Flags
Expand All @@ -50,15 +50,19 @@ axum_session_auth = { version = "0.5.0", features = [ "postgres-rustls" ] }

`mysql-native`: `Sqlx` support for the MySQL/MariaDB database server and `native-tls`.

`redis-db`: `redis 0.23.0` session support.
`redis-db`: `redis_pool 0.2.1` session support. Enables Redis Client Pool

`surrealdb-rocksdb`: `1.0.0-beta.9` support for rocksdb.
`redis-clusterdb`: `redis_pool 0.2.0` session support. Enabled Redis ClusterClient Pool.

`surrealdb-tikv` : `1.0.0-beta.9` support for tikv.
`surrealdb-rocksdb`: `1.0.0` support for rocksdb.

`surrealdb-fdb-?_?` : `1.0.0-beta.9` support for fdb versions 6_1, 6_2, 6_3, 7_0, 7_1. Replace ?_? with version.
`surrealdb-tikv` : `1.0.0` support for tikv.

`surrealdb-mem` : `1.0.0-beta.9` support for mem.
`surrealdb-fdb-?_?` : `1.0.0` support for fdb versions 6_1, 6_2, 6_3, 7_0, 7_1. Replace ?_? with version.

`surrealdb-mem` : `1.0.0` support for mem.

`mongo` : `mongodb 2.6.1` support for mongo.

# Example

Expand Down
2 changes: 1 addition & 1 deletion examples/NoPoolType/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ anyhow = "1.0.71"
serde = "1.0.167"

[dependencies.axum_session]
version = "0.5.0"
version = "0.6.0"
features = ["sqlite-rustls"]

[dependencies.axum_session_auth]
Expand Down
2 changes: 1 addition & 1 deletion examples/sqlx-example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ anyhow = "1.0.71"
serde = "1.0.167"

[dependencies.axum_session]
version = "0.5.0"
version = "0.6.0"
features = ["sqlite-rustls"]

[dependencies.axum_session_auth]
Expand Down

0 comments on commit 93a59c3

Please sign in to comment.