Skip to content

Commit

Permalink
feat: implement wrapper for ViewPort API
Browse files Browse the repository at this point in the history
  • Loading branch information
JarvisCraft committed Dec 31, 2022
1 parent 60cf3ee commit c4f990b
Show file tree
Hide file tree
Showing 8 changed files with 443 additions and 8 deletions.
2 changes: 1 addition & 1 deletion crates/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ rustflags = [
]

[build]
target = ["thumbv7em-none-eabihf"]
target = "thumbv7em-none-eabihf"
1 change: 1 addition & 0 deletions crates/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ members = [
"flipperzero",
"sys",
"rt",
"gui",
]
resolver = "2"

Expand Down
25 changes: 25 additions & 0 deletions crates/gui/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[package]
name = "flipperzero-gui"
version = "0.6.0-alpha"
description = "Rust GUI bindings for Flipper Zero"
repository = "https://github.com/dcoles/flipperzero-rs"
readme = "../../README.md"
license = "MIT"
edition = "2021"
rust-version = "1.64.0"
autobins = false
autoexamples = false
autotests = false
autobenches = false

[package.metadata.docs.rs]
default-target = "thumbv7em-none-eabihf"
targets = []
all-features = true

[lib]
bench = false
test = false

[dependencies]
flipperzero-sys = { path = "../sys", version = "0.6.0-alpha" }
5 changes: 5 additions & 0 deletions crates/gui/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
//! Safe wrappers for Flipper GUI APIs.
#![no_std]

pub mod view_port;
Loading

0 comments on commit c4f990b

Please sign in to comment.