Skip to content

Commit 954f7d7

Browse files
committed
feat: tracing
refactor:
1 parent 32cfb3c commit 954f7d7

File tree

4 files changed

+237
-50
lines changed

4 files changed

+237
-50
lines changed

Diff for: Cargo.lock

+163-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

+20-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,32 @@
11
[package]
2-
name = "weather"
3-
version = "0.3.1"
2+
name = "israel-weather-rs"
3+
version = "0.3.2"
44
edition = "2021"
5+
rust-version = "1.83"
6+
description = "a utility to download the israeli weather forecast from ims.gov.il , save it to a cache, and allow recall at any point in the future from the cache as filtered by location and current time. meant for alerting the user to expected rain"
7+
readme = "README.md"
8+
repository = "https://github.com/barakplasma/israel-weather-rs"
9+
license = "MIT"
10+
11+
[lints.rust]
12+
unsafe_code = "forbid"
513

614
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
715

816
[dependencies]
917
cached-path = "0.6"
1018
chrono = "0.4"
11-
clap = { version = "4", features = ["derive"] }
12-
serde = { version = "1", features = ["derive"]}
19+
clap = { version = "4.5", features = ["derive"] }
20+
serde = { version = "1.0", features = ["derive"] }
1321
serde-xml-rs = "0.6"
14-
serde_json = "1"
15-
log = "0.4"
22+
serde_json = "1.0"
23+
time = "0.3"
24+
tracing = "0.1"
25+
tracing-subscriber = { version = "0.3", features = [
26+
"json",
27+
"env-filter",
28+
"local-time",
29+
] }
1630

1731
[target.'cfg(target_arch = "aarch64")'.dependencies]
1832
openssl = { version = "0.10.62", features = ["vendored"] }

0 commit comments

Comments
 (0)