# 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 = "nsg-cli"
version = "0.1.3"
authors = ["Simon Draeger <sdraeger@salk.edu>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI tool for the Neuroscience Gateway (NSG) BRAIN Initiative API"
homepage = "https://www.nsgportal.org/"
readme = "README.md"
keywords = [
    "neuroscience",
    "nsg",
    "hpc",
    "brain",
    "cli",
]
categories = [
    "command-line-utilities",
    "science",
]
license = "MIT"
repository = "https://github.com/sdraeger/nsg-cli"

[features]
default = ["parallel"]
parallel = []

[lib]
name = "nsg_cli"
path = "src/lib.rs"

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

[[bench]]
name = "job_fetching"
path = "benches/job_fetching.rs"
harness = false

[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "cargo",
]

[dependencies.colored]
version = "3.0"

[dependencies.dirs]
version = "6.0"

[dependencies.indicatif]
version = "0.18.2"

[dependencies.quick-xml]
version = "0.38.3"
features = ["serialize"]

[dependencies.rayon]
version = "1.11.0"

[dependencies.reqwest]
version = "0.12.24"
features = [
    "blocking",
    "multipart",
]

[dependencies.rpassword]
version = "7.3"

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

[dependencies.serde_json]
version = "1.0"

[dev-dependencies.criterion]
version = "0.7.0"
features = ["html_reports"]
