-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Changed API to support SqlxSessions multi supported Pool and Connection * Update readme to include new changes and Changed version to 0.2 * make sqlx use current test branch * Readme with new Changes from AxumSqlxSessions. Publish is waiting on launchbadge/sqlx#1652 if this is not implemented then I will make a implementation lib that replaces their Any with my own version * Fixed missing Some() in readme * Updated SQLx to FromForAny * add any feature to sqlx * Added features with default postgres for sqlx * Rename with AxumSession usage instead of the sqlx version * Rename and a few changes
- Loading branch information
1 parent
341348a
commit 952b2d2
Showing
8 changed files
with
67 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,30 @@ | ||
[package] | ||
name = "axum_sqlx_session_auth" | ||
version = "0.1.1" | ||
name = "axum_sessions_auth" | ||
version = "0.1.0" | ||
authors = ["Andrew Wheeler <genusistimelord@gmail.com>"] | ||
description = "Library to Provide a User Authentication and privilege Token Checks. It requires the AxumSQLxSessions library and Tower_cookies library." | ||
description = "Library to Provide a User Authentication and privilege Token Checks. It requires the Axum_Database_Sessions library and Tower_cookies library." | ||
edition = "2021" | ||
license = "MIT" | ||
readme = "README.md" | ||
documentation = "https://docs.rs/axum_sqlx_session_auth" | ||
documentation = "https://docs.rs/axum_sessions_auth" | ||
keywords = ["Axum", "Tower", "SQLx", "Session", "Authentication"] | ||
repository = "https://github.com/AscendingCreations/axum_sqlx_session_auth" | ||
repository = "https://github.com/AscendingCreations/AxumSessionsAuth" | ||
|
||
[features] | ||
sqlite = ["sqlx/sqlite", "axum_database_sessions/sqlite"] | ||
postgres = ["sqlx/postgres", "axum_database_sessions/postgres"] | ||
mysql = ["sqlx/mysql", "axum_database_sessions/mysql"] | ||
rustls = ["sqlx/runtime-tokio-rustls", "axum_database_sessions/rustls"] | ||
native-tls = [ | ||
"sqlx/runtime-tokio-native-tls", | ||
"axum_database_sessions/native-tls", | ||
] | ||
|
||
[dependencies] | ||
axum = "0.4" | ||
tokio = { version = "1", features = ["full"] } | ||
tokio = { version = "1.16", features = ["full"] } | ||
async-trait = "0.1" | ||
axum_sqlx_sessions = "0.1" | ||
sqlx = { version = "0.5", features = [ | ||
"runtime-tokio-rustls", | ||
"postgres", | ||
"chrono", | ||
"json", | ||
"all-types", | ||
] } | ||
axum_database_sessions = { version = "0.2" } | ||
sqlx = { version = "0.5", features = ["chrono", "json", "all-types"] } | ||
anyhow = "1.0" | ||
async-recursion = "0.3" | ||
async-recursion = "1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters