-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathCargo.toml
More file actions
65 lines (59 loc) · 1.85 KB
/
Cargo.toml
File metadata and controls
65 lines (59 loc) · 1.85 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
[package]
name = "cubejs-native"
version = "0.28.0"
authors = ["Cube Dev, Inc."]
edition = "2018"
license = "Apache-2.0"
description = "Native module for Cube.js (binding to Rust codebase)"
documentation = "https://cube.dev/docs"
homepage = "https://cube.dev"
exclude = ["index.node"]
[profile.dev]
opt-level = 1
[lib]
crate-type = ["cdylib", "lib"]
[dependencies]
cubesqlplanner = { path = "../../rust/cube/cubesqlplanner/cubesqlplanner" }
cubeorchestrator = { path = "../../rust/cube/cubeorchestrator" }
cubenativeutils = { path = "../../rust/cube/cubenativeutils" }
cubesql = { path = "../../rust/cubesql/cubesql" }
anyhow = "1.0"
async-channel = { version = "2" }
async-trait = "0.1.36"
convert_case = "0.6.0"
findshlibs = "0.10.2"
futures = "0.3.30"
http-body-util = "0.1"
axum = { version = "0.7.9", features = ["default", "ws"] }
libc = "0.2"
log = "0.4.21"
log-reroute = "0.1"
minijinja = { version = "1", features = ["json", "loader"] }
once_cell = "1.10"
# python
pyo3 = { version = "0.20.0", features = [], optional = true }
pyo3-asyncio = { version = "0.20.0", features = [
"tokio-runtime",
"attributes",
], optional = true }
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.127"
simple_logger = "1.7.0"
tokio = { version = "1", features = ["full", "rt"] }
uuid = { version = "1", features = ["v4"] }
log_nonblock = { version = "0.1.7", features = ["json"], optional = true }
[dependencies.neon]
version = "=1"
default-features = false
features = ["napi-1", "napi-4", "napi-6", "futures"]
[features]
default = ["neon-entrypoint", "async-log"]
neon-debug = []
neon-entrypoint = []
python = ["pyo3", "pyo3-asyncio"]
async-log = ["log_nonblock"]
# Exposes `__testBridge_*` endpoints used by the bridge regression test
# harness. Off by default — never enable in production builds.
bridge-test-harness = []
[lints.clippy]
too_many_arguments = "allow"