-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (31 loc) · 990 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
[package]
name = "initunlock-rs"
version = "0.1.0"
authors = ["RageLtMan <rageltman [at] sempervictus>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
"smbios-lib" = "0.7.1"
"hashicorp_vault" = "2.1.0"
"reqwest" = "*"
# Add openssl-sys as a direct dependency so it can be cross compiled to
# x86_64-unknown-linux-musl using the "vendored" feature below
openssl-sys = "*"
[features]
# Force openssl-sys to staticly link in the openssl library.
# Necessary when cross compiling to x86_64-unknown-linux-musl.
vendored = ["openssl-sys/vendored"]
[profile.release]
opt-level = 'z'
lto = true
codegen-units = 1
panic = 'abort'
# Build with:
# cargo clean
# cargo build \
# --target x86_64-unknown-linux-musl \
# --release \
# --features vendored \
# -Z build-std=std,panic_abort \
# -Z build-std-features=panic_immediate_abort
# strip -s target/x86_64-unknown-linux-musl/release/initunlock-rs