forked from martinber/noaa-apt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
57 lines (50 loc) · 1.68 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
53
54
55
56
57
[package]
name = "noaa-apt"
version = "1.4.1"
authors = ["Martin Bernardi <martinber.710@gmail.com>"]
edition = "2018"
build = "src/build.rs"
[profile.dev]
# So the dev builds run faster, otherwise they are extremely slow
opt-level = 3
[profile.release]
# I don't like silent overflows
overflow-checks = true
[features]
default = ["gui"]
gui = ["gtk", "gdk", "gdk-pixbuf", "gio", "glib"]
static_ssl = ["openssl/vendored"] # Not valid for Microsoft Windows
windows_console = [] # Show console on Microsoft Windows
[dependencies]
approx = "0.5.1"
argparse = "0.2.2"
chrono = "0.4.31"
directories = "5.0.1"
filetime = "0.2.22"
gcd = "2.3.0"
hound = "3.5.1"
lab = "0.11.0"
line_drawing = "1.0.0"
log = "0.4.20"
image = { version = "0.24.7", features = ["png"] }
reqwest = { version = "0.11.22", features = ["blocking"] }
rustfft = "6.1.0"
satellite = { git = "https://github.com/richinfante/satellite-rs", rev = "1f95726" }
semver = "1.0.20"
serde = { version = "1.0.193", features = ["derive"] }
serde_json = "1.0.108"
shapefile = "0.4.0"
simple_logger = "4.3.0"
toml = "0.7.8"
# openssl is a indirect dependency because of reqwest, I have to add openssl as
# a direct dependency if I want to enable the "vendored" feature, but for
# Windows it breaks the build. Looks like adding it as an optional dependency is
# working for both cases
openssl = { version = "0.10.60", optional = true }
gtk = { version = "0.18.1", optional = true }
gdk = { version = "0.18.0", optional = true }
gdk-pixbuf = { version = "0.18.3", optional = true }
gio = { version = "0.18.3", optional = true }
glib = { version = "0.18.3", optional = true }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.9", features = ["shellapi"] }