workos 1.0.1

Official Rust SDK for the WorkOS API
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.88"
name = "workos"
version = "1.0.1"
authors = ["WorkOS <sdk@workos.com>"]
build = false
exclude = [
    "tests/**",
    "script/**",
    ".github/**",
    "release-please-config.json",
    "renovate.json",
    "CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official Rust SDK for the WorkOS API"
homepage = "https://workos.com"
documentation = "https://docs.rs/workos"
readme = "README.md"
keywords = [
    "workos",
    "sso",
    "authentication",
    "authkit",
    "sdk",
]
categories = [
    "api-bindings",
    "authentication",
]
license = "MIT"
repository = "https://github.com/workos/workos-rust"

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

[features]
default = ["rustls-tls"]
native-tls = [
    "dep:reqwest",
    "reqwest/native-tls",
]
rustls-tls = [
    "dep:reqwest",
    "reqwest/rustls-tls",
]

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

[dependencies.aes-gcm]
version = "0.10"

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

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

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.http]
version = "1"

[dependencies.rand]
version = "0.9"

[dependencies.reqwest]
version = "0.12"
features = ["json"]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.subtle]
version = "2.5"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "time",
    "sync",
]

[dependencies.url]
version = "2.5"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.wiremock]
version = "0.6"

[lints.clippy]
dbg_macro = "warn"
expect_used = "warn"
todo = "warn"
unwrap_used = "warn"

[lints.rust]
unsafe_code = "forbid"