-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
38 lines (35 loc) · 1.88 KB
/
Copy pathCargo.toml
File metadata and controls
38 lines (35 loc) · 1.88 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
[package]
name = "tryx"
version = "0.6.4"
edition = "2024"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "tryx"
crate-type = ["cdylib"]
[dependencies]
pyo3 = { version = "0.28.0", features = ["extension-module"] }
# NOTE: intentionally no `simd` feature — it turns on `#![feature(portable_simd)]`
# in wacore-binary, which is nightly-only and breaks stable builds (CI + sdist).
whatsapp-rust = { path = "libs/whatsapp-rust", default-features = false, features = ["sqlite-storage", "tokio-transport", "tokio-runtime", "ureq-client", "tokio-native", "signal"] }
whatsapp-rust-sqlite-storage = {path = "libs/whatsapp-rust/storages/sqlite-storage"}
whatsapp-rust-tokio-transport = {path = "libs/whatsapp-rust/transports/tokio-transport"}
whatsapp-rust-ureq-http-client = {path = "libs/whatsapp-rust/http_clients/ureq-client"}
wacore = { path = "libs/whatsapp-rust/wacore", default-features = false }
waproto = {path = "libs/whatsapp-rust/waproto"}
wacore-binary = { path = "libs/whatsapp-rust/wacore/binary", default-features = false }
tokio = { version = "1.48", features = ["macros", "rt-multi-thread", "signal", "sync"] }
async-trait = "0.1.89"
pyo3-async-runtimes = { version = "0.28.0", features = ["attributes", "tokio-runtime"] }
buffa = { version = "0.8.1", default-features = false, features = ["json"] }
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "fmt"] }
chrono = "0.4.44"
infer = { git = "https://github.com/bojand/infer", branch = "master" }
libloading = "0.8"
serde_json = "1"
bincode = "1"
bytes = "1"
serde = { version = "1", features = ["derive"] }
# default-features = false disables wacore-appstate's default `simd` feature,
# which would otherwise pull in nightly-only portable_simd via wacore-binary.
wacore-appstate = { path = "libs/whatsapp-rust/wacore/appstate", default-features = false }