-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (51 loc) · 1.7 KB
/
Cargo.toml
File metadata and controls
60 lines (51 loc) · 1.7 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
[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 = "*"
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 }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time", "net", "io-util"] }
dashmap = "5"
parking_lot = "0.12"
bytes = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", optional = true }
once_cell = "1"
crossbeam-channel = "0.5"
# Python (Optional)
pyo3 = { version = "0.19.2", optional = true }
pyo3-asyncio = { version = "0.19", features = ["tokio-runtime"], optional = true }
# Node.js (Optional)
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", "jit"]
pyo3 = ["dep:pyo3", "dep:pyo3-asyncio"]
jit = ["dep:cranelift", "dep:cranelift-module", "dep:cranelift-jit", "dep:cranelift-native"]
node = ["dep:napi", "dep:napi-derive", "dep:napi-build"]
[dev-dependencies]
futures = "0.3"
tracing-subscriber = "0.3"
pyo3 = { version = "0.19.2", features = ["auto-initialize"] }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
[profile.dev]
strip = true
panic = "abort"