summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-11-07 16:36:40 +0800
committerGitHub <noreply@github.com>2023-11-07 16:36:40 +0800
commit534733b77cb1baef1459faa16a45d75c5f6275e3 (patch)
tree4a8d47962d97a8332f32d6ad1e07eb0b4d49b990 /Cargo.toml
parentd40f104f667073f320a01d9c1a91aa88225ccaeb (diff)
downloadaichat-534733b77cb1baef1459faa16a45d75c5f6275e3.tar.gz
fix: unable to build on android using termux (#222)
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml4
1 files changed, 3 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 80ac6e1..b5f799b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -35,7 +35,6 @@ base64 = "0.21.0"
rustc-hash = "1.1.0"
bstr = "1.3.0"
nu-ansi-term = "0.47.0"
-arboard = { version = "3.2.0", default-features = false }
async-trait = "0.1.74"
textwrap = "0.16.0"
ansi_colours = "1.2.2"
@@ -53,6 +52,9 @@ version = "5.0.0"
default-features = false
features = ["parsing", "regex-onig", "plist-load"]
+[target.'cfg(not(any(target_os = "android", target_os = "emscripten")))'.dependencies]
+arboard = { version = "3.2.0", default-features = false }
+
[profile.release]
lto = true
strip = true