Skip to content

Commit 187e54e

Browse files
committed
fmt
1 parent c4061b0 commit 187e54e

File tree

1 file changed

+45
-28
lines changed

1 file changed

+45
-28
lines changed

Cargo.toml

Lines changed: 45 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,67 @@
11
[package]
2+
authors = [
3+
"ringsaturn <ringsaturn.me@gmail.com>",
4+
]
5+
categories = [
6+
"science::geo",
7+
"date-and-time",
8+
"command-line-utilities",
9+
]
210
description = "Fast convert longitude,latitude to timezone name."
311
documentation = "https://docs.rs/tzf-rs"
412
edition = "2024"
513
homepage = "https://github.com/ringsaturn/tzf-rs"
6-
keywords = ["timezone", "geo"]
14+
keywords = [
15+
"timezone",
16+
"geo",
17+
]
718
license = "MIT"
819
name = "tzf-rs"
920
readme = "README.md"
1021
repository = "https://github.com/ringsaturn/tzf-rs"
11-
authors = ["ringsaturn <ringsaturn.me@gmail.com>"]
1222
version = "1.1.2"
13-
categories = ["science::geo", "date-and-time","command-line-utilities"]
1423

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

1726
[dependencies]
1827
anyhow = "1"
1928
bytes = "1"
20-
clap = { version = "4", features = [
21-
"color",
22-
"help",
23-
"usage",
24-
"derive",
25-
], optional = true }
29+
clap = {version = "4", features = [
30+
"color",
31+
"help",
32+
"usage",
33+
"derive",
34+
], optional = true}
35+
geometry-rs = "0.3.3"
2636
prost = "0.14.1"
27-
serde = { version = "1.0.228", features = ["derive"] , optional = true }
28-
serde_json = { version = "1.0.145", optional = true }
29-
30-
# tzf-rel = { git = "https://github.com/ringsaturn/tzf-rel", tag = "v0.0.2022-f5"}
37+
serde = {version = "1.0.228", features = [
38+
"derive",
39+
], optional = true}
40+
serde_json = {version = "1.0.145", optional = true}
3141
tzf-rel = "0.0.2025-b"
3242

33-
# geometry-rs = { git = "https://github.com/ringsaturn/geometry-rs", rev = "1c7231d"}
34-
geometry-rs = "0.3.3"
35-
3643
[dev-dependencies]
37-
lazy_static = "1.5.0"
38-
39-
criterion = { version = "0.7", features = ["html_reports"] }
40-
41-
# cities-json = { git = "https://github.com/ringsaturn/go-cities.json" , rev = "0660039" }
4244
cities-json = "0.6.8"
43-
45+
criterion = {version = "0.7", features = [
46+
"html_reports",
47+
]}
48+
lazy_static = "1.5.0"
4449

4550
[features]
46-
default = ["clap"]
47-
export-geojson = ["serde", "serde_json"]
51+
default = [
52+
"clap",
53+
]
54+
export-geojson = [
55+
"serde",
56+
"serde_json",
57+
]
4858

4959
[[bin]]
50-
name = "tzf"
51-
required-features = ["clap"]
5260
doc = false
61+
name = "tzf"
62+
required-features = [
63+
"clap",
64+
]
5365

5466
[[bench]]
5567
harness = false
@@ -62,11 +74,16 @@ prost-build = "0.14.1"
6274
lto = true
6375

6476
[target.'cfg(not(target_env = "msvc"))'.dev-dependencies]
65-
pprof = { version = "0.15", features = ["flamegraph"] }
77+
pprof = {version = "0.15", features = [
78+
"flamegraph",
79+
]}
6680

6781
[package.metadata.docs.rs]
6882
# To doc all features
6983
all-features = true
7084
# You would see why we do this later
7185
# As a side note, docs.rs build doc with nightly cargo
72-
rustdoc-args = ["--cfg", "docsrs"]
86+
rustdoc-args = [
87+
"--cfg",
88+
"docsrs",
89+
]

0 commit comments

Comments
 (0)