Skip to content

Commit 14837fa

Browse files
committedMay 11, 2023
docs: Set description and license
1 parent 68f0541 commit 14837fa

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed
 

Diff for: ‎Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: ‎Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
[package]
2-
name = "actix-session-sqlx"
2+
name = "actix-session-sqlx-postgres"
33
version = "0.1.0"
44
edition = "2021"
55
authors = ["Christopher Kolstad <git@chriswk.no>", "Simon Hornby <liquidwicked64@gmail.com>"]
6+
description = "Actix Session Sqlx Postgres is a Sqlx Postgres implementation of the ActixSession Store trait"
7+
license = "Apache 2.0"
68

79
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
810

Diff for: ‎src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use time::Duration;
1313
///
1414
/// ```no_run
1515
/// use actix_web::{web, App, HttpServer, HttpResponse, Error};
16-
/// use actix_session_sqlx::SqlxPostgresqlSessionStore;
16+
/// use actix_session_sqlx_postgres::SqlxPostgresqlSessionStore;
1717
/// use actix_session::SessionMiddleware;
1818
/// use actix_web::cookie::Key;
1919
///
@@ -44,7 +44,7 @@ use time::Duration;
4444
/// If you already have a connection pool, you can use something like
4545
/*/// ```no_run
4646
/// use actix_web::{web, App, HttpServer, HttpResponse, Error};
47-
/// use actix_session_sqlx::SqlxPostgresqlSessionStore;
47+
/// use actix_session_sqlx_postgres::SqlxPostgresqlSessionStore;
4848
/// use actix_session::SessionMiddleware;
4949
/// use actix_web::cookie::Key;
5050
///

Diff for: ‎tests/session_store.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ mod test_helpers;
22
#[cfg(test)]
33
pub mod tests {
44
use actix_session::storage::SessionStore;
5-
use actix_session_sqlx::SqlxPostgresqlSessionStore;
5+
use actix_session_sqlx_postgres::SqlxPostgresqlSessionStore;
66
use sqlx::postgres::PgPoolOptions;
77
use std::collections::HashMap;
88
use testcontainers::clients;

0 commit comments

Comments
 (0)
Please sign in to comment.