# 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 = "2024"
name = "roas-cli"
version = "0.2.1"
authors = ["Sergey Vilgelm <sergey@vilgelm.com>"]
build = false
include = [
    "src",
    "Cargo.toml",
    "README.md",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line front-end for the roas OpenAPI library: validate, convert, and preview OpenAPI 2.0 / 3.0 / 3.1 / 3.2 specs (JSON or YAML)"
homepage = "https://github.com/sv-tools/roas"
readme = "README.md"
keywords = [
    "openapi",
    "swagger",
]
categories = [
    "command-line-utilities",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sv-tools/roas"

[[bin]]
name = "roas"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.99"

[dependencies.axum]
version = "0.8"

[dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dependencies.enumset]
version = "1.1.10"

[dependencies.notify]
version = "8.2"

[dependencies.notify-debouncer-mini]
version = "0.7"

[dependencies.roas]
version = ">=0.13.2"
features = [
    "clap",
    "v2",
    "v3_0",
    "v3_1",
    "v3_2",
]

[dependencies.roas-file-fetcher]
version = ">=0.1"
features = ["yaml"]

[dependencies.roas-http-fetcher]
version = ">=0.1"
features = ["yaml"]

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

[dependencies.serde_json]
version = "1.0.143"

[dependencies.serde_yaml_ng]
version = "0.10.0"

[dependencies.tokio]
version = "1.52"
features = [
    "fs",
    "macros",
    "rt-multi-thread",
    "sync",
]
default-features = false

[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]
default-features = false

[dependencies.webbrowser]
version = "1"
