Skip to content

Parse chronorace results to csv usable by stratenlopen.be

Notifications You must be signed in to change notification settings

ward/rust-chronorace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parsing of chronorace.be results into a CSV file. Format of the file is the format expected by stratenlopen.be.

Prereqs

You will need Rust to compile this. First install rustup, which helps you manage Rust installations. I do not recall if that also already install a rust version. If not, rustup install stable probably works. If it does not, follow rustup's instructions.

Keep Things In Order

First, add some extra tools to cargo:

  • rustfmt: rustup component add rustfmt-preview
  • clippy: rustup component add clippy-preview

Next, try to ensure all these work before pushing code.

  • Run the tests with cargo test.
  • Run cargo fmt to adhere to Rust's "proper" styles.
  • Run cargo clippy for some linting.

Use

Compile for release with cargo build --release. You will find the binary in the target/ folder. Run it with ./rust-chronorace RESULTSURL.

About

Parse chronorace results to csv usable by stratenlopen.be

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published