From d743c9ad20d7b8ee543272bc9dcedaa9f1f33381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABlle=20Huisman?= Date: Sun, 8 Dec 2024 22:07:32 +0100 Subject: [PATCH] Rename to Shield --- Cargo.lock | 152 +++++++++--------- Cargo.toml | 2 +- README.md | 8 +- book/book.toml | 6 +- book/src/introduction.md | 6 +- examples/leptos-actix/Cargo.toml | 2 +- examples/leptos-axum/Cargo.toml | 2 +- package-lock.json | 4 +- package.json | 4 +- packages/core/{auth => shield}/Cargo.toml | 2 +- packages/core/shield/README.md | 13 ++ .../core/{auth => shield}/src/integration.rs | 0 packages/core/{auth => shield}/src/lib.rs | 0 .../core/{auth => shield}/src/provider.rs | 0 packages/core/{auth => shield}/src/storage.rs | 0 packages/integrations/shield-actix/Cargo.toml | 11 ++ packages/integrations/shield-actix/README.md | 13 ++ .../{auth-actix => shield-actix}/src/lib.rs | 0 .../{auth-leptos => shield-axum}/Cargo.toml | 4 +- packages/integrations/shield-axum/README.md | 13 ++ .../{auth-axum => shield-axum}/src/lib.rs | 0 .../integrations/shield-leptos/Cargo.toml | 11 ++ packages/integrations/shield-leptos/README.md | 13 ++ .../{auth-leptos => shield-leptos}/src/lib.rs | 0 .../providers/auth-credentials/Cargo.toml | 11 -- packages/providers/auth-email/Cargo.toml | 11 -- packages/providers/auth-oauth/Cargo.toml | 11 -- packages/providers/auth-oidc/Cargo.toml | 11 -- packages/providers/auth-webauthn/Cargo.toml | 11 -- .../providers/shield-credentials/Cargo.toml | 11 ++ .../providers/shield-credentials/README.md | 13 ++ .../src/lib.rs | 0 .../shield-email}/Cargo.toml | 4 +- packages/providers/shield-email/README.md | 13 ++ .../{auth-email => shield-email}/src/lib.rs | 0 .../shield-oauth}/Cargo.toml | 4 +- packages/providers/shield-oauth/README.md | 13 ++ .../{auth-oauth => shield-oauth}/src/lib.rs | 0 packages/providers/shield-oidc/Cargo.toml | 11 ++ packages/providers/shield-oidc/README.md | 13 ++ .../{auth-oidc => shield-oidc}/src/lib.rs | 0 packages/providers/shield-webauthn/Cargo.toml | 11 ++ packages/providers/shield-webauthn/README.md | 13 ++ .../src/lib.rs | 0 packages/storage/auth-sqlx/Cargo.toml | 11 -- .../{auth-diesel => shield-diesel}/Cargo.toml | 4 +- packages/storage/shield-diesel/README.md | 13 ++ .../{auth-diesel => shield-diesel}/src/lib.rs | 0 packages/storage/shield-seaorm/Cargo.toml | 11 ++ packages/storage/shield-seaorm/README.md | 13 ++ .../{auth-seaorm => shield-seaorm}/src/lib.rs | 0 .../{auth-seaorm => shield-sqlx}/Cargo.toml | 4 +- packages/storage/shield-sqlx/README.md | 13 ++ .../{auth-sqlx => shield-sqlx}/src/lib.rs | 0 54 files changed, 326 insertions(+), 170 deletions(-) rename packages/core/{auth => shield}/Cargo.toml (92%) create mode 100644 packages/core/shield/README.md rename packages/core/{auth => shield}/src/integration.rs (100%) rename packages/core/{auth => shield}/src/lib.rs (100%) rename packages/core/{auth => shield}/src/provider.rs (100%) rename packages/core/{auth => shield}/src/storage.rs (100%) create mode 100644 packages/integrations/shield-actix/Cargo.toml create mode 100644 packages/integrations/shield-actix/README.md rename packages/integrations/{auth-actix => shield-actix}/src/lib.rs (100%) rename packages/integrations/{auth-leptos => shield-axum}/Cargo.toml (70%) create mode 100644 packages/integrations/shield-axum/README.md rename packages/integrations/{auth-axum => shield-axum}/src/lib.rs (100%) create mode 100644 packages/integrations/shield-leptos/Cargo.toml create mode 100644 packages/integrations/shield-leptos/README.md rename packages/integrations/{auth-leptos => shield-leptos}/src/lib.rs (100%) delete mode 100644 packages/providers/auth-credentials/Cargo.toml delete mode 100644 packages/providers/auth-email/Cargo.toml delete mode 100644 packages/providers/auth-oauth/Cargo.toml delete mode 100644 packages/providers/auth-oidc/Cargo.toml delete mode 100644 packages/providers/auth-webauthn/Cargo.toml create mode 100644 packages/providers/shield-credentials/Cargo.toml create mode 100644 packages/providers/shield-credentials/README.md rename packages/providers/{auth-credentials => shield-credentials}/src/lib.rs (100%) rename packages/{integrations/auth-actix => providers/shield-email}/Cargo.toml (70%) create mode 100644 packages/providers/shield-email/README.md rename packages/providers/{auth-email => shield-email}/src/lib.rs (100%) rename packages/{integrations/auth-axum => providers/shield-oauth}/Cargo.toml (70%) create mode 100644 packages/providers/shield-oauth/README.md rename packages/providers/{auth-oauth => shield-oauth}/src/lib.rs (100%) create mode 100644 packages/providers/shield-oidc/Cargo.toml create mode 100644 packages/providers/shield-oidc/README.md rename packages/providers/{auth-oidc => shield-oidc}/src/lib.rs (100%) create mode 100644 packages/providers/shield-webauthn/Cargo.toml create mode 100644 packages/providers/shield-webauthn/README.md rename packages/providers/{auth-webauthn => shield-webauthn}/src/lib.rs (100%) delete mode 100644 packages/storage/auth-sqlx/Cargo.toml rename packages/storage/{auth-diesel => shield-diesel}/Cargo.toml (70%) create mode 100644 packages/storage/shield-diesel/README.md rename packages/storage/{auth-diesel => shield-diesel}/src/lib.rs (100%) create mode 100644 packages/storage/shield-seaorm/Cargo.toml create mode 100644 packages/storage/shield-seaorm/README.md rename packages/storage/{auth-seaorm => shield-seaorm}/src/lib.rs (100%) rename packages/storage/{auth-seaorm => shield-sqlx}/Cargo.toml (71%) create mode 100644 packages/storage/shield-sqlx/README.md rename packages/storage/{auth-sqlx => shield-sqlx}/src/lib.rs (100%) diff --git a/Cargo.lock b/Cargo.lock index 3cc0e90..8dcf140 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -330,82 +330,6 @@ dependencies = [ "syn", ] -[[package]] -name = "auth" -version = "0.0.1" - -[[package]] -name = "auth-actix" -version = "0.0.1" - -[[package]] -name = "auth-axum" -version = "0.0.1" - -[[package]] -name = "auth-credentials" -version = "0.0.1" - -[[package]] -name = "auth-disel" -version = "0.0.1" - -[[package]] -name = "auth-email" -version = "0.0.1" - -[[package]] -name = "auth-examples-leptos-actix" -version = "0.0.1" -dependencies = [ - "actix-files", - "actix-web", - "console_error_panic_hook", - "leptos", - "leptos_actix", - "leptos_meta", - "leptos_router", - "wasm-bindgen", -] - -[[package]] -name = "auth-examples-leptos-axum" -version = "0.0.1" -dependencies = [ - "axum", - "console_error_panic_hook", - "leptos", - "leptos_axum", - "leptos_meta", - "leptos_router", - "tokio", - "wasm-bindgen", -] - -[[package]] -name = "auth-leptos" -version = "0.0.1" - -[[package]] -name = "auth-oauth" -version = "0.0.1" - -[[package]] -name = "auth-oidc" -version = "0.0.1" - -[[package]] -name = "auth-seaorm" -version = "0.0.1" - -[[package]] -name = "auth-sqlx" -version = "0.0.1" - -[[package]] -name = "auth-webauthn" -version = "0.0.1" - [[package]] name = "autocfg" version = "1.4.0" @@ -2407,6 +2331,82 @@ dependencies = [ "digest", ] +[[package]] +name = "shield" +version = "0.0.1" + +[[package]] +name = "shield-actix" +version = "0.0.1" + +[[package]] +name = "shield-axum" +version = "0.0.1" + +[[package]] +name = "shield-credentials" +version = "0.0.1" + +[[package]] +name = "shield-disel" +version = "0.0.1" + +[[package]] +name = "shield-email" +version = "0.0.1" + +[[package]] +name = "shield-examples-leptos-actix" +version = "0.0.1" +dependencies = [ + "actix-files", + "actix-web", + "console_error_panic_hook", + "leptos", + "leptos_actix", + "leptos_meta", + "leptos_router", + "wasm-bindgen", +] + +[[package]] +name = "shield-examples-leptos-axum" +version = "0.0.1" +dependencies = [ + "axum", + "console_error_panic_hook", + "leptos", + "leptos_axum", + "leptos_meta", + "leptos_router", + "tokio", + "wasm-bindgen", +] + +[[package]] +name = "shield-leptos" +version = "0.0.1" + +[[package]] +name = "shield-oauth" +version = "0.0.1" + +[[package]] +name = "shield-oidc" +version = "0.0.1" + +[[package]] +name = "shield-seaorm" +version = "0.0.1" + +[[package]] +name = "shield-sqlx" +version = "0.0.1" + +[[package]] +name = "shield-webauthn" +version = "0.0.1" + [[package]] name = "shlex" version = "1.3.0" diff --git a/Cargo.toml b/Cargo.toml index 55b3d75..88ee6f3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ resolver = "2" authors = ["Rust For Web "] edition = "2021" license = "MIT" -repository = "https://github.com/RustForWeb/auth" +repository = "https://github.com/RustForWeb/shield" version = "0.0.1" [workspace.dependencies] diff --git a/README.md b/README.md index 6e964fd..b382010 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -

