[package]
edition = "2021"
rust-version = "1.81"
name = "hyperdb-api-salesforce"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Salesforce Data Cloud OAuth authentication for Hyper database"
homepage = "https://github.com/tableau/hyper-api-rust"
readme = "README.md"
keywords = [
"database",
"hyper",
"salesforce",
"oauth",
"data-cloud",
]
categories = [
"database",
"authentication",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tableau/hyper-api-rust"
[lib]
name = "hyperdb_api_salesforce"
path = "src/lib.rs"
[[example]]
name = "salesforce_auth_example"
path = "examples/salesforce_auth_example.rs"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = [
"std",
"clock",
]
default-features = false
[dependencies.jsonwebtoken]
version = "10"
features = [
"use_pem",
"rust_crypto",
]
default-features = false
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"rustls",
"form",
]
default-features = false
[dependencies.rsa]
version = "0.9"
features = ["pem"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"sync",
"macros",
]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2.5"
[dependencies.zeroize]
version = "1.8"
[dev-dependencies.arrow]
version = "58.0"
features = ["ipc"]
default-features = false
[dev-dependencies.rand]
version = "0.10"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[lints.clippy]
allow_attributes_without_reason = "warn"
as_underscore = "warn"
cast_lossless = "warn"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "warn"
cast_sign_loss = "deny"
clone_on_ref_ptr = "warn"
doc_markdown = "allow"
items_after_statements = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_name_repetitions = "allow"
must_use_candidate = "allow"
too_many_lines = "allow"
undocumented_unsafe_blocks = "deny"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unreadable_literal = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.multiple_crate_versions]
level = "allow"
priority = 1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
ambiguous_negative_literals = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"
unused_lifetimes = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]