diff options
| author | sigoden <sigoden@gmail.com> | 2023-11-07 16:36:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-07 16:36:40 +0800 |
| commit | 534733b77cb1baef1459faa16a45d75c5f6275e3 (patch) | |
| tree | 4a8d47962d97a8332f32d6ad1e07eb0b4d49b990 /Cargo.toml | |
| parent | d40f104f667073f320a01d9c1a91aa88225ccaeb (diff) | |
| download | aichat-534733b77cb1baef1459faa16a45d75c5f6275e3.tar.gz | |
fix: unable to build on android using termux (#222)
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
