diff options
| author | sigoden <sigoden@gmail.com> | 2025-06-28 20:17:53 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-28 20:17:53 +0800 |
| commit | 84dfbba4f0f3465eea58e97156f67732b0f70966 (patch) | |
| tree | 5ab7f8017583c46a780ccb8d56ffa9246f9c32bf /Cargo.lock | |
| parent | b8fd84ae5a094737cdc3276bea1cc0c83dbecd81 (diff) | |
| download | aichat-84dfbba4f0f3465eea58e97156f67732b0f70966.tar.gz | |
feat: support autodetecting dark/light theme (#1335)
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 33 |
1 files changed, 33 insertions, 0 deletions
@@ -92,6 +92,7 @@ dependencies = [ "simplelog", "syntect", "sys-locale", + "terminal-colorsaurus", "textwrap", "time", "tokio", @@ -3314,6 +3315,32 @@ dependencies = [ ] [[package]] +name = "terminal-colorsaurus" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7afe4c174a3cbfb52ebcb11b28965daf74fe9111d4e07e40689d05af06e26e8" +dependencies = [ + "cfg-if", + "libc", + "memchr", + "mio 1.0.3", + "terminal-trx", + "windows-sys 0.59.0", + "xterm-color", +] + +[[package]] +name = "terminal-trx" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "975b4233aefa1b02456d5e53b22c61653c743e308c51cf4181191d8ce41753ab" +dependencies = [ + "cfg-if", + "libc", + "windows-sys 0.59.0", +] + +[[package]] name = "textwrap" version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -4429,6 +4456,12 @@ dependencies = [ ] [[package]] +name = "xterm-color" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4de5f056fb9dc8b7908754867544e26145767187aaac5a98495e88ad7cb8a80f" + +[[package]] name = "yansi" version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" |
