https://github.com/first-rust-competition/ctre-rs
CTRE Phoenix libraries for Rust
https://github.com/first-rust-competition/ctre-rs
ctre frc rust
Last synced: about 2 months ago
JSON representation
CTRE Phoenix libraries for Rust
- Host: GitHub
- URL: https://github.com/first-rust-competition/ctre-rs
- Owner: first-rust-competition
- License: other
- Created: 2018-05-12T14:23:19.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-08-29T08:51:08.000Z (almost 5 years ago)
- Last Synced: 2025-04-12T06:18:32.210Z (about 2 months ago)
- Topics: ctre, frc, rust
- Language: Rust
- Homepage:
- Size: 279 KB
- Stars: 7
- Watchers: 5
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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](https://github.com/virtuald/header2whatever)
to quickly generate the initial modules.## How do I actually use this?
Add [`ctre`](https://crates.io/crates/ctre) as a dependency in your Cargo.toml.## Does this actually work?
It builds and links when linking with the WPILib HAL, so it should work.
¯\\\_(ツ)\_/¯## License
CTRE-derived parts are under the [Phoenix Software License Agreement](LICENSE).
Rust-specific parts are under the [MIT license](LICENSE-MIT).