-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
41 lines (32 loc) · 859 Bytes
/
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
[package]
name = "sensitive"
version = "0.10.3"
authors = ["Mikael Voss <[email protected]>"]
edition = "2021"
description = "Memory allocator for sensitive information"
repository = "https://github.com/illdefined/sensitive"
license = "MirOS"
keywords = ["security"]
categories = ["memory-management"]
[features]
default = ["string"]
force-mlock = []
string = ["unicode-normalization"]
[dependencies]
unicode-normalization = { version = "0.1", optional = true }
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["memoryapi", "sysinfoapi", "winnt"] }
[dev-dependencies]
rand = "0.8"
rand_xoshiro = "0.6"
[target.'cfg(target_os = "linux")'.dev-dependencies]
bulletproof = "0.2"
[profile.release]
lto = "thin"
[profile.test]
opt-level = 1
lto = "thin"
[profile.bench]
lto = "thin"