-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathCargo.toml
More file actions
93 lines (86 loc) · 2.83 KB
/
Copy pathCargo.toml
File metadata and controls
93 lines (86 loc) · 2.83 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[package]
name = "aa-proxy-rs"
authors = ['Mariusz Białończyk']
version = "0.22.0"
edition = "2021"
license = 'GPL-2.0'
description = 'AndroidAuto wired/wireless proxy'
documentation = 'https://github.com/manio/aa-proxy-rs'
readme = 'README.md'
categories = ['command-line-utilities']
homepage = 'https://github.com/manio/aa-proxy-rs'
repository = 'https://github.com/manio/aa-proxy-rs'
default-run = "aa-proxy-rs"
[features]
default = ["wasm-scripting", "io-uring"]
io-uring = ["dep:tokio-uring"]
wasm-scripting = ["wasmtime", "wasmtime/component-model", "wasmtime-wasi", "notify"]
[dependencies]
dbus = { version = "0.9.7", features = ["vendored"] }
zbus = { version = "5.18", default-features = false, features = ["tokio"] }
bluer = { version = "0.17.4", features = ["full"] }
futures = "0.3.31"
kobject-uevent = "0.1.1"
netlink-sys = "0.8.6"
protobuf = "3.7.1"
protobuf-json-mapping = "3.7.1"
tokio = { version = "1.41.0", features = ["full"] }
tokio-fd = "0.3.0"
tokio-uring = { version = "0.5.0", optional = true }
mac_address = "1.1.7"
bytesize = "1.3.0"
simplelog = { version = "0.12.1", features = ["paris", "ansi_term"] }
clap = { version = "4.5.37", features = ["derive"] }
humantime = "2.1.0"
log = "0.4.22"
netif = "0.1.6"
rustls = { version = "0.23" }
rustls-pki-types = "1"
nusb = { version = "0.2.3", features = ["tokio"] }
thiserror = "2.0.12"
byteorder = "1.5.0"
config = "0.14"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
serde_with = { version = "3" }
axum = { version = "0.6", features = ["ws"] }
hyper = { version = "0.14", features = ["full"] }
toml_edit = "0.22"
chrono = "0.4.41"
hex = "0.4.3"
base64 = "0.22"
indexmap = { version = "2", features = ["serde"] }
regex = "1"
anyhow = "1.0.99"
shell-words = "1.1.0"
nix = { version = "0.30", features = ["signal", "process"] }
flate2 = "1.1.2"
tar = "0.4.44"
backon = "1.5"
glob = "0.3.3"
tokio-util = "0.7.16"
uuid = "1"
sha2 = "0.10.9"
libc = "0.2.177"
time = { version = "0.3", features = ["parsing", "macros"] }
evdev = { version = "0.13", features = ["tokio"] }
wasmtime = { version = "38", features = ["async"], optional = true }
wasmtime-wasi = { version = "38", optional = true }
notify = { version = "8", optional = true }
ureq = "2"
rust_h264 = "0.4"
png = "0.17"
wpactrl = "0.5.1"
[patch.crates-io]
tokio-uring = { git = "https://github.com/manio/tokio-uring", branch = "musl-riscv" }
[build-dependencies]
protoc-bin-vendored = "3.1.0"
protobuf-codegen = "3.7.1"
[[bin]]
name = "generate_config"
path = "src/bin/generate_config.rs"
[profile.release]
strip = true # Automatically strips symbols and debug info
lto = true # Optional: Enables Link-Time Optimization for even smaller binaries
codegen-units = 1 # Optional: Reduces parallel code generation, allowing better optimization
panic = "abort" # Removes unwinding machinery for smaller, slightly faster binaries