# 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 = "2021" name = "clerk-rs" version = "0.4.0" authors = ["DarrenBaldwin07"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "The official community Rust SDK for the Clerk API" homepage = "https://github.com/DarrenBaldwin07/clerk-rs" readme = "README.md" keywords = [ "clerk", "auth", "actix", "axum", "sdk", ] license = "MIT" repository = "https://github.com/DarrenBaldwin07/clerk-rs" [lib] name = "clerk_rs" path = "src/lib.rs" doctest = false [[example]] name = "actix" path = "examples/actix.rs" required-features = ["actix"] [[example]] name = "api" path = "examples/api.rs" [[example]] name = "axum" path = "examples/axum.rs" required-features = ["axum"] [[example]] name = "http" path = "examples/http.rs" [[example]] name = "rocket" path = "examples/rocket.rs" required-features = ["rocket"] [dependencies.actix-rt] version = "2.10.0" optional = true [dependencies.actix-web] version = "4.9.0" optional = true [dependencies.arc-swap] version = "1.7.1" [dependencies.async-trait] version = "0.1.81" [dependencies.axum] version = "0.7.5" optional = true [dependencies.axum-extra] version = "0.9.3" features = ["cookie"] optional = true [dependencies.futures-util] version = "0.3.28" [dependencies.jsonwebtoken] version = "9.3.0" [dependencies.regex] version = "1.10.6" [dependencies.reqwest] version = "^0.12" features = [ "json", "multipart", ] default-features = false [dependencies.rocket] version = "0.5.0" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_derive] version = "^1.0" [dependencies.serde_json] version = "^1.0" [dependencies.serde_with] version = "^2.0" [dependencies.tower] version = "0.5.0" optional = true [dependencies.url] version = "^2.2" [dev-dependencies.base64] version = "0.22.1" [dev-dependencies.mockito] version = "1.4.0" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.rsa] version = "0.9.6" [dev-dependencies.tokio] version = "1.39.3" features = ["full"] [features] actix = [ "dep:actix-rt", "dep:actix-web", ] axum = [ "dep:axum", "dep:axum-extra", "dep:tower", ] default = ["rustls-tls"] native-tls = ["reqwest/native-tls"] rocket = ["dep:rocket"] rustls-tls = ["reqwest/rustls-tls"]