Skip to content

Commit

Permalink
Remove incomplete providers from storage
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielleHuisman committed Dec 28, 2024
1 parent 47c3d23 commit d210392
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 32 deletions.
8 changes: 0 additions & 8 deletions Cargo.lock

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

24 changes: 12 additions & 12 deletions packages/storage/shield-memory/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@ version.workspace = true
async-trait.workspace = true
serde.workspace = true
shield = { path = "../../core/shield", version = "0.0.2" }
shield-credentials = { path = "../../providers/shield-credentials", version = "0.0.2", optional = true }
shield-email = { path = "../../providers/shield-email", version = "0.0.2", optional = true }
shield-oauth = { path = "../../providers/shield-oauth", version = "0.0.2", optional = true }
# shield-credentials = { path = "../../providers/shield-credentials", version = "0.0.2", optional = true }
# shield-email = { path = "../../providers/shield-email", version = "0.0.2", optional = true }
# shield-oauth = { path = "../../providers/shield-oauth", version = "0.0.2", optional = true }
shield-oidc = { path = "../../providers/shield-oidc", version = "0.0.2", optional = true }
shield-webauthn = { path = "../../providers/shield-webauthn", version = "0.0.2", optional = true }
# shield-webauthn = { path = "../../providers/shield-webauthn", version = "0.0.2", optional = true }
uuid = { workspace = true, features = ["v4"] }

[features]
default = []
all-providers = [
"provider-credentials",
"provider-email",
"provider-oauth",
# "provider-credentials",
# "provider-email",
# "provider-oauth",
"provider-oidc",
"provider-webauthn",
# "provider-webauthn",
]
provider-credentials = ["dep:shield-credentials"]
provider-email = ["dep:shield-email"]
provider-oauth = ["dep:shield-oauth"]
# provider-credentials = ["dep:shield-credentials"]
# provider-email = ["dep:shield-email"]
# provider-oauth = ["dep:shield-oauth"]
provider-oidc = ["dep:shield-oidc"]
provider-webauthn = ["dep:shield-webauthn"]
# provider-webauthn = ["dep:shield-webauthn"]
24 changes: 12 additions & 12 deletions packages/storage/shield-sea-orm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@ sea-orm-migration.workspace = true
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
shield = { path = "../../core/shield", version = "0.0.2" }
shield-credentials = { path = "../../providers/shield-credentials", version = "0.0.2", optional = true }
shield-email = { path = "../../providers/shield-email", version = "0.0.2", optional = true }
shield-oauth = { path = "../../providers/shield-oauth", version = "0.0.2", optional = true }
# shield-credentials = { path = "../../providers/shield-credentials", version = "0.0.2", optional = true }
# shield-email = { path = "../../providers/shield-email", version = "0.0.2", optional = true }
# shield-oauth = { path = "../../providers/shield-oauth", version = "0.0.2", optional = true }
shield-oidc = { path = "../../providers/shield-oidc", version = "0.0.2", optional = true }
shield-webauthn = { path = "../../providers/shield-webauthn", version = "0.0.2", optional = true }
# shield-webauthn = { path = "../../providers/shield-webauthn", version = "0.0.2", optional = true }

[features]
default = []
entity = []
all-providers = [
"provider-credentials",
"provider-email",
"provider-oauth",
# "provider-credentials",
# "provider-email",
# "provider-oauth",
"provider-oidc",
"provider-webauthn",
# "provider-webauthn",
]
provider-credentials = ["dep:shield-credentials"]
provider-email = ["dep:shield-email"]
provider-oauth = ["dep:shield-oauth"]
# provider-credentials = ["dep:shield-credentials"]
# provider-email = ["dep:shield-email"]
# provider-oauth = ["dep:shield-oauth"]
provider-oidc = ["dep:shield-oidc"]
provider-webauthn = ["dep:shield-webauthn"]
# provider-webauthn = ["dep:shield-webauthn"]

0 comments on commit d210392

Please sign in to comment.