# 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 = "menser"
version = "0.1.9"
authors = ["FlareFlo"]
description = "Fetches and displays meals from the stw-on API"
documentation = "https://docs.rs/menser"
license = "MIT"
repository = "https://github.com/FlareFlo/menser"

[profile.release]
opt-level = 0
codegen-units = 32
debug = true
overflow-checks = true

[dependencies.cli-table]
version = "0.4.7"

[dependencies.futures]
version = "0.3.28"
features = ["executor"]
optional = true
default-features = false

[dependencies.pad]
version = "0.1.6"

[dependencies.reqwest]
version = "0.11.18"
features = [
    "json",
    "rustls-tls",
]
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]
default-features = false

[dependencies.serde_json]
version = "1.0"
features = ["std"]
default-features = false

[dependencies.serde_with]
version = "3.0.0"
features = ["macros"]
default-features = false

[dependencies.tokio]
version = "1.29.1"
features = [
    "macros",
    "rt-multi-thread",
]
optional = true
default-features = false

[dependencies.ureq]
version = "2.6.2"
features = [
    "tls",
    "json",
]
optional = true
default-features = false

[features]
async-reqwest = [
    "dep:reqwest",
    "dep:tokio",
    "dep:futures",
]
default = ["sync-ureq"]
sync-ureq = ["dep:ureq"]
