├── .gitattributes ├── .github └── workflows │ └── sessions.yml ├── .gitignore ├── CHANGELOG.md ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── MIGRATION.md ├── README.md ├── axumsession.code-workspace ├── databases ├── mongo │ ├── Cargo.toml │ ├── README.md │ └── src │ │ └── lib.rs ├── redis-bb8-pool │ ├── Cargo.toml │ ├── README.md │ └── src │ │ ├── lib.rs │ │ ├── redis_bb8_pool.rs │ │ └── redis_bb8_tools.rs ├── redispool │ ├── Cargo.toml │ ├── README.md │ └── src │ │ ├── lib.rs │ │ ├── redis_cluster_pool.rs │ │ ├── redis_pool.rs │ │ └── redis_tools.rs ├── sqlx │ ├── CHANGELOG.md │ ├── Cargo.toml │ ├── README.md │ └── src │ │ ├── lib.rs │ │ ├── mysql.rs │ │ ├── postgres.rs │ │ └── sqlite.rs └── surreal │ ├── Cargo.toml │ ├── README.md │ └── src │ └── lib.rs ├── deny.toml ├── examples ├── any.rs ├── enable_signed_cookies_headers.rs ├── middleware_layer.rs ├── postgres.rs ├── redis.rs ├── rest_test.rs ├── session_mode.rs ├── session_null_pool.rs ├── sqlite.rs └── surrealdb.rs └── src ├── config.rs ├── databases.rs ├── databases ├── any_db.rs ├── database.rs └── null.rs ├── errors.rs ├── headers.rs ├── layer.rs ├── lib.rs ├── sec.rs ├── sec ├── encrypt.rs └── signed.rs ├── service.rs ├── session.rs ├── session_data.rs └── session_store.rs /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf -------------------------------------------------------------------------------- /.github/workflows/sessions.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/.github/workflows/sessions.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /.vscode 3 | *.db 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/LICENSE -------------------------------------------------------------------------------- /MIGRATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/MIGRATION.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/README.md -------------------------------------------------------------------------------- /axumsession.code-workspace: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/axumsession.code-workspace -------------------------------------------------------------------------------- /databases/mongo/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/mongo/Cargo.toml -------------------------------------------------------------------------------- /databases/mongo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/mongo/README.md -------------------------------------------------------------------------------- /databases/mongo/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/mongo/src/lib.rs -------------------------------------------------------------------------------- /databases/redis-bb8-pool/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/redis-bb8-pool/Cargo.toml -------------------------------------------------------------------------------- /databases/redis-bb8-pool/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/redis-bb8-pool/README.md -------------------------------------------------------------------------------- /databases/redis-bb8-pool/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/redis-bb8-pool/src/lib.rs -------------------------------------------------------------------------------- /databases/redis-bb8-pool/src/redis_bb8_pool.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/redis-bb8-pool/src/redis_bb8_pool.rs -------------------------------------------------------------------------------- /databases/redis-bb8-pool/src/redis_bb8_tools.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/redis-bb8-pool/src/redis_bb8_tools.rs -------------------------------------------------------------------------------- /databases/redispool/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/redispool/Cargo.toml -------------------------------------------------------------------------------- /databases/redispool/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/redispool/README.md -------------------------------------------------------------------------------- /databases/redispool/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/redispool/src/lib.rs -------------------------------------------------------------------------------- /databases/redispool/src/redis_cluster_pool.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/redispool/src/redis_cluster_pool.rs -------------------------------------------------------------------------------- /databases/redispool/src/redis_pool.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/redispool/src/redis_pool.rs -------------------------------------------------------------------------------- /databases/redispool/src/redis_tools.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/redispool/src/redis_tools.rs -------------------------------------------------------------------------------- /databases/sqlx/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/sqlx/CHANGELOG.md -------------------------------------------------------------------------------- /databases/sqlx/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/sqlx/Cargo.toml -------------------------------------------------------------------------------- /databases/sqlx/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/sqlx/README.md -------------------------------------------------------------------------------- /databases/sqlx/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/sqlx/src/lib.rs -------------------------------------------------------------------------------- /databases/sqlx/src/mysql.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/sqlx/src/mysql.rs -------------------------------------------------------------------------------- /databases/sqlx/src/postgres.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/sqlx/src/postgres.rs -------------------------------------------------------------------------------- /databases/sqlx/src/sqlite.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/sqlx/src/sqlite.rs -------------------------------------------------------------------------------- /databases/surreal/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/surreal/Cargo.toml -------------------------------------------------------------------------------- /databases/surreal/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/surreal/README.md -------------------------------------------------------------------------------- /databases/surreal/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/databases/surreal/src/lib.rs -------------------------------------------------------------------------------- /deny.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/deny.toml -------------------------------------------------------------------------------- /examples/any.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/examples/any.rs -------------------------------------------------------------------------------- /examples/enable_signed_cookies_headers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/examples/enable_signed_cookies_headers.rs -------------------------------------------------------------------------------- /examples/middleware_layer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/examples/middleware_layer.rs -------------------------------------------------------------------------------- /examples/postgres.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/examples/postgres.rs -------------------------------------------------------------------------------- /examples/redis.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/examples/redis.rs -------------------------------------------------------------------------------- /examples/rest_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/examples/rest_test.rs -------------------------------------------------------------------------------- /examples/session_mode.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/examples/session_mode.rs -------------------------------------------------------------------------------- /examples/session_null_pool.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/examples/session_null_pool.rs -------------------------------------------------------------------------------- /examples/sqlite.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/examples/sqlite.rs -------------------------------------------------------------------------------- /examples/surrealdb.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/examples/surrealdb.rs -------------------------------------------------------------------------------- /src/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/src/config.rs -------------------------------------------------------------------------------- /src/databases.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/src/databases.rs -------------------------------------------------------------------------------- /src/databases/any_db.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/src/databases/any_db.rs -------------------------------------------------------------------------------- /src/databases/database.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/src/databases/database.rs -------------------------------------------------------------------------------- /src/databases/null.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/src/databases/null.rs -------------------------------------------------------------------------------- /src/errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/src/errors.rs -------------------------------------------------------------------------------- /src/headers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/src/headers.rs -------------------------------------------------------------------------------- /src/layer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/src/layer.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/sec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/src/sec.rs -------------------------------------------------------------------------------- /src/sec/encrypt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/src/sec/encrypt.rs -------------------------------------------------------------------------------- /src/sec/signed.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/src/sec/signed.rs -------------------------------------------------------------------------------- /src/service.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/src/service.rs -------------------------------------------------------------------------------- /src/session.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/src/session.rs -------------------------------------------------------------------------------- /src/session_data.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/src/session_data.rs -------------------------------------------------------------------------------- /src/session_store.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AscendingCreations/AxumSession/HEAD/src/session_store.rs --------------------------------------------------------------------------------