For now, just interface settings for the stage control:
```
target/release/hostcontrol --help
Usage: hostcontrol [OPTIONS]
Options:
--stage-device <STAGE_DEVICE> Interface to talk to movement stage [default: /dev/ttyACM0]
--tty-speed <TTY_SPEED> Speed of the stage device (bps) [default: 115200]
-h, --help Print help
-V, --version Print version
```
Signed-off-by: Henner Zeller <h.zeller@acm.org>
This shows the chatter on the serial interface if debug
logging is enabled.
```
RUST_LOG=debug target/debug/hostcontrol
```
Signed-off-by: Henner Zeller <h.zeller@acm.org>
Add all the relevant tools to compile (only `cargo` needed, `rustc`
is bundled with it in the right version) and develop (`clippy` and
`rustfmt` can then directly be called from cargo; `rust-analyzer`
provides a useful language server for editor).
Made it possible to override nixpkgs by providing an overridable
`pkgs`.
Not sure if the `LD_LIBRARY_PATH` is needed; left it like this for
now.
Signed-off-by: Henner Zeller <h.zeller@acm.org>