# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "dtn7-plus"
version = "0.3.0"
authors = ["Lars Baumgaertner <baumgaertner@cs.tu-darmstadt.de>"]
exclude = [".vscode/", ".travis.yml"]
description = "Additional helpers for rust dtn daemon"
readme = "README.md"
keywords = ["peer2peer", "dtn"]
categories = ["network-programming"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dtn7/dtn7-plus-rs"

[[bin]]
name = "dtngpslogger"
required-features = ["location", "cli"]

[[bin]]
name = "dtngpsreceiver"
required-features = ["location", "cli"]
[dependencies.anyhow]
version = "1.0.38"
optional = true

[dependencies.attohttpc]
version = "0.16.1"
optional = true
default-features = false

[dependencies.bitflags]
version = "1.2.1"
optional = true

[dependencies.bp7]
version = "0.6.6"

[dependencies.clap]
version = "2.33.3"
optional = true

[dependencies.derive-try-from-primitive]
version = "1.0.0"
optional = true

[dependencies.humantime]
version = "2.1.0"
optional = true

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

[dependencies.serde_bytes]
version = "0.11.5"
optional = true

[dependencies.serde_cbor]
version = "0.11.1"
optional = true

[dependencies.serde_json]
version = "1.0.62"

[dependencies.smaz]
version = "0.1.0"
optional = true

[dependencies.thiserror]
version = "1.0.23"

[dependencies.tungstenite]
version = "0.13.0"
optional = true

[dependencies.url]
version = "2.2.0"
optional = true

[dependencies.ws]
version = "0.9.1"
optional = true

[features]
cli = ["clap", "humantime", "ws", "anyhow", "url"]
client = ["attohttpc", "serde_bytes", "tungstenite"]
default = ["sms", "client", "location", "cli"]
location = ["derive-try-from-primitive", "serde_cbor", "bitflags"]
sms = ["serde_cbor", "smaz", "serde_bytes"]
