If you want to learn the rust programming language, and you are interested in the project, then you can join.
already installed cargo
via rustup
git clone https://github.com/Apkawa/rust-any2feed.git
cd rust-any2feed
cargo run --release --bin any2feed -- ./any2feed_config.toml
- Install mingw
sudo apt install mingw-w64
- add target
rustup target add x86_64-pc-windows-gnu
- Build
cargo build --release --target x86_64-pc-windows-gnu --bin any2feed
- Locate file in
./target/x86_64-pc-windows-gnu/release/any2feed.exe
- Install pre-commit via package manager or
pip
- Install hooks
pre-commit install
install clippy:
rustup component add clippy
cargo fmt --fix
- fix formattingcargo check
cargo clippy --fix
- lint and fix lint issuescargo test --all
- run all tests
Also, this checks run in git hoots
Currently, use commitizen
Install tool:
sudo pip install -U git+https://github.com/Apkawa/commitizen@dev#egg=commitizen
We are using a fork because the original is not compatible with semver.
After my patch is accepted, it will be possible to use =)
cz bump --check-consistency --no-verify
cz bump --check-consistency --no-verify --prerelease alpha
cz changelog