Auth

+

Shield

Web authentication for Rust. ## Documentation -TODO +See [the Shield book](https://shield.rustforweb.org/) for documentation. ## Credits @@ -16,6 +16,6 @@ This project is available under the [MIT license](LICENSE.md). ## Rust For Web -The Auth project is part of the [Rust For Web](https://github.com/RustForWeb). +The Shield project is part of the [Rust For Web](https://github.com/RustForWeb). -[Rust For Web](https://github.com/RustForWeb) creates and ports web UI libraries for Rust. All projects are free and open source. +[Rust For Web](https://github.com/RustForWeb) creates and ports web libraries for Rust. All projects are free and open source. diff --git a/book/book.toml b/book/book.toml index ae51f81..c551876 100644 --- a/book/book.toml +++ b/book/book.toml @@ -3,15 +3,15 @@ authors = ["Daniƫlle Huisman"] language = "en" multilingual = false src = "src" -title = "Auth" +title = "Shield" [preprocessor.tabs] [output.html] additional-css = ["theme/tabs.css", "theme/theme.css"] additional-js = ["theme/tabs.js"] -edit-url-template = "https://github.com/RustForWeb/auth/edit/main/book/{path}" -git-repository-url = "https://github.com/RustForWeb/auth" +edit-url-template = "https://github.com/RustForWeb/shield/edit/main/book/{path}" +git-repository-url = "https://github.com/RustForWeb/shield" [rust] edition = "2021" diff --git a/book/src/introduction.md b/book/src/introduction.md index 2ae5288..9ec4ae8 100644 --- a/book/src/introduction.md +++ b/book/src/introduction.md @@ -4,10 +4,10 @@ Web authentication for Rust. ## License -This project is available under the [MIT license](https://github.com/RustForWeb/auth/blob/main/LICENSE.md). +This project is available under the [MIT license](https://github.com/RustForWeb/shield/blob/main/LICENSE.md). ## Rust For Web -The Auth project is part of the [Rust For Web](https://github.com/RustForWeb). +The Shield project is part of the [Rust For Web](https://github.com/RustForWeb). -[Rust For Web](https://github.com/RustForWeb) creates and ports web UI libraries for Rust. All projects are free and open source. +[Rust For Web](https://github.com/RustForWeb) creates and ports web libraries for Rust. All projects are free and open source. diff --git a/examples/leptos-actix/Cargo.toml b/examples/leptos-actix/Cargo.toml index 9f9e9a7..ab7de41 100644 --- a/examples/leptos-actix/Cargo.toml +++ b/examples/leptos-actix/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "auth-examples-leptos-actix" +name = "shield-examples-leptos-actix" description = "Example with Leptos and Actix." publish = false diff --git a/examples/leptos-axum/Cargo.toml b/examples/leptos-axum/Cargo.toml index 6075cc9..655b054 100644 --- a/examples/leptos-axum/Cargo.toml +++ b/examples/leptos-axum/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "auth-examples-leptos-axum" +name = "shield-examples-leptos-axum" description = "Example with Leptos and Axum." publish = false diff --git a/package-lock.json b/package-lock.json index 68dc8c0..36f17d5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,10 +1,10 @@ { - "name": "@rustforweb/auth", + "name": "@rustforweb/shield", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@rustforweb/auth", + "name": "@rustforweb/shield", "license": "MIT", "devDependencies": { "prettier": "^3.4.2" diff --git a/package.json b/package.json index d0cdcd6..1a2e0c4 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "@rustforweb/auth", + "name": "@rustforweb/shield", "description": "Web authentication for Rust.", "author": "Rust For Web ", - "repository": "github:RustForWeb/auth", + "repository": "github:RustForWeb/shield", "license": "MIT", "private": true, "scripts": {}, diff --git a/packages/core/auth/Cargo.toml b/packages/core/shield/Cargo.toml similarity index 92% rename from packages/core/auth/Cargo.toml rename to packages/core/shield/Cargo.toml index a67be97..23dcbe3 100644 --- a/packages/core/auth/Cargo.toml +++ b/packages/core/shield/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "auth" +name = "shield" description = "Web authentication for Rust." authors.workspace = true diff --git a/packages/core/shield/README.md b/packages/core/shield/README.md new file mode 100644 index 0000000..ca419ad --- /dev/null +++ b/packages/core/shield/README.md @@ -0,0 +1,13 @@ +

