[package]
edition = "2024"
rust-version = "1.88"
name = "rp-supabase-http"
version = "0.1.1"
authors = ["Roberts Pumpurs <roberts@pumpurlabs.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bounded rate-limit retry policy for Supabase HTTP clients"
homepage = "https://github.com/roberts-pumpurs/supabase-rs-rp"
readme = "README.md"
keywords = [
"supabase",
"http",
"retry",
"reqwest",
]
categories = [
"web-programming::http-client",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/roberts-pumpurs/supabase-rs-rp"
resolver = "2"
[features]
default = ["rustls"]
native-tls = ["reqwest/native-tls"]
rustls = ["reqwest/rustls"]
[lib]
name = "rp_supabase_http"
path = "src/lib.rs"
[[test]]
name = "recovery"
path = "tests/recovery.rs"
[[test]]
name = "retry"
path = "tests/retry.rs"
[dependencies.httpdate]
version = "1"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"gzip",
"deflate",
"stream",
"http2",
]
default-features = false
[dependencies.tokio]
version = "1"
features = ["time"]
default-features = false
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.mockito]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]
default-features = false
[lints.clippy]
absolute_paths = "allow"
arbitrary_source_item_ordering = "allow"
assert_is_empty = "allow"
blanket_clippy_restriction_lints = "allow"
cargo_common_metadata = "allow"
dbg_macro = "allow"
definition_in_module_root = "allow"
doc_paragraphs_missing_punctuation = "allow"
exhaustive_enums = "allow"
exhaustive_structs = "allow"
future_not_send = "allow"
implicit_return = "allow"
inline_modules = "allow"
inline_trait_bounds = "allow"
iter_over_hash_type = "allow"
missing_docs_in_private_items = "allow"
missing_inline_in_public_items = "allow"
missing_trait_methods = "allow"
mod_module_files = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
pattern_type_mismatch = "allow"
pub_use = "allow"
question_mark_used = "allow"
redundant_test_prefix = "allow"
ref_patterns = "allow"
renamed_function_params = "allow"
rest_pattern_accessible_field = "allow"
semicolon_outside_block = "allow"
separated_literal_suffix = "allow"
shadow_reuse = "allow"
shadow_unrelated = "allow"
significant_drop_tightening = "allow"
single_call_fn = "allow"
single_char_lifetime_names = "allow"
wildcard_imports = "allow"
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.complexity]
level = "deny"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.restriction]
level = "deny"
priority = -1
[lints.clippy.style]
level = "deny"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1