# 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 = "slate-cli"
version = "0.4.0"
build = "build.rs"
include = [
    "/src/**",
    "/tests/**",
    "/benches/**",
    "/themes/**",
    "/resources/**",
    "/scripts/render-theme-gallery.sh",
    "/build.rs",
    "/Cargo.toml",
    "/README.md",
    "/README.zh-CN.md",
    "/install.sh",
    "/LICENSE",
    "/CHANGELOG.md",
    "/CONTRIBUTING.md",
    "/dist-workspace.toml",
    "!**/.DS_Store",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform terminal beautification kit for macOS and Linux"
homepage = "https://github.com/MoonMao42/slate"
documentation = "https://github.com/MoonMao42/slate#readme"
readme = "README.md"
keywords = [
    "terminal",
    "theme",
    "macos",
    "linux",
    "cli",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/MoonMao42/slate"

[package.metadata.dist]
dist = true

[features]
default = []
has-nvim = []

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

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

[[test]]
name = "aggregate_dispatch_invariant"
path = "tests/aggregate_dispatch_invariant.rs"

[[test]]
name = "baseline_backup"
path = "tests/baseline_backup.rs"

[[test]]
name = "bat_tmtheme_snapshots"
path = "tests/bat_tmtheme_snapshots.rs"

[[test]]
name = "cli_global_flags"
path = "tests/cli_global_flags.rs"

[[test]]
name = "docs_invariants"
path = "tests/docs_invariants.rs"

[[test]]
name = "eza_truecolor_smoke"
path = "tests/eza_truecolor_smoke.rs"

[[test]]
name = "fastfetch_jsonc_generation"
path = "tests/fastfetch_jsonc_generation.rs"

[[test]]
name = "font_integration"
path = "tests/font_integration.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "ls_colors_integration"
path = "tests/ls_colors_integration.rs"

[[test]]
name = "nvim_integration"
path = "tests/nvim_integration.rs"

[[test]]
name = "picker_full_preview_integration"
path = "tests/picker_full_preview_integration.rs"

[[test]]
name = "picker_preview_fixture"
path = "tests/picker_preview_fixture.rs"

[[test]]
name = "picker_starship_fork_fixture"
path = "tests/picker_starship_fork_fixture.rs"

[[test]]
name = "restore_integration"
path = "tests/restore_integration.rs"

[[test]]
name = "theme_contrast_audit"
path = "tests/theme_contrast_audit.rs"

[[test]]
name = "theme_tests"
path = "tests/theme_tests.rs"

[[test]]
name = "tmux_seven_elements"
path = "tests/tmux_seven_elements.rs"

[[test]]
name = "wave1_events"
path = "tests/wave1_events.rs"

[[test]]
name = "wave4_events"
path = "tests/wave4_events.rs"

[[test]]
name = "wave5_picker_events"
path = "tests/wave5_picker_events.rs"

[[test]]
name = "wave6_events"
path = "tests/wave6_events.rs"

[[test]]
name = "wcag_audit_report_generator"
path = "tests/wcag_audit_report_generator.rs"

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

[dependencies.anyhow]
version = "1"

[dependencies.atomic-write-file]
version = "0.1"

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

[dependencies.cliclack]
version = "0.5.4"

[dependencies.color-eyre]
version = "0.6"

[dependencies.console]
version = "0.16"

[dependencies.crossterm]
version = "0.27"

[dependencies.libc]
version = "0.2"

[dependencies.rayon]
version = "1"

[dependencies.semver]
version = "1"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "1"

[dependencies.toml]
version = "0.8"

[dependencies.toml_edit]
version = "0.22"

[dependencies.url]
version = "2"

[dependencies.uuid]
version = "1"
features = ["v5"]

[dependencies.which]
version = "5"

[dependencies.zbus]
version = "4"

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

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

[dev-dependencies.insta]
version = "1"

[dev-dependencies.notify]
version = "6"

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

[dev-dependencies.regex]
version = "1"

[dev-dependencies.rstest]
version = "0.18"

[lints.clippy]
doc_lazy_continuation = "allow"

[profile.dist]
inherits = "release"

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
