libp2p / punchr

🥊 Components to measure Direct Connection Upgrade through Relay (DCUtR) performance.
Apache License 2.0
49 stars 11 forks source link

Add rust-client to Nix flake and NixOS module #38

Closed MarcoPolo closed 1 year ago

MarcoPolo commented 2 years ago

A continuation of https://github.com/dennis-tra/punchr/pull/26 to add the rust-client to the NixOS module. Also lets Nix users run the rust client with the one-liner:

API_KEY="..." nix run github:marcopolo/punchr/marco/add-rust-client-to-nix#rust-client
# Or when this is merged: 
# API_KEY="..." nix run github:dennis-tra/punchr#rust-client

Adds a CI job to make sure the code builds.

MarcoPolo commented 2 years ago

Rust builds are currently broken though, so not much use right now :/

dennis-tra commented 1 year ago

Thanks @MarcoPolo! This will probably work as soon as @elenaf9 has looked into #37 :)

MarcoPolo commented 1 year ago

Got the rust-client building thanks to a quick pairing session with @mxinden, I just had to update the rustc version I was using :)