[package]
edition = "2021"
name = "hotdata"
version = "0.1.2"
authors = ["developers@hotdata.dev"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Powerful data platform API for datasets, queries, and analytics."
homepage = "https://www.hotdata.dev"
documentation = "https://docs.rs/hotdata"
readme = "README.md"
keywords = [
"hotdata",
"sdk",
"api-client",
"arrow",
"async",
]
categories = [
"api-bindings",
"asynchronous",
"database",
]
license = "MIT"
repository = "https://github.com/hotdata-dev/sdk-rust"
[package.metadata.docs.rs]
all-features = true
[features]
arrow = [
"dep:arrow-ipc",
"dep:arrow-array",
"dep:arrow-schema",
]
default = ["native-tls"]
native-tls = ["reqwest/native-tls"]
rustls = ["reqwest/rustls"]
[lib]
name = "hotdata"
path = "src/lib.rs"
[[example]]
name = "quickstart"
path = "examples/quickstart.rs"
[[test]]
name = "auth_missing_token_401"
path = "tests/auth_missing_token_401.rs"
[[test]]
name = "auth_unknown_workspace"
path = "tests/auth_unknown_workspace.rs"
[[test]]
name = "connection_types_read"
path = "tests/connection_types_read.rs"
[[test]]
name = "connections_read"
path = "tests/connections_read.rs"
[[test]]
name = "database_catalogs_attach"
path = "tests/database_catalogs_attach.rs"
[[test]]
name = "database_contexts_crud"
path = "tests/database_contexts_crud.rs"
[[test]]
name = "databases_lifecycle"
path = "tests/databases_lifecycle.rs"
[[test]]
name = "dataset_versioning"
path = "tests/dataset_versioning.rs"
[[test]]
name = "datasets_crud"
path = "tests/datasets_crud.rs"
[[test]]
name = "debug_logging"
path = "tests/debug_logging.rs"
[[test]]
name = "embedding_providers_crud"
path = "tests/embedding_providers_crud.rs"
[[test]]
name = "indexes_lifecycle"
path = "tests/indexes_lifecycle.rs"
[[test]]
name = "information_schema_read"
path = "tests/information_schema_read.rs"
[[test]]
name = "jobs_read"
path = "tests/jobs_read.rs"
[[test]]
name = "managed_tables_lifecycle"
path = "tests/managed_tables_lifecycle.rs"
[[test]]
name = "query_async_polling"
path = "tests/query_async_polling.rs"
[[test]]
name = "results_arrow"
path = "tests/results_arrow.rs"
[[test]]
name = "saved_queries_read"
path = "tests/saved_queries_read.rs"
[[test]]
name = "saved_query_versioning"
path = "tests/saved_query_versioning.rs"
[[test]]
name = "secrets_crud"
path = "tests/secrets_crud.rs"
[[test]]
name = "uploads_crud"
path = "tests/uploads_crud.rs"
[[test]]
name = "workspaces_list"
path = "tests/workspaces_list.rs"
[dependencies.arrow-array]
version = "55"
optional = true
[dependencies.arrow-ipc]
version = "55"
optional = true
[dependencies.arrow-schema]
version = "55"
optional = true
[dependencies.async-trait]
version = "^0.1"
[dependencies.bytes]
version = "^1"
[dependencies.futures-core]
version = "^0.3"
[dependencies.log]
version = "^0.4"
[dependencies.reqwest]
version = "^0.13"
features = [
"json",
"multipart",
"stream",
"query",
"form",
]
default-features = false
[dependencies.serde]
version = "^1.0"
features = ["derive"]
[dependencies.serde_json]
version = "^1.0"
[dependencies.serde_repr]
version = "^0.1"
[dependencies.serde_with]
version = "^3.8"
features = [
"base64",
"std",
"macros",
]
default-features = false
[dependencies.tokio]
version = "^1.46.0"
features = [
"fs",
"sync",
"rt",
"macros",
"time",
]
[dependencies.tokio-util]
version = "^0.7"
features = ["codec"]
[dependencies.url]
version = "^2.5"
[dev-dependencies.futures]
version = "^0.3"
[dev-dependencies.reqwest]
version = "^0.13"
default-features = false
[dev-dependencies.tokio]
version = "^1.46.0"
features = [
"rt-multi-thread",
"macros",
"time",
]
[dev-dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.wiremock]
version = "0.6"