https://github.com/LibNyanpasu/clash-nyanpasu
Can be found at https://github.com/Watfaq/clash-rs/releases
https://github.com/Watfaq/clash-rs/pkgs/container/clash-rs
Dependencies
$ cargo build
sample.yaml:
port: 7890
-> % ./target/debug/clash -c sample.yaml
-> % ./target/debug/clash-rs -h
Usage: clash-rs [OPTIONS]
Options:
-d, --directory <DIRECTORY>
-c, --config <FILE> Specify configuration file [default: config.yaml] [short aliases: f]
-t, --test-config Test configuration and exit
-v, --version Print clash-rs version and exit [short aliases: V]
-l, --log-file <LOG_FILE> Additinally log to file
--help-improve Enable crash report to help improve clash
-h, --help Print help
To create a framework for iOS and macOS platforms
git clone https://github.com/Watfaq/clash-rs.git
cd clash-rs
chmod +x scripts/build_apple.sh
./scripts/build_apple.sh
This command will generate a clashrs.xcframework
file in the build
directory.