ctre

Crates.ioctre
lib.rsctre
version0.6.1
sourcesrc
created_at2018-10-19 23:30:11.227279
updated_at2018-10-19 23:30:11.227279
descriptionBindings for CTR Electronics' Phoenix for FRC libraries
homepage
repositoryhttps://github.com/auscompgeek/ctre-rs
max_upload_size
id91591
size96,172
Core (github:first-rust-competition:core)

documentation

README

CTRE Phoenix library for Rust

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.

What is this 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.

How do I actually use this?

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.)

Does this actually work?

It builds and links when linking with the WPILib HAL, so it should work. ¯\_(ツ)_/¯

License

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):

Commit count: 178

cargo fmt