-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
60 lines (54 loc) · 1.21 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
52
53
54
55
56
57
58
59
60
[package]
name = "awr"
version = "0.1.0"
authors = ["忘忧北萱草<[email protected]>"]
license = "AGPL-3.0"
edition = "2021"
include = [
"/python",
"/src",
"Cargo.lock",
"pyproject.toml",
"!__pycache__",
"!*.so",
]
[lib]
name = "awr"
crate-type = ["cdylib"]
[dependencies]
pyo3 = { version = "0.17", features = [
"extension-module",
"anyhow",
"abi3",
"abi3-py38",
] }
pyo3-asyncio = { version = "0.17", features = ["tokio-runtime"] }
pyo3-built = "0.4"
ricq = "0.1.19"
ricq-core = "0.1"
tokio = { version = "1", features = ["rt", "fs"] }
tokio-util = { version = "0.7", features = ["codec"] }
tokio-stream = "0.1"
futures-util = "0.3"
anyhow = "1.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3" }
serde_json = "1"
hex = "0.4.3"
bytes = "1"
rand = "0.8.5"
rand_chacha = "0.3.1"
either = "1.8.0"
requestty = "0.5.0"
rqrr = { version = "0.6", optional = true }
qrcode = { version = "0.12", optional = true }
image = { version = "0.24", optional = true }
[build-dependencies]
built = { version = "0.5", features = ["chrono"] }
[features]
qrcode = ["dep:rqrr", "dep:qrcode", "dep:image"]
default = ["qrcode"]
[package.metadata.maturin]
python-source = "python"
[profile.release]
lto = true