-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
52 lines (43 loc) · 1.28 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
[package]
name = "dnject"
version = "0.1.0"
edition = "2021"
publish = false
description = "The DNSense GUI injector, cross platform and wine-enabled"
[workspace]
members = ["injector", "injector/testlib", "mach_util", "macos_portfetch", "macos_portfetch/macos_portfetch_internal"]
[features]
macos-ent-bypass = ["macos_portfetch/exploit-CVE-2022-42855"] # No-op on non-darwin
wine = ["wine_util"] # No-op on non-unix
[dependencies]
log = "0.4"
libc = "0.2"
cpp_core = "0.6"
qt_core = "0.5"
qt_gui = "0.5"
qt_widgets = "0.5"
qt_ui_tools = "0.5"
qt_core_custom_events = "0.2"
sysinfo = "0.30"
injector = { path = "injector" }
[target.'cfg(target_family = "unix")'.dependencies]
wine_util = { path = "wine_util", optional = true}
[target.'cfg(target_os = "macos")'.dependencies]
nix = { version = "0.27", features = [ "fs" ] }
mach_util = { path = "mach_util" }
macos_portfetch = { path = "macos_portfetch" }
[build-dependencies]
qt_ritual_build = "0.5"
[profile.release]
panic = "abort"
codegen-units = 1
lto = true
# see injector/src/macos/bootstrap.rs:8
[profile.dev.package.injector]
opt-level = 2
debug-assertions = false
[package.metadata.bundle]
identifier = "pub.dnsense.dnject"
copyright = "© Copyright 2001 $wag$oft Industries DnbH"
category = "Development"
osx_minimum_system_version = "10.13"