Skip to content

Commit

Permalink
Add package layout
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielleHuisman committed Dec 8, 2024
1 parent 85d06a6 commit 468eda9
Show file tree
Hide file tree
Showing 29 changed files with 189 additions and 2 deletions.
46 changes: 45 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["examples/*", "packages/*"]
members = ["examples/*", "packages/*/*"]
resolver = "2"

[workspace.package]
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions packages/core/auth/src/integration.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pub trait ClientIntegration {}

pub trait ServerIntegration {}
7 changes: 7 additions & 0 deletions packages/core/auth/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
mod integration;
mod provider;
mod storage;

pub use integration::*;
pub use provider::*;
pub use storage::*;
1 change: 1 addition & 0 deletions packages/core/auth/src/provider.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub trait Provider {}
1 change: 1 addition & 0 deletions packages/core/auth/src/storage.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub trait Storage {}
11 changes: 11 additions & 0 deletions packages/integrations/auth-actix/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[package]
name = "auth-actix"
description = "Actix integration for Auth."

authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
version.workspace = true

[dependencies]
File renamed without changes.
11 changes: 11 additions & 0 deletions packages/integrations/auth-axum/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[package]
name = "auth-axum"
description = "Axum integration for Auth."

authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
version.workspace = true

[dependencies]
1 change: 1 addition & 0 deletions packages/integrations/auth-axum/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

11 changes: 11 additions & 0 deletions packages/integrations/auth-leptos/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[package]
name = "auth-leptos"
description = "Leptos integration for Auth."

authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
version.workspace = true

[dependencies]
1 change: 1 addition & 0 deletions packages/integrations/auth-leptos/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

11 changes: 11 additions & 0 deletions packages/providers/auth-credentials/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[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]
1 change: 1 addition & 0 deletions packages/providers/auth-credentials/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

11 changes: 11 additions & 0 deletions packages/providers/auth-email/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[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]
1 change: 1 addition & 0 deletions packages/providers/auth-email/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

11 changes: 11 additions & 0 deletions packages/providers/auth-oauth/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[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]
1 change: 1 addition & 0 deletions packages/providers/auth-oauth/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

11 changes: 11 additions & 0 deletions packages/providers/auth-oidc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[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]
1 change: 1 addition & 0 deletions packages/providers/auth-oidc/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

11 changes: 11 additions & 0 deletions packages/providers/auth-webauthn/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[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]
1 change: 1 addition & 0 deletions packages/providers/auth-webauthn/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

11 changes: 11 additions & 0 deletions packages/storage/auth-diesel/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[package]
name = "auth-disel"
description = "Diesel storage for Auth."

authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
version.workspace = true

[dependencies]
1 change: 1 addition & 0 deletions packages/storage/auth-diesel/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

11 changes: 11 additions & 0 deletions packages/storage/auth-seaorm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[package]
name = "auth-seaorm"
description = "SeaORM storage for Auth."

authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
version.workspace = true

[dependencies]
1 change: 1 addition & 0 deletions packages/storage/auth-seaorm/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

11 changes: 11 additions & 0 deletions packages/storage/auth-sqlx/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[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]
1 change: 1 addition & 0 deletions packages/storage/auth-sqlx/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

0 comments on commit 468eda9

Please sign in to comment.