dioxus-clerk 0.6.0

Clerk integration for Dioxus: components, hooks, and SSR initial state for web and fullstack apps
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.92"
name = "dioxus-clerk"
version = "0.6.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Clerk integration for Dioxus: components, hooks, and SSR initial state for web and fullstack apps"
homepage = "https://github.com/sagikazarmark/dioxus-clerk"
readme = "README.md"
keywords = [
    "clerk",
    "dioxus",
    "authentication",
    "auth",
    "wasm",
]
categories = [
    "authentication",
    "web-programming",
    "wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sagikazarmark/dioxus-clerk"

[package.metadata.docs.rs]
features = [
    "server",
    "testing",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[package.metadata.release]
sign-commit = true
sign-tag = true
shared-version = true
tag-message = "Release {{version}}"
tag-name = "v{{version}}"

[features]
default = []
server = [
    "dep:axum",
    "dep:axum-extra",
    "dep:ct-codecs",
    "dep:dioxus-fullstack-core",
    "dep:futures-util",
    "dep:jwk-simple",
    "dep:jwt-simple",
    "dep:reqwest",
    "dep:tower",
    "dep:tracing",
    "dep:web-time",
]
testing = [
    "dep:ct-codecs",
    "dep:jwt-simple",
]
worker = [
    "dep:send_wrapper",
    "server",
]

[lib]
name = "dioxus_clerk"
path = "src/lib.rs"

[[test]]
name = "components_user_avatar"
path = "tests/components_user_avatar.rs"

[[test]]
name = "core_claims"
path = "tests/core_claims.rs"

[[test]]
name = "core_error"
path = "tests/core_error.rs"

[[test]]
name = "core_public_interface"
path = "tests/core_public_interface.rs"

[[test]]
name = "core_reverification"
path = "tests/core_reverification.rs"

[[test]]
name = "core_verification"
path = "tests/core_verification.rs"

[[test]]
name = "public_interface"
path = "tests/public_interface.rs"

[[test]]
name = "server_extractor"
path = "tests/server_extractor.rs"

[[test]]
name = "server_from_env"
path = "tests/server_from_env.rs"

[[test]]
name = "server_layer"
path = "tests/server_layer.rs"

[[test]]
name = "server_public_interface"
path = "tests/server_public_interface.rs"

[[test]]
name = "server_ssr"
path = "tests/server_ssr.rs"

[[test]]
name = "ssr"
path = "tests/ssr.rs"

[[test]]
name = "ssr_provider"
path = "tests/ssr_provider.rs"

[[test]]
name = "ssr_provider_no_server"
path = "tests/ssr_provider_no_server.rs"

[[test]]
name = "testing_issuer"
path = "tests/testing_issuer.rs"

[[test]]
name = "wasm_bridge"
path = "tests/wasm_bridge.rs"

[[test]]
name = "wasm_lifecycle"
path = "tests/wasm_lifecycle.rs"

[[test]]
name = "wasm_mounted_ui"
path = "tests/wasm_mounted_ui.rs"

[[test]]
name = "wasm_support"
path = "tests/wasm_support.rs"

[dependencies.axum]
version = "0.8"
features = ["json"]
optional = true
default-features = false

[dependencies.axum-extra]
version = "0.12"
features = ["cookie"]
optional = true
default-features = false

[dependencies.ct-codecs]
version = "1"
optional = true

[dependencies.dioxus]
version = "0.7.10"
features = [
    "html",
    "hooks",
    "macro",
    "mounted",
    "signals",
]
default-features = false

[dependencies.dioxus-fullstack-core]
version = "0.7.10"
optional = true

[dependencies.futures-util]
version = "0.3"
features = ["std"]
optional = true
default-features = false

[dependencies.jwk-simple]
version = "0.5.0"
features = ["jwt-simple"]
optional = true
default-features = false

[dependencies.jwt-simple]
version = "0.13.1"
features = ["pure-rust"]
optional = true
default-features = false

[dependencies.send_wrapper]
version = "0.6"
features = ["futures"]
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tower]
version = "0.5"
features = ["util"]
optional = true

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.web-time]
version = "1"
optional = true

[dev-dependencies.futures-util]
version = "0.3"

[dev-dependencies.http]
version = "1"

[dev-dependencies.wasm-bindgen-test]
version = "0.3"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls",
]
optional = true
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.dioxus-html]
version = "0.7"
features = ["serialize"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.jsonwebtoken]
version = "11"
features = ["rust_crypto"]

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.simple_asn1]
version = "=0.6.4"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tempfile]
version = "3"

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
    "net",
]

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.wiremock]
version = "=0.6.5"

[target.'cfg(target_arch = "wasm32")'.dependencies.futures-util]
version = "0.3"
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.gloo-timers]
version = "0.4"
features = ["futures"]

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.reqwest]
version = "0.13"
features = ["json"]
optional = true
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen]
version = "0.6"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "console",
    "Document",
    "Element",
    "HtmlElement",
    "HtmlHeadElement",
    "HtmlScriptElement",
    "Window",
]