tirith 0.4.0

Terminal security - catches homograph attacks, pipe-to-shell, ANSI injection
# 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.4.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, sudo"
assets = [
    [
    "target/release/tirith",
    "usr/bin/",
    "755",
],
    [
    "target/release/tirith-package-approval-authority",
    "usr/libexec/",
    "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",
],
]

[features]
artifact-hash-lookup = ["tirith-core/artifact-hash-lookup"]
default = []
sigstore-attestations = []

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

[[bin]]
name = "tirith-package-approval-authority"
path = "src/bin/tirith_package_approval_authority.rs"

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

[[test]]
name = "attest_cli"
path = "tests/attest_cli.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 = "browser_audit_cli"
path = "tests/browser_audit_cli.rs"

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

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "task_cli"
path = "tests/task_cli.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.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1"
features = [
    "server",
    "http1",
]

[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]

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

[dependencies.libc]
version = "0.2"

[dependencies.portable-pty]
version = "0.9"

[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.tiny_http]
version = "0.12"

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

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

[dependencies.toml]
version = "0.8"

[dependencies.toml_edit]
version = "=0.22.27"

[dependencies.tower-lsp]
version = "0.20"

[dependencies.unicode-width]
version = "0.2"

[dependencies.url]
version = "2"

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

[dependencies.walkdir]
version = "2"

[dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false

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

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

[dev-dependencies.tirith-core]
version = "0.4.0"
features = ["test-network-seams"]

[dev-dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false

[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
    "Wdk_Storage_FileSystem",
    "Win32_Foundation",
    "Win32_Security",
    "Win32_Security_Authorization",
    "Win32_Security_Isolation",
    "Win32_Storage_FileSystem",
    "Win32_System_Com",
    "Win32_System_IO",
    "Win32_System_Ioctl",
    "Win32_System_JobObjects",
    "Win32_System_Memory",
    "Win32_System_SystemInformation",
    "Win32_System_SystemServices",
    "Win32_System_Threading",
    "Win32_UI_Shell",
]
default-features = false