# 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 = "railguard"
version = "0.4.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Secure runtime for Claude Code. The safer alternative to --dangerously-skip-permissions."
readme = "README.md"
keywords = [
    "ai",
    "agents",
    "safety",
    "runtime",
    "claude",
]
license = "MIT"
repository = "https://github.com/railguard-dev/railguard"

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

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

[[bin]]
name = "railguard-shell"
path = "src/shell.rs"

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

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

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

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

[dependencies.base64]
version = "0.22"

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

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

[dependencies.colored]
version = "3"

[dependencies.console]
version = "0.15"

[dependencies.crossterm]
version = "0.28"

[dependencies.dialoguer]
version = "0.11"

[dependencies.dirs]
version = "6"

[dependencies.glob]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.libc]
version = "0.2"

[dependencies.ratatui]
version = "0.29"

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

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

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

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

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

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

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