From f2c9f00bda1e69306bb2b73843ed7a95cd703bb5 Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 30 Oct 2023 11:45:07 +0800 Subject: fix: detect light theme only by env var (#177) --- Cargo.lock | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index fefa9a8..e4bddc8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -30,6 +30,7 @@ dependencies = [ name = "aichat" version = "0.9.0-rc2" dependencies = [ + "ansi_colours", "anyhow", "arboard", "async-trait", @@ -77,6 +78,15 @@ dependencies = [ "libc", ] +[[package]] +name = "ansi_colours" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a1558bd2075d341b9ca698ec8eb6fcc55a746b1fc4255585aad5b141d918a80" +dependencies = [ + "rgb", +] + [[package]] name = "anstream" version = "0.6.4" @@ -251,6 +261,12 @@ version = "3.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +[[package]] +name = "bytemuck" +version = "1.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6" + [[package]] name = "bytes" version = "1.5.0" @@ -1356,6 +1372,15 @@ dependencies = [ "winreg", ] +[[package]] +name = "rgb" +version = "0.8.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05aaa8004b64fd573fc9d002f4e632d51ad4f026c2b5ba95fcb6c2f32c2c47d8" +dependencies = [ + "bytemuck", +] + [[package]] name = "ring" version = "0.17.5" -- cgit v1.2.3