# 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"
rust-version = "1.70"
name = "an-installer"
version = "0.1.1"
authors = ["clearclown"]
build = false
exclude = [
    ".github/",
    "docs/",
    "tests/",
    "_legacy/",
    "*.md",
    "!README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AN (安装) - Unified Package Manager for Linux"
homepage = "https://github.com/clearclown/AN"
documentation = "https://github.com/clearclown/AN#readme"
readme = "README.md"
keywords = [
    "package-manager",
    "linux",
    "appimage",
    "deb",
    "flatpak",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/clearclown/AN"

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.colored]
version = "2"

[dependencies.dirs]
version = "5"

[dependencies.reqwest]
version = "0.12"
features = [
    "blocking",
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.semver]
version = "1"

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

[dependencies.thiserror]
version = "1"

[dependencies.toml]
version = "0.8"

[dependencies.which]
version = "6"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.tempfile]
version = "3"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
