Files
rustGPT/Cargo.toml
leach fc99a7843d Fix system sleep prevention and add comprehensive test suite
- Fixed terminal control preventing system sleep by improving rustyline configuration and adding proper cleanup
- Added signal handling for graceful termination and terminal state reset
- Implemented comprehensive test suite with 58 unit and integration tests
- Added testing dependencies: tempfile, mockall, tokio-test, serial_test
- Created proper Drop implementation for InputHandler to ensure terminal cleanup
- Enhanced exit handling in both normal exit and /exit command

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-25 00:04:31 -04:00

33 lines
853 B
TOML

[package]
name = "gpt-cli-rust"
version = "0.1.0"
edition = "2021"
description = "A lightweight command-line interface for chatting with AI models (OpenAI and Anthropic)"
authors = ["Your Name <your.email@example.com>"]
[dependencies]
clap = { version = "4.0", features = ["derive"] }
tokio = { version = "1.0", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
reqwest = { version = "0.11", features = ["json", "rustls-tls", "stream"], default-features = false }
anyhow = "1.0"
chrono = { version = "0.4", features = ["serde"] }
dialoguer = "0.11"
console = "0.15"
indicatif = "0.17"
dirs = "5.0"
rustyline = "13.0"
toml = "0.8"
syntect = "5.1"
regex = "1.0"
futures = "0.3"
tokio-stream = "0.1"
signal-hook = "0.3"
[dev-dependencies]
tempfile = "3.0"
mockall = "0.12"
tokio-test = "0.4"
serial_test = "3.0"