-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
51 lines (45 loc) · 1.66 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
[package]
authors = ["rise0chen<[email protected]>"]
description = "lebai_sdk"
edition = "2021"
license-file = "LICENSE"
name = "lebai_sdk"
repository = "https://github.com/lebai-robotics/lebai-sdk.rs"
version = "0.2.22"
[workspace]
members = [
"proto",
]
[lib]
crate-type = ["cdylib", "rlib"]
name = "lebai_sdk"
[features]
default = []
ffi_lua = ["cmod/ffi_lua", "mlua"]
ffi_py = ["cmod/ffi_py", "pyo3"]
ffi_py_asyncio = ["ffi_py", "cmod/ffi_py_asyncio", "pyo3"]
ffi_wasm = ["cmod/ffi_wasm", "wasm-bindgen", "wasm-bindgen-futures", "futures-timer/wasm-bindgen"]
module = ["cmod/module"]
mdns = ["mdns-sd"]
[dependencies]
async-lock = "3"
cmod = {version = "0.4"}
futures-timer = "3"
futures-util = {version = "0.3", default-features = false}
jsonrpsee-core = {version = "0.24", default-features = false}
mdns-sd = {version = "0.13", default-features = false, features = ["async"], optional = true}
mlua = {version = "0.10", features = ["lua54"], optional = true}
once_cell = {version = "1", default-features = false}
pin-project-lite = "0.2"
proto = {package = "lebai-proto", path = "proto", version = "3"}
pyo3 = {version = "0.20", features = ["abi3-py37"], optional = true}
serde = {version = "1", features = ["derive"]}
serde_json = "1"
wasm-bindgen = {version = "0.2", optional = true}
wasm-bindgen-futures = {version = "0.4", optional = true}
[target.'cfg(target_family = "wasm")'.dependencies]
jsonrpsee-wasm-client = {version = "0.24", default-features = false}
[target.'cfg(not(target_family = "wasm"))'.dependencies]
jsonrpsee-ws-client = {version = "0.24", default-features = false}
tokio = {version = "1", default-features = false, features = ["rt-multi-thread"]}
[patch.crates-io]