Shield

+ +Web authentication for Rust. + +## Documentation + +See [the Shield book](https://shield.rustforweb.org/) for documentation. + +## Rust For Web + +The Shield project is part of the [Rust For Web](https://github.com/RustForWeb). + +[Rust For Web](https://github.com/RustForWeb) creates and ports web libraries for Rust. All projects are free and open source. diff --git a/packages/core/auth/src/integration.rs b/packages/core/shield/src/integration.rs similarity index 100% rename from packages/core/auth/src/integration.rs rename to packages/core/shield/src/integration.rs diff --git a/packages/core/auth/src/lib.rs b/packages/core/shield/src/lib.rs similarity index 100% rename from packages/core/auth/src/lib.rs rename to packages/core/shield/src/lib.rs diff --git a/packages/core/auth/src/provider.rs b/packages/core/shield/src/provider.rs similarity index 100% rename from packages/core/auth/src/provider.rs rename to packages/core/shield/src/provider.rs diff --git a/packages/core/auth/src/storage.rs b/packages/core/shield/src/storage.rs similarity index 100% rename from packages/core/auth/src/storage.rs rename to packages/core/shield/src/storage.rs diff --git a/packages/integrations/shield-actix/Cargo.toml b/packages/integrations/shield-actix/Cargo.toml new file mode 100644 index 0000000..ea80771 --- /dev/null +++ b/packages/integrations/shield-actix/Cargo.toml @@ -0,0 +1,11 @@ +[package] +name = "shield-actix" +description = "Actix integration for Shield." + +authors.workspace = true +edition.workspace = true +license.workspace = true +repository.workspace = true +version.workspace = true + +[dependencies] diff --git a/packages/integrations/shield-actix/README.md b/packages/integrations/shield-actix/README.md new file mode 100644 index 0000000..0a883b4 --- /dev/null +++ b/packages/integrations/shield-actix/README.md @@ -0,0 +1,13 @@ +

