bhcli

A TUI for chatting on LE PHP Chats
git clone https://git.dasho.dev/bhcli.git
Log | Files | Refs | README

Cargo.toml (1888B)


      1 [package]
      2 name = "bhcli"
      3 version = "0.1.0"
      4 edition = "2021"
      5 authors = ["Dasho"]
      6 description = "A sophisticated terminal-based client for le-chat-php chat systems"
      7 repository = "https://github.com/d-a-s-h-o/bhcli"
      8 license = "MIT"
      9 rust-version = "1.70"
     10 
     11 # Optimize for size and performance in release builds
     12 [profile.release]
     13 opt-level = 3           # Maximum optimization
     14 lto = true              # Enable Link Time Optimization
     15 codegen-units = 1       # Better optimization, slower compile
     16 strip = true            # Strip symbols from binary
     17 panic = "abort"         # Smaller binary size
     18 
     19 [profile.dev]
     20 debug = true
     21 opt-level = 0
     22 
     23 # Define feature flags
     24 [features]
     25 default = ["audio"]
     26 audio = ["dep:rodio"]
     27 
     28 [dependencies]
     29 # Core dependencies
     30 anyhow = "1.0"
     31 clap = { version = "4.1", features = ["derive", "env"] }
     32 log = "0.4"
     33 log4rs = "1.2"
     34 
     35 # Terminal UI
     36 crossterm = "0.26"
     37 tui = { version = "0.19", features = ["crossterm"], default-features = false }
     38 termage = "1.1"
     39 
     40 # Async runtime
     41 tokio = { version = "1.0", features = ["full"] }
     42 
     43 # HTTP client
     44 reqwest = { version = "0.11", features = ["blocking", "cookies", "socks", "multipart", "native-tls-vendored"] }
     45 http = "0.2"
     46 
     47 # AI integration
     48 async-openai = "0.29"
     49 
     50 # Serialization
     51 serde = "1.0"
     52 serde_derive = "1.0"
     53 serde_json = "1.0"
     54 toml = "0.7"
     55 confy = "0.5"
     56 
     57 # Text processing
     58 regex = "1.5"
     59 linkify = "0.9"
     60 textwrap = "0.16"
     61 unicode-width = "0.1"
     62 select = "0.6"
     63 
     64 # Utilities
     65 chrono = "0.4"
     66 uuid = { version = "1.0", features = ["v4"] }
     67 lazy_static = "1.4"
     68 rand = "0.8"
     69 base64 = "0.21"
     70 tempfile = "3.10"
     71 
     72 # Cryptography
     73 md5 = "0.7"
     74 sha1 = "0.10"
     75 sha2 = "0.10"
     76 
     77 # System integration
     78 clipboard = "0.5"
     79 rpassword = "7.2"
     80 colors-transform = "0.2"
     81 image = "0.24"
     82 
     83 # Optional audio support
     84 rodio = { version = "0.17", optional = true }
     85 
     86 # Threading
     87 crossbeam = "0.8"
     88 crossbeam-channel = "0.5"
     89 
     90 # Graphics/Captcha support
     91 bresenham = "0.1"