-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
39 lines (34 loc) · 1.11 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
[package]
name = "location2gpx"
version = "0.1.0"
edition = "2021"
authors = ["Luis Fernando Batels <luisfbatels@gmail.com>"]
description = "GPX file generator"
repository = "https://github.com/fernandobatels/location2gpx"
keywords = ["gpx", "gps", "location", "geography"]
categories = ["science::geo"]
license = "MIT"
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
argopt = { version = "0.3.0", optional = true }
geo = "0.24"
gpx = "0.8.6"
mongodb = { version = "2.3.1", optional = true, features = ["tokio-sync"] }
bson = { version = "2.5.0", optional = true, features = ["time-0_3"] }
time = { version = "0.3.19", features = ["macros"] }
csv = { version = "1.2.1", optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.9.19"
dirs = { version = "5.0.0", optional = true }
[features]
default = ["cli", "mongo", "csv"]
cli = ["dep:argopt", "dep:dirs"]
mongo = ["dep:mongodb", "dep:bson"]
csv = ["dep:csv"]
[[bin]]
name = "location2gpx"
required-features = ["cli"]
[lib]
name = "location2gpx"
crate-type = ["lib"]