-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathCargo.toml
More file actions
45 lines (42 loc) · 1.74 KB
/
Copy pathCargo.toml
File metadata and controls
45 lines (42 loc) · 1.74 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
[package]
name = "daily-python"
version = "0.33.0"
edition = "2021"
license = "BSD 2-Clause License"
resolver = "2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "daily"
crate-type = ["cdylib"]
[dependencies]
pyo3 = { version = "0.29.2", features = ["abi3-py38", "py-clone"] }
daily-core = { path = "../daily-core" }
futures = { version = "0.3.31", default-features = false, features = [
"std",
"executor",
] }
lazy_static = "1.5.0"
libc = "0.2.178"
pythonize = "0.29.0"
serde = { version = "1.0.219", default-features = false, features = ["derive"] }
serde_json = "1.0.140"
tracing = "0.1.41"
uuid = { version = "1.16.0", default-features = false, features = [
"serde",
"v4",
] }
webrtc-daily = { path = "../webrtc-daily" }
# WASM pack build profiles disabled along with wasm support.
# You might be wondering why do we need this, since `daily-python` does not
# build for WASM.
# Cargo's crate resolve will check the entire dependency tree regardless of the
# actual build target, and thus will fail to find a `wasm-bindgen` with the
# features we need, since they are not upstreamed yet.
# Because daily-python is not a member of the larger `daily-x` workspace, it
# does not know of the patches that we apply on wasm-bindgen there, so we have
# to tell Cargo again that we're patching all the wasm-bindgen crates.
#[patch.crates-io]
#wasm-bindgen = { git = "https://github.com/daily-co/wasm-bindgen", branch = "daily-co" }
#wasm-bindgen-futures = { git = "https://github.com/daily-co/wasm-bindgen", branch = "daily-co" }
#js-sys = { git = "https://github.com/daily-co/wasm-bindgen", branch = "daily-co" }
#web-sys = { git = "https://github.com/daily-co/wasm-bindgen", branch = "daily-co" }