forked from shinkuan/Akagi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
73 lines (68 loc) · 2.81 KB
/
Copy pathCargo.toml
File metadata and controls
73 lines (68 loc) · 2.81 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
61
62
63
64
65
66
67
68
69
70
71
72
73
[package]
name = "akagi"
version = "3.3.2"
edition = "2021"
[lib]
name = "akagi"
[build-dependencies]
tauri-build = { version = "2", features = [] }
prost-build = "0.14"
[dependencies]
# `macos-private-api`: the suggestion overlay is a transparent window, and on
# macOS `WebviewWindowBuilder::transparent` does not exist without this feature
# — it is `#[cfg(any(not(target_os = "macos"), feature = "macos-private-api"))]`.
# Must stay in step with `app.macOSPrivateApi` in tauri.conf.json; the feature
# is what makes the call compile, the config flag is what makes it take effect.
# The catch is that it uses private Apple APIs, so a build with it cannot be
# accepted into the Mac App Store. Akagi ships as an unsigned portable zip from
# GitHub Releases, so that costs us nothing.
tauri = { version = "2", features = ["macos-private-api"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "1.1"
clap = { version = "4.6", features = ["derive"] }
anyhow = "1"
tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync", "signal", "fs", "process", "io-util", "time"] }
async-trait = "0.1.89"
which = "8.0.2"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt", "chrono"] }
tracing-appender = "0.2"
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
hudsucker = { version = "0.24", features = ["rcgen-ca", "rustls-client", "http2"], default-features = false }
hyper-rustls = { version = "0.27", default-features = false, features = ["http1", "http2", "tls12"] }
serde_with = "3.18.0"
prost = "0.14"
prost-reflect = { version = "0.16", features = ["serde"] }
base64 = "0.22"
riichienv-core = "0.4.8"
native_bot = { path = "native_bot" }
reqwest = { version = "0.13", default-features = false, features = ["rustls", "json", "stream", "http2", "charset"] }
zip = { version = "8", default-features = false, features = ["deflate"] }
globset = "0.4"
tempfile = "3"
futures-util = "0.3"
dirs = "6"
chromiumoxide = "0.9.1"
ulid = { version = "1", features = ["serde"] }
rand = "0.9"
http = "1"
time = "0.3"
self-replace = "1"
semver = "1"
sha2 = "0.11"
thiserror = "2"
tauri-plugin-dialog = "2"
tauri-plugin-window-state = "2"
opener = { version = "0.8.5", default-features = false }
# Windows-only: find + terminate a surviving controlled Chromium by its command
# line when reopening (Chrome writes no SingletonLock file on Windows, so the
# lock-file reclaim can't see it). Unix reclaims via the SingletonLock symlink,
# so no crate is needed there.
[target.'cfg(windows)'.dependencies]
sysinfo = { version = "0.39.5", default-features = false, features = ["system"] }
[dev-dependencies]
tempfile = "3"
# `net` is not in the main tokio feature set; the proxy integration test drives
# the proxy over a real TCP socket.
tokio = { version = "1", features = ["net"] }