-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
71 lines (61 loc) · 2.03 KB
/
Copy pathCargo.toml
File metadata and controls
71 lines (61 loc) · 2.03 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
[package]
name = "iris"
version = "0.5.0"
edition = "2021"
description = "Iris — A hybrid distributed runtime fabric for actors, native compute offload, and cross-language services."
license = "AGPL-3.0"
repository = "https://github.com/SSL-ACTX/iris"
[lib]
name = "iris"
path = "src/lib.rs"
crate-type = ["cdylib", "rlib"]
[dependencies]
num_cpus = "*"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time", "net", "io-util"] }
dashmap = "5"
parking_lot = "0.12"
bytes = "1.11.1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "time"] }
once_cell = "1"
crossbeam-channel = "0.5"
crossbeam-queue = "0.3.11"
# Python (Default)
pyo3 = { version = "0.28.3", features = ["auto-initialize"], optional = true}
pyo3-async-runtimes = { version = "0.28.0", features = ["tokio-runtime"], optional = true }
# JIT (Optional and experimental)
cranelift = { version = "0.87", optional = true }
cranelift-module = { version = "0.87", optional = true }
cranelift-jit = { version = "0.87", optional = true }
cranelift-native = { version = "0.87", optional = true }
wide = { version = "1.2", optional = true }
# Node.js (Optional and currently broken)
napi = { version = "2.14", default-features = false, features = ["napi4", "tokio_rt", "async"] , optional = true }
napi-derive = { version = "2.14", optional = true }
[build-dependencies]
napi-build = { version = "2.0", optional = true }
[features]
default = ["pyo3"]
pyo3 = ["dep:pyo3", "dep:pyo3-async-runtimes"]
extension-module = ["pyo3/extension-module"]
jit = ["dep:cranelift", "dep:cranelift-module", "dep:cranelift-jit", "dep:cranelift-native", "dep:wide"]
# node = ["dep:napi", "dep:napi-derive", "dep:napi-build"]
vortex = ["pyo3"]
[dev-dependencies]
futures = "0.3"
tracing-subscriber = "0.3"
pyo3 = { version = "0.28.3", features = ["auto-initialize"] }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
[profile.dev]
opt-level = 0
debug = 0
strip = true
panic = "unwind"
incremental = true
lto = false
codegen-units = 256