-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
100 lines (77 loc) · 2.45 KB
/
Cargo.toml
File metadata and controls
100 lines (77 loc) · 2.45 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[package]
authors = ["BadMachine <iskullbreakeri@gmail.com>"]
edition = "2021"
name = "influxdb3_napi"
version = "0.1.0"
autobins = false
[lib]
crate-type = ["cdylib", "rlib"]
#[[bin]]
#name = "my-binary"
#path = "src/bin/main.rs"
[dependencies]
serde_json = "1.0.141"
tokio = { version = "1.47.0" }
futures-util = "0.3.31"
wasm-bindgen-futures = "0.4.50"
web-sys = "0.3.77"
[dependencies.serde]
version = "1.0.219"
features = ["derive"]
[dependencies.napi-derive]
version = "3.2"
[dependencies.napi]
git = "https://github.com/BadMachine/napi-rs"
branch = "fix/readable-stream-byte-mode-lock"
package = "napi"
#features = ["full","experimental","tokio","web_stream","tokio-stream"]
features = ["experimental", "web_stream", "serde-json", "napi10", "async"]
#[dependencies.reqwest]
#version = "0.12.23"
#features = ["stream", "json", "rustls-tls-native-roots-no-provider", "gzip"]
[target.'cfg(target_arch = "wasm32")'.dependencies]
reqwest = { version = "0.12.23", default-features = false, features = ["rustls-tls", "json", "stream", "blocking"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tonic = { version = "0.13", features = ["gzip", "tls-native-roots", "tls-webpki-roots", "tls-ring"] }
arrow = { version = "56.0.0", features = ["arrow-json"] }
arrow-flight = { version = "56.0.0", features = ["flight-sql"] }
serde_arrow = { version = "0.13.5", features = ["arrow-56"] }
reqwest = { version = "0.12.23", features = ["stream", "json", "rustls-tls-native-roots-no-provider", "gzip"] }
[build-dependencies]
napi-build = "2.2.3"
[build-dependencies.napi-derive]
version = "3.1.2"
[target.x86_64-unknown-linux-gnu.dependencies.openssl]
version = "0.10"
features = ["vendored"]
[target.aarch64-unknown-linux-gnu.dependencies.openssl]
version = "0.10"
features = ["vendored"]
[target.aarch64-linux-android.dependencies.openssl]
version = "0.10"
features = ["vendored"]
[target.armv7-linux-androideabi.dependencies.openssl]
version = "0.10"
features = ["vendored"]
[target.aarch64-unknown-linux-musl.dependencies.openssl]
version = "0.10"
features = ["vendored"]
[target.x86_64-unknown-linux-musl.dependencies.openssl]
version = "0.10"
features = ["vendored"]
[target.armv7-unknown-linux-gnueabihf.dependencies.openssl]
version = "0.10"
features = ["vendored"]
[dev-dependencies]
dotenvy = "0.15"
[dev-dependencies.influxdb3_napi]
path = "."
features = ["native"]
[features]
default = []
native = []
[profile.release]
lto = true
strip = "symbols"
opt-level = 3
debug = "none"