# 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.83"
name = "tirith"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal security - catches homograph attacks, pipe-to-shell, ANSI injection"
homepage = "https://github.com/sheeki03/tirith"
readme = "README.md"
keywords = [
    "security",
    "url",
    "shell",
    "cli",
]
categories = ["command-line-utilities"]
license = "AGPL-3.0-only"
repository = "https://github.com/sheeki03/tirith"

[package.metadata.deb]
maintainer = "Shivom Sharma <shivomsharma03@gmail.com>"
section = "utils"
depends = "ca-certificates"
assets = [
    [
    "target/release/tirith",
    "usr/bin/",
    "755",
],
    [
    "assets/shell/tirith.sh",
    "usr/share/tirith/shell/",
    "644",
],
    [
    "assets/shell/lib/zsh-hook.zsh",
    "usr/share/tirith/shell/lib/",
    "644",
],
    [
    "assets/shell/lib/bash-hook.bash",
    "usr/share/tirith/shell/lib/",
    "644",
],
    [
    "assets/shell/lib/fish-hook.fish",
    "usr/share/tirith/shell/lib/",
    "644",
],
    [
    "assets/shell/lib/powershell-hook.ps1",
    "usr/share/tirith/shell/lib/",
    "644",
],
    [
    "assets/shell/lib/nushell-hook.nu",
    "usr/share/tirith/shell/lib/",
    "644",
],
    [
    "assets/completions/tirith.bash",
    "usr/share/bash-completion/completions/",
    "644",
],
    [
    "assets/completions/_tirith",
    "usr/share/zsh/site-functions/",
    "644",
],
    [
    "assets/completions/tirith.fish",
    "usr/share/fish/vendor_completions.d/",
    "644",
],
    [
    "assets/man/tirith.1",
    "usr/share/man/man1/",
    "644",
],
]

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

[[bin]]
name = "tirith-threatdb-compile"
path = "src/bin/tirith_threatdb_compile.rs"

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

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

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

[dependencies.clap_complete]
version = "4"

[dependencies.clap_mangen]
version = "0.2"

[dependencies.csv]
version = "1"

[dependencies.ed25519-dalek]
version = "2"
features = [
    "std",
    "rand_core",
]
default-features = false

[dependencies.etcetera]
version = "0.8"

[dependencies.fs2]
version = "0.4"

[dependencies.home]
version = ">=0.5, <0.5.12"

[dependencies.is-terminal]
version = "0.4"

[dependencies.libc]
version = "0.2"

[dependencies.regex]
version = "1"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.tempfile]
version = "3"

[dependencies.tirith-core]
version = "0.3.0"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "net",
    "io-util",
    "signal",
    "macros",
]

[dependencies.url]
version = "2"

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

[dependencies.walkdir]
version = "2"

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