Skip to content

Commit 0a199e9

Browse files
committed
fix build
1 parent 742dc3a commit 0a199e9

File tree

5 files changed

+4
-9
lines changed

5 files changed

+4
-9
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ exclude = [
3535
[workspace.dependencies]
3636
bincode = "1.3"
3737
chrono = "0.4"
38+
firedbg-lib = "0.1.2"
3839
log = "0.4"
3940
serde = { version = "1.0", features = ["derive"] }
4041
serde_json = "1.0"
@@ -67,6 +68,7 @@ updater = { path = "./crates/updater" }
6768
auto-launch = { version = "0.5", optional = true }
6869
bincode = { version = "1.3", optional = true }
6970
clap = { version = "4.5", features = ["derive"] }
71+
firedbg-lib = { workspace = true }
7072
log = "0.4"
7173
log4rs = "1.3"
7274
reqwest = { version = "0.12", features = ["blocking"] }

crates/cli/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ edition = "2021"
77

88
[dependencies]
99
chrono = { workspace = true }
10+
firedbg-lib = "0.1.2"
1011
log = { workspace = true }
1112
serde = { workspace = true, features = ["derive"] }
1213
serde_json = { workspace = true }

crates/updater/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9+
firedbg-lib = "0.1.2"
910
log = { workspace = true}
1011
serde = { workspace = true, features = ["derive"] }
1112
serde_json = { workspace = true}

crates/weather_dirs/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
home = "0.5"
109
thiserror = { workspace = true }

crates/weather_dirs/src/lib.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,6 @@ pub enum Error {
1010
HomeDirectoryNotFound,
1111
}
1212

13-
#[cfg(windows)]
14-
pub fn weathercli_dir() -> crate::Result<PathBuf> {
15-
Ok(home::home_dir()
16-
.ok_or(Error::HomeDirectoryNotFound)?
17-
.join(".weathercli"))
18-
}
19-
20-
#[cfg(any(unix, target_os = "redox"))]
2113
pub fn weathercli_dir() -> crate::Result<PathBuf> {
2214
Ok(std::env::home_dir()
2315
.ok_or(Error::HomeDirectoryNotFound)?

0 commit comments

Comments
 (0)