rust_supabase_sdk 0.3.0

An SDK kit for SupaBase so that Rust lovers can use SupaBase with the low level abstracted away. If you want new features tell me and I'll add them.
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 = "2021"
rust-version = "1.75"
name = "rust_supabase_sdk"
version = "0.3.0"
authors = ["Lachy Hislop lachie.hislop@gmail.com"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An SDK kit for SupaBase so that Rust lovers can use SupaBase with the low level abstracted away. If you want new features tell me and I'll add them."
readme = "README.md"
keywords = [
    "supabase",
    "postgrest",
    "auth",
    "storage",
    "sdk",
]
categories = [
    "api-bindings",
    "database",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/Lenard-0/Rust-Supabase-SDK"

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

[features]
auth = []
default = [
    "postgrest",
    "auth",
    "storage",
    "functions",
    "rustls",
]
functions = []
native-tls = ["reqwest/native-tls"]
postgrest = []
realtime = [
    "dep:tokio-tungstenite",
    "dep:futures-util",
    "tokio/sync",
]
rustls = ["reqwest/rustls"]
storage = []

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

[[example]]
name = "auth_email"
path = "examples/auth_email.rs"

[[example]]
name = "functions_invoke"
path = "examples/functions_invoke.rs"

[[example]]
name = "postgrest_typed"
path = "examples/postgrest_typed.rs"

[[example]]
name = "query"
path = "examples/query.rs"

[[example]]
name = "realtime_changes"
path = "examples/realtime_changes.rs"

[[example]]
name = "storage_upload"
path = "examples/storage_upload.rs"

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

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

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

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

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

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

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

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

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

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

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

[dependencies.chrono]
version = "0.4.43"
features = [
    "serde",
    "clock",
]
default-features = false

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

[dependencies.percent-encoding]
version = "2"

[dependencies.reqwest]
version = "0.13.3"
features = ["json"]
default-features = false

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1.49.0"
features = [
    "rt",
    "macros",
    "time",
]
default-features = false

[dependencies.tokio-tungstenite]
version = "0.24"
features = [
    "connect",
    "rustls-tls-webpki-roots",
]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5.8"

[dependencies.urlencoding]
version = "2.1.3"

[dependencies.uuid]
version = "1.19.0"
features = [
    "v4",
    "fast-rng",
    "macro-diagnostics",
]

[dev-dependencies.dotenv]
version = "0.15.0"

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

[dev-dependencies.tokio]
version = "1"
features = ["full"]

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