Closed flaribbit closed 1 year ago
Thanks for making me aware!
trash
also happens to be maintained by me, and I definitely appreciate contributions adding Android support.
In the meantime, can you try to compile like this as a workaround?
cargo build --release --no-default-features --features tui-crossplatform
Sure. And it works.
~/dua-cli $ cargo build --release --no-default-features --features tui-crossplatform
Compiling scopeguard v1.1.0
Compiling clap v4.1.4
Compiling byte-unit v4.0.18
Compiling owo-colors v3.5.0
Compiling crossbeam-epoch v0.9.13
Compiling lock_api v0.4.9
Compiling parking_lot v0.12.1
Compiling crossbeam-deque v0.8.2
Compiling crossterm v0.25.0
Compiling rayon-core v1.10.2
Compiling crossbeam v0.8.2
Compiling tui v0.19.0
Compiling rayon v1.6.1
Compiling tui-react v0.19.0
Compiling crosstermion v0.10.1
Compiling jwalk v0.8.1
Compiling dua-cli v2.19.2 (/data/data/com.termux/files/home/dua-cli)
Finished release [optimized] target(s) in 1m 27s
~/dua-cli $ cargo r --release --no-default-features --features tui-crossplatform
Finished release [optimized] target(s) in 0.10s
Running `target/release/dua`
4.00 KiB .editorconfig
4.00 KiB .gitignore
4.00 KiB Cargo.toml
4.00 KiB LICENSE
4.00 KiB Makefile
4.00 KiB etc
8.00 KiB README.md
12.00 KiB ci
16.00 KiB .github
28.00 KiB Cargo.lock
168.00 KiB CHANGELOG.md
188.00 KiB src
1.32 MiB tests
1.42 MiB .git
174.30 MiB target
177.46 MiB total
~/dua-cli $
When I add -- i
, interactive terminal ui also works! Thanks
This tool is so cool. I want to use it on android to find out what occupies my storage. But it seems that some dependencies dont support android.