56 lines
1.6 KiB
TOML
56 lines
1.6 KiB
TOML
[package]
|
|
name = "nexrad-data"
|
|
version = "0.2.0"
|
|
description = "Models and functions for accessing NEXRAD data from public sources."
|
|
authors = ["Daniel Way <contact@danieldway.com>"]
|
|
repository = "https://github.com/danielway/nexrad/nexrad-data"
|
|
license = "MIT"
|
|
edition = "2021"
|
|
|
|
[features]
|
|
default = ["aws", "decode", "nexrad-model"]
|
|
decode = ["nexrad-decode", "bzip2", "serde", "bincode"]
|
|
aws = ["reqwest", "xml", "tokio"]
|
|
|
|
[dependencies]
|
|
log = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
chrono = { workspace = true }
|
|
serde = { workspace = true, optional = true }
|
|
bincode = { workspace = true, optional = true }
|
|
reqwest = { workspace = true, optional = true }
|
|
xml = { workspace = true, optional = true }
|
|
bzip2 = { workspace = true, optional = true }
|
|
tokio = { workspace = true, optional = true }
|
|
nexrad-model = { version = "0.1.0", path = "../nexrad-model", optional = true }
|
|
nexrad-decode = { version = "0.1.1", path = "../nexrad-decode", optional = true }
|
|
|
|
[dev-dependencies]
|
|
clap = { workspace = true }
|
|
env_logger = { workspace = true }
|
|
tokio = { workspace = true }
|
|
|
|
[[example]]
|
|
name = "realtime"
|
|
path = "examples/realtime.rs"
|
|
required-features = ["aws", "decode"]
|
|
|
|
[[example]]
|
|
name = "archive"
|
|
path = "examples/archive.rs"
|
|
required-features = ["aws", "decode"]
|
|
|
|
[[example]]
|
|
name = "latency_analysis"
|
|
path = "examples/latency_analysis.rs"
|
|
required-features = ["aws", "decode"]
|
|
|
|
[[example]]
|
|
name = "chunk_timing"
|
|
path = "examples/chunk_timing.rs"
|
|
required-features = ["aws", "decode"]
|
|
|
|
[[example]]
|
|
name = "chunk_csv"
|
|
path = "examples/chunk_csv.rs"
|
|
required-features = ["aws", "decode"]
|