-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathCargo.toml
60 lines (55 loc) · 1.65 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
authors = ["Andrew Korzhuev <korzhuev@andrusha.me>"]
categories = ["api-bindings", "database"]
description = "Snowflake API bindings"
documentation = "http://docs.rs/sqlite-api/"
edition = "2021"
keywords = ["api", "database", "snowflake"]
license = "Apache-2.0"
name = "snowflake-api"
readme = "README.md"
repository = "https://github.com/mycelial/snowflake-rs"
version = "0.11.0"
[features]
all = ["cert-auth", "polars"]
cert-auth = ["dep:snowflake-jwt"]
default = ["cert-auth"]
# support for conversion of arrow and json payloads to dataframes
polars = ["dep:polars-core", "dep:polars-io"]
[dependencies]
arrow = "54"
async-trait = "0.1"
base64 = "0.22"
bytes = "1"
futures = "0.3"
log = "0.4"
regex = "1"
reqwest = { version = "0.12", default-features = false, features = [
"gzip",
"json",
"rustls-tls",
] }
reqwest-middleware = { version = "0.4", features = ["json"] }
reqwest-retry = "0.7"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
snowflake-jwt = { version = "0.3", optional = true }
thiserror = "2"
url = "2"
uuid = { version = "1", features = ["v4"] }
# polars-support
polars-core = { version = ">=0.41", optional = true }
polars-io = { version = ">=0.41", features = [
"json",
"ipc_streaming",
], optional = true }
# put request support
glob = { version = "0.3" }
object_store = { version = "0.11", features = ["aws"] }
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
[dev-dependencies]
anyhow = "1"
arrow = { version = "54", features = ["prettyprint"] }
clap = { version = "4", features = ["derive"] }
pretty_env_logger = "0.5"
tokio = { version = "1.35", features = ["macros", "rt-multi-thread"] }