-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
91 lines (78 loc) · 1.96 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
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
91
[[bin]]
required-features = ["support", "installer"]
name = "installer"
path = "src/installer.rs"
[[bin]]
name = "weather"
path = "src/weather.rs"
[workspace]
members = [
"custom_backends/theweatherchannel",
"custom_backends/test_wasm",
"crates/backend",
"crates/cli",
"crates/custom_backend",
"crates/layout",
"crates/layout2",
"crates/local",
"crates/networking",
"crates/networking_internal",
"crates/networking_macros",
"crates/settings_app",
"crates/terminal",
"crates/updater",
"crates/weather_dirs",
"crates/weather_plugin",
"crates/weather_structs",
]
exclude = [
"dev-scripts"
]
[workspace.dependencies]
bincode = "1.3"
chrono = "0.4"
log = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
simd-json = "0.13"
thiserror = "1.0"
windows = "0.58"
[package]
name = "weather"
version = "2024.5.18"
edition = "2021"
authors = ["Ashwin Naren"]
rust-version = "1.64.0"
description = "weather, in your terminal"
readme = "README.md"
homepage = "https://arihant2math.github.io/weathercli/"
repository = "https://github.com/arihant2math/weathercli"
[build-dependencies]
winresource = "0.1"
[dependencies]
custom_backend = { path = "./crates/custom_backend" }
cli = { path = "./crates/cli" }
terminal = { path = "./crates/terminal" }
weather_dirs = { path = "./crates/weather_dirs" }
local = { path = "./crates/local" }
updater = { path = "./crates/updater" }
auto-launch = { version = "0.5", optional = true }
bincode = { version = "1.3", optional = true }
clap = { version = "4.5", features = ["derive"] }
log = "0.4"
log4rs = "1.3"
reqwest = { version = "0.12", features = ["blocking"] }
tokio = { version = "1", features = ["full"] }
[dev-dependencies]
rand = "0.8"
[target.'cfg(windows)'.dependencies]
winreg = "0.52.*"
[features]
support = ["dep:auto-launch", "dep:bincode"]
installer = ["tokio/full"]
gui = ["cli/gui"]
default = ["gui"]
[profile.release]
debug = 1
[profile.bench]
debug = true