Crates.io | ctre |
lib.rs | ctre |
version | 0.6.1 |
source | src |
created_at | 2018-10-19 23:30:11.227279 |
updated_at | 2018-10-19 23:30:11.227279 |
description | Bindings for CTR Electronics' Phoenix for FRC libraries |
homepage | |
repository | https://github.com/auscompgeek/ctre-rs |
max_upload_size | |
id | 91591 |
size | 96,172 |
This crate contains a port of the high-level CTRE Phoenix library.
This project is not affiliated with nor endorsed by Cross the Road Electronics.
gen
directory?The gen
directory holds a couple of files that helped generate a starting point for everything.
The gen_rust.j2
and hooks.py
were used with header2whatever
to quickly generate the initial modules.
I haven't published this to crates.io yet, but in the meantime you should be able to add a git dependency in your Cargo.toml. (Currently waiting for a usable wpilib crate to be published on crates.io.)
It builds and links when linking with the WPILib HAL, so it should work. ¯\_(ツ)_/¯
Due to licensing restrictions, with the default features enabled, the ctre
crate falls under a crayon license: all restrictions of the
Phoenix Software License Agreement and GPLv3.
Otherwise (without the default features enabled):