-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
90 lines (73 loc) · 1.96 KB
/
Cargo.toml
File metadata and controls
90 lines (73 loc) · 1.96 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
[package]
name = "win_cred_provider"
version = "0.1.0"
edition = "2024"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
# https://microsoft.github.io/windows-rs/features/
windows = { version = "0.62.2", features = [
# Networking
"Win32_Networking_WinHttp",
# Registry
"Win32_System_Registry",
# COM
"Win32_System_Com",
"Win32_System_Com_StructuredStorage",
# Basic Windows types and utilities
"Win32_Foundation",
"Win32_System_Ole",
"Win32_Graphics_Gdi",
"Win32_System_SystemServices",
"Win32_System_LibraryLoader",
"Win32_UI_WindowsAndMessaging",
"Win32_System_WindowsProgramming",
"Win32_System_Threading",
"Win32_Storage_EnhancedStorage",
"Win32_System_Pipes",
"Win32_Storage_FileSystem",
"Win32_System_IO",
"Win32_System_Diagnostics_Debug",
# Credential Provider
"Win32_Security_Credentials",
"Win32_UI_Shell",
"Win32_UI_Shell_PropertiesSystem",
"Win32_Security_Authentication_Identity"
] }
# To avoid version conflicts with other imported packages, force this version
windows-core = "0.62.2"
# crypt part
base64 = "0.22.1"
aes-gcm = "0.10.3"
byteorder = "1.5.0"
anyhow = "1.0"
widestring = "1.2"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0"
# For Protocol Buffers
prost = "0.14"
prost-types = "0.14"
# Zeroize, for securing data
zeroize = "1.8.2"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-log = "0.2"
[profile.release]
strip = true # Automatically strip symbols from the binary.
opt-level = "z" # Optimize for size.
# Enable a small amount of optimization in the dev profile.
[profile.dev]
opt-level = 0
# Enable a large amount of optimization in the dev profile for dependencies.
[profile.dev.package."*"]
opt-level = 3
[build-dependencies]
prost-build = "0.14"
chrono = "0.4"
winres = "0.1"
[dev-dependencies]
mockito = "1.7"
libloading = "0.9"
rand = "0.10"
serial_test = "3.4"