Shield Actix

+ +[Actix](https://actix.rs/) integration for Shield. + +## Documentation + +See [the Shield book](https://shield.rustforweb.org/) for documentation. + +## Rust For Web + +The Shield project is part of the [Rust For Web](https://github.com/RustForWeb). + +[Rust For Web](https://github.com/RustForWeb) creates and ports web libraries for Rust. All projects are free and open source. diff --git a/packages/integrations/auth-actix/src/lib.rs b/packages/integrations/shield-actix/src/lib.rs similarity index 100% rename from packages/integrations/auth-actix/src/lib.rs rename to packages/integrations/shield-actix/src/lib.rs diff --git a/packages/integrations/auth-leptos/Cargo.toml b/packages/integrations/shield-axum/Cargo.toml similarity index 70% rename from packages/integrations/auth-leptos/Cargo.toml rename to packages/integrations/shield-axum/Cargo.toml index 650d017..3f27c3b 100644 --- a/packages/integrations/auth-leptos/Cargo.toml +++ b/packages/integrations/shield-axum/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "auth-leptos" -description = "Leptos integration for Auth." +name = "shield-axum" +description = "Axum integration for Shield." authors.workspace = true edition.workspace = true diff --git a/packages/integrations/shield-axum/README.md b/packages/integrations/shield-axum/README.md new file mode 100644 index 0000000..adff602 --- /dev/null +++ b/packages/integrations/shield-axum/README.md @@ -0,0 +1,13 @@ +

Shield Axum

+ +[Axum](https://github.com/tokio-rs/axum) integration for Shield. + +## Documentation + +See [the Shield book](https://shield.rustforweb.org/) for documentation. + +## Rust For Web + +The Shield project is part of the [Rust For Web](https://github.com/RustForWeb). + +[Rust For Web](https://github.com/RustForWeb) creates and ports web libraries for Rust. All projects are free and open source. diff --git a/packages/integrations/auth-axum/src/lib.rs b/packages/integrations/shield-axum/src/lib.rs similarity index 100% rename from packages/integrations/auth-axum/src/lib.rs rename to packages/integrations/shield-axum/src/lib.rs diff --git a/packages/integrations/shield-leptos/Cargo.toml b/packages/integrations/shield-leptos/Cargo.toml new file mode 100644 index 0000000..2035a9c --- /dev/null +++ b/packages/integrations/shield-leptos/Cargo.toml @@ -0,0 +1,11 @@ +[package] +name = "shield-leptos" +description = "Leptos integration for Shield." + +authors.workspace = true +edition.workspace = true +license.workspace = true +repository.workspace = true +version.workspace = true + +[dependencies] diff --git a/packages/integrations/shield-leptos/README.md b/packages/integrations/shield-leptos/README.md new file mode 100644 index 0000000..dca7bfd --- /dev/null +++ b/packages/integrations/shield-leptos/README.md @@ -0,0 +1,13 @@ +

Shield Leptos

+ +[Leptos](https://leptos.dev/) integration for Shield. + +## Documentation + +See [the Shield book](https://shield.rustforweb.org/) for documentation. + +## Rust For Web + +The Shield project is part of the [Rust For Web](https://github.com/RustForWeb). + +[Rust For Web](https://github.com/RustForWeb) creates and ports web libraries for Rust. All projects are free and open source. diff --git a/packages/integrations/auth-leptos/src/lib.rs b/packages/integrations/shield-leptos/src/lib.rs similarity index 100% rename from packages/integrations/auth-leptos/src/lib.rs rename to packages/integrations/shield-leptos/src/lib.rs diff --git a/packages/providers/auth-credentials/Cargo.toml b/packages/providers/auth-credentials/Cargo.toml deleted file mode 100644 index ecc10df..0000000 --- a/packages/providers/auth-credentials/Cargo.toml +++ /dev/null @@ -1,11 +0,0 @@ -[package] -name = "auth-credentials" -description = "Credentials authentication provider for Auth." - -authors.workspace = true -edition.workspace = true -license.workspace = true -repository.workspace = true -version.workspace = true - -[dependencies] diff --git a/packages/providers/auth-email/Cargo.toml b/packages/providers/auth-email/Cargo.toml deleted file mode 100644 index 0ae04ea..0000000 --- a/packages/providers/auth-email/Cargo.toml +++ /dev/null @@ -1,11 +0,0 @@ -[package] -name = "auth-email" -description = "Email authentication provider for Auth." - -authors.workspace = true -edition.workspace = true -license.workspace = true -repository.workspace = true -version.workspace = true - -[dependencies] diff --git a/packages/providers/auth-oauth/Cargo.toml b/packages/providers/auth-oauth/Cargo.toml deleted file mode 100644 index 118ff8e..0000000 --- a/packages/providers/auth-oauth/Cargo.toml +++ /dev/null @@ -1,11 +0,0 @@ -[package] -name = "auth-oauth" -description = "OAuth authentication provider for Auth." - -authors.workspace = true -edition.workspace = true -license.workspace = true -repository.workspace = true -version.workspace = true - -[dependencies] diff --git a/packages/providers/auth-oidc/Cargo.toml b/packages/providers/auth-oidc/Cargo.toml deleted file mode 100644 index a7fd7d2..0000000 --- a/packages/providers/auth-oidc/Cargo.toml +++ /dev/null @@ -1,11 +0,0 @@ -[package] -name = "auth-oidc" -description = "OpenID Connect authentication provider for Auth." - -authors.workspace = true -edition.workspace = true -license.workspace = true -repository.workspace = true -version.workspace = true - -[dependencies] diff --git a/packages/providers/auth-webauthn/Cargo.toml b/packages/providers/auth-webauthn/Cargo.toml deleted file mode 100644 index 721943f..0000000 --- a/packages/providers/auth-webauthn/Cargo.toml +++ /dev/null @@ -1,11 +0,0 @@ -[package] -name = "auth-webauthn" -description = "WebAuthn authentication provider for Auth." - -authors.workspace = true -edition.workspace = true -license.workspace = true -repository.workspace = true -version.workspace = true - -[dependencies] diff --git a/packages/providers/shield-credentials/Cargo.toml b/packages/providers/shield-credentials/Cargo.toml new file mode 100644 index 0000000..adaf171 --- /dev/null +++ b/packages/providers/shield-credentials/Cargo.toml @@ -0,0 +1,11 @@ +[package] +name = "shield-credentials" +description = "Credentials provider for Shield." + +authors.workspace = true +edition.workspace = true +license.workspace = true +repository.workspace = true +version.workspace = true + +[dependencies] diff --git a/packages/providers/shield-credentials/README.md b/packages/providers/shield-credentials/README.md new file mode 100644 index 0000000..62b36d6 --- /dev/null +++ b/packages/providers/shield-credentials/README.md @@ -0,0 +1,13 @@ +

Shield Credentials

+ +Credentials provider for Shield. + +## Documentation + +See [the Shield book](https://shield.rustforweb.org/) for documentation. + +## Rust For Web + +The Shield project is part of the [Rust For Web](https://github.com/RustForWeb). + +[Rust For Web](https://github.com/RustForWeb) creates and ports web libraries for Rust. All projects are free and open source. diff --git a/packages/providers/auth-credentials/src/lib.rs b/packages/providers/shield-credentials/src/lib.rs similarity index 100% rename from packages/providers/auth-credentials/src/lib.rs rename to packages/providers/shield-credentials/src/lib.rs diff --git a/packages/integrations/auth-actix/Cargo.toml b/packages/providers/shield-email/Cargo.toml similarity index 70% rename from packages/integrations/auth-actix/Cargo.toml rename to packages/providers/shield-email/Cargo.toml index 2665d7a..59f9c67 100644 --- a/packages/integrations/auth-actix/Cargo.toml +++ b/packages/providers/shield-email/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "auth-actix" -description = "Actix integration for Auth." +name = "shield-email" +description = "Email provider for Shield." authors.workspace = true edition.workspace = true diff --git a/packages/providers/shield-email/README.md b/packages/providers/shield-email/README.md new file mode 100644 index 0000000..b7665b3 --- /dev/null +++ b/packages/providers/shield-email/README.md @@ -0,0 +1,13 @@ +

Shield Email

+ +Email provider for Shield. + +## Documentation + +See [the Shield book](https://shield.rustforweb.org/) for documentation. + +## Rust For Web + +The Shield project is part of the [Rust For Web](https://github.com/RustForWeb). + +[Rust For Web](https://github.com/RustForWeb) creates and ports web libraries for Rust. All projects are free and open source. diff --git a/packages/providers/auth-email/src/lib.rs b/packages/providers/shield-email/src/lib.rs similarity index 100% rename from packages/providers/auth-email/src/lib.rs rename to packages/providers/shield-email/src/lib.rs diff --git a/packages/integrations/auth-axum/Cargo.toml b/packages/providers/shield-oauth/Cargo.toml similarity index 70% rename from packages/integrations/auth-axum/Cargo.toml rename to packages/providers/shield-oauth/Cargo.toml index f210dfd..de49aac 100644 --- a/packages/integrations/auth-axum/Cargo.toml +++ b/packages/providers/shield-oauth/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "auth-axum" -description = "Axum integration for Auth." +name = "shield-oauth" +description = "OAuth provider for Shield." authors.workspace = true edition.workspace = true diff --git a/packages/providers/shield-oauth/README.md b/packages/providers/shield-oauth/README.md new file mode 100644 index 0000000..e660a76 --- /dev/null +++ b/packages/providers/shield-oauth/README.md @@ -0,0 +1,13 @@ +

Shield OAuth

+ +OAuth provider for Shield. + +## Documentation + +See [the Shield book](https://shield.rustforweb.org/) for documentation. + +## Rust For Web + +The Shield project is part of the [Rust For Web](https://github.com/RustForWeb). + +[Rust For Web](https://github.com/RustForWeb) creates and ports web libraries for Rust. All projects are free and open source. diff --git a/packages/providers/auth-oauth/src/lib.rs b/packages/providers/shield-oauth/src/lib.rs similarity index 100% rename from packages/providers/auth-oauth/src/lib.rs rename to packages/providers/shield-oauth/src/lib.rs diff --git a/packages/providers/shield-oidc/Cargo.toml b/packages/providers/shield-oidc/Cargo.toml new file mode 100644 index 0000000..6d648f7 --- /dev/null +++ b/packages/providers/shield-oidc/Cargo.toml @@ -0,0 +1,11 @@ +[package] +name = "shield-oidc" +description = "OpenID Connect provider for Shield." + +authors.workspace = true +edition.workspace = true +license.workspace = true +repository.workspace = true +version.workspace = true + +[dependencies] diff --git a/packages/providers/shield-oidc/README.md b/packages/providers/shield-oidc/README.md new file mode 100644 index 0000000..4f7dda3 --- /dev/null +++ b/packages/providers/shield-oidc/README.md @@ -0,0 +1,13 @@ +

Shield OpenID Connect

+ +OpenID Connect provider for Shield. + +## Documentation + +See [the Shield book](https://shield.rustforweb.org/) for documentation. + +## Rust For Web + +The Shield project is part of the [Rust For Web](https://github.com/RustForWeb). + +[Rust For Web](https://github.com/RustForWeb) creates and ports web libraries for Rust. All projects are free and open source. diff --git a/packages/providers/auth-oidc/src/lib.rs b/packages/providers/shield-oidc/src/lib.rs similarity index 100% rename from packages/providers/auth-oidc/src/lib.rs rename to packages/providers/shield-oidc/src/lib.rs diff --git a/packages/providers/shield-webauthn/Cargo.toml b/packages/providers/shield-webauthn/Cargo.toml new file mode 100644 index 0000000..9ce2c76 --- /dev/null +++ b/packages/providers/shield-webauthn/Cargo.toml @@ -0,0 +1,11 @@ +[package] +name = "shield-webauthn" +description = "WebAuthn provider for Shield." + +authors.workspace = true +edition.workspace = true +license.workspace = true +repository.workspace = true +version.workspace = true + +[dependencies] diff --git a/packages/providers/shield-webauthn/README.md b/packages/providers/shield-webauthn/README.md new file mode 100644 index 0000000..0058b6b --- /dev/null +++ b/packages/providers/shield-webauthn/README.md @@ -0,0 +1,13 @@ +

Shield WebAuthn

+ +WebAuthn provider for Shield. + +## Documentation + +See [the Shield book](https://shield.rustforweb.org/) for documentation. + +## Rust For Web + +The Shield project is part of the [Rust For Web](https://github.com/RustForWeb). + +[Rust For Web](https://github.com/RustForWeb) creates and ports web libraries for Rust. All projects are free and open source. diff --git a/packages/providers/auth-webauthn/src/lib.rs b/packages/providers/shield-webauthn/src/lib.rs similarity index 100% rename from packages/providers/auth-webauthn/src/lib.rs rename to packages/providers/shield-webauthn/src/lib.rs diff --git a/packages/storage/auth-sqlx/Cargo.toml b/packages/storage/auth-sqlx/Cargo.toml deleted file mode 100644 index 344a4a5..0000000 --- a/packages/storage/auth-sqlx/Cargo.toml +++ /dev/null @@ -1,11 +0,0 @@ -[package] -name = "auth-sqlx" -description = "SQLx storage for Auth." - -authors.workspace = true -edition.workspace = true -license.workspace = true -repository.workspace = true -version.workspace = true - -[dependencies] diff --git a/packages/storage/auth-diesel/Cargo.toml b/packages/storage/shield-diesel/Cargo.toml similarity index 70% rename from packages/storage/auth-diesel/Cargo.toml rename to packages/storage/shield-diesel/Cargo.toml index b335463..f5f2c0f 100644 --- a/packages/storage/auth-diesel/Cargo.toml +++ b/packages/storage/shield-diesel/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "auth-disel" -description = "Diesel storage for Auth." +name = "shield-disel" +description = "Diesel storage for Shield." authors.workspace = true edition.workspace = true diff --git a/packages/storage/shield-diesel/README.md b/packages/storage/shield-diesel/README.md new file mode 100644 index 0000000..1deedf6 --- /dev/null +++ b/packages/storage/shield-diesel/README.md @@ -0,0 +1,13 @@ +

Shield Diesel

+ +[Diesel](https://diesel.rs/) storage for Shield. + +## Documentation + +See [the Shield book](https://shield.rustforweb.org/) for documentation. + +## Rust For Web + +The Shield project is part of the [Rust For Web](https://github.com/RustForWeb). + +[Rust For Web](https://github.com/RustForWeb) creates and ports web libraries for Rust. All projects are free and open source. diff --git a/packages/storage/auth-diesel/src/lib.rs b/packages/storage/shield-diesel/src/lib.rs similarity index 100% rename from packages/storage/auth-diesel/src/lib.rs rename to packages/storage/shield-diesel/src/lib.rs diff --git a/packages/storage/shield-seaorm/Cargo.toml b/packages/storage/shield-seaorm/Cargo.toml new file mode 100644 index 0000000..4e94c32 --- /dev/null +++ b/packages/storage/shield-seaorm/Cargo.toml @@ -0,0 +1,11 @@ +[package] +name = "shield-seaorm" +description = "SeaORM storage for Shield." + +authors.workspace = true +edition.workspace = true +license.workspace = true +repository.workspace = true +version.workspace = true + +[dependencies] diff --git a/packages/storage/shield-seaorm/README.md b/packages/storage/shield-seaorm/README.md new file mode 100644 index 0000000..d49b54a --- /dev/null +++ b/packages/storage/shield-seaorm/README.md @@ -0,0 +1,13 @@ +

Shield SeaORM

+ +[SeaORM](https://www.sea-ql.org/SeaORM/) storage for Shield. + +## Documentation + +See [the Shield book](https://shield.rustforweb.org/) for documentation. + +## Rust For Web + +The Shield project is part of the [Rust For Web](https://github.com/RustForWeb). + +[Rust For Web](https://github.com/RustForWeb) creates and ports web libraries for Rust. All projects are free and open source. diff --git a/packages/storage/auth-seaorm/src/lib.rs b/packages/storage/shield-seaorm/src/lib.rs similarity index 100% rename from packages/storage/auth-seaorm/src/lib.rs rename to packages/storage/shield-seaorm/src/lib.rs diff --git a/packages/storage/auth-seaorm/Cargo.toml b/packages/storage/shield-sqlx/Cargo.toml similarity index 71% rename from packages/storage/auth-seaorm/Cargo.toml rename to packages/storage/shield-sqlx/Cargo.toml index 5fb3262..d47b25b 100644 --- a/packages/storage/auth-seaorm/Cargo.toml +++ b/packages/storage/shield-sqlx/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "auth-seaorm" -description = "SeaORM storage for Auth." +name = "shield-sqlx" +description = "SQLx storage for Shield." authors.workspace = true edition.workspace = true diff --git a/packages/storage/shield-sqlx/README.md b/packages/storage/shield-sqlx/README.md new file mode 100644 index 0000000..2a20326 --- /dev/null +++ b/packages/storage/shield-sqlx/README.md @@ -0,0 +1,13 @@ +

Shield SQLx

+ +[SQLx](https://github.com/launchbadge/sqlx) storage for Shield. + +## Documentation + +See [the Shield book](https://shield.rustforweb.org/) for documentation. + +## Rust For Web + +The Shield project is part of the [Rust For Web](https://github.com/RustForWeb). + +[Rust For Web](https://github.com/RustForWeb) creates and ports web libraries for Rust. All projects are free and open source. diff --git a/packages/storage/auth-sqlx/src/lib.rs b/packages/storage/shield-sqlx/src/lib.rs similarity index 100% rename from packages/storage/auth-sqlx/src/lib.rs rename to packages/storage/shield-sqlx/src/lib.rs