# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "blitzortung"
version = "0.1.4"
description = "Unofficial Blitzortung.org client"
license = "MIT"
repository = "https://github.com/akeamc/blitzortung"
resolver = "1"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[dependencies.futures]
version = "0.3.26"

[dependencies.geo]
version = "0.24.0"
optional = true

[dependencies.rand]
version = "0.8.5"
optional = true

[dependencies.serde]
version = "1.0.154"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.94"

[dependencies.thiserror]
version = "1.0.39"

[dependencies.time]
version = "0.3.20"
features = ["serde-human-readable"]
optional = true

[dependencies.tokio]
version = "1.26.0"
features = ["net"]

[dependencies.tokio-tungstenite]
version = "0.18.0"
features = ["rustls-tls-native-roots"]
optional = true

[dependencies.tracing]
version = "0.1.37"
optional = true

[dev-dependencies.tokio-test]
version = "0.4.2"

[features]
live = [
    "dep:tokio-tungstenite",
    "dep:rand",
    "dep:time",
]
