-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
30 lines (26 loc) · 910 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
cargo-features = ["strip"]
[package]
name = "upload_server"
version = "0.1.1"
authors = ["Arpad Kovacs <akovacs@alumni.stanford.edu>"]
edition = "2018"
[dependencies]
chrono = "0.4.0"
clap = "2.29.2"
formdata = "0.12.2"
mime_guess = "1.8.3"
notify = "4.0.3"
pretty-bytes = "0.2.2"
rocket = "0.4.9"
rocket_codegen = "0.4.9"
rocket-basicauth = { version = "1" } #, path = "../rocket-basicauth" }
rust-crypto = "0.2.36"
time = "0.1.39"
[profile.release]
strip = true # Automatically strip symbols from the binary.
lto = "fat" # Optimize at link stage, removing dead code and reducing binary size.
# Performs "fat" LTO which attempts to perform optimizations across all
# crates within the dependency graph.
codegen-units = 1 # Reduce parallelism to allow maximum size reduction optimizations.
[target.x86_64-apple-darwin]
rustflags=["-C", "link-arg=-mmacosx-version-min=10.7"]