slint/sixtyfps_runtime/rendering_backends/mcu/Cargo.toml
2021-12-07 14:28:31 +01:00

40 lines
1.6 KiB
TOML

[package]
name = "sixtyfps-rendering-backend-mcu"
version = "0.1.6"
authors = ["SixtyFPS <info@sixtyfps.io>"]
edition = "2018"
license = "GPL-3.0-only"
description = "Rendering backend for SixtyFPS for use on Microcontrollers"
repository = "https://github.com/sixtyfpsui/sixtyfps"
homepage = "https://sixtyfps.io"
[lib]
path = "lib.rs"
[features]
simulator = ["winit", "glutin", "femtovg", "embedded-graphics-simulator", "sixtyfps-corelib/std", "imgref", "scoped-tls-hkt"]
default = ["simulator"]
unsafe_single_core = ["sixtyfps-corelib/unsafe_single_core"]
[dependencies]
sixtyfps-corelib = { version = "=0.1.6", path = "../../corelib", default-features = false }
const-field-offset = { version = "0.1", path = "../../../helper_crates/const-field-offset" }
rgb = "0.8.27"
vtable = { version = "0.1", path = "../../../helper_crates/vtable" }
by_address = "1.0.4"
euclid = { version = "0.22.1", default-features = false }
pin-weak = { version = "1", default-features = false }
once_cell = { version = "1.5", default-features = false }
derive_more = "0.99.5"
winit = { version = "0.26.0", default-features = false, optional = true, features = ["x11"] }
glutin = { version = "0.28", default-features = false, optional = true, features = ["x11"] }
femtovg = { version = "0.2.8", optional = true }
scoped-tls-hkt = { version = "0.1", optional = true }
imgref = { version = "1.6.1", optional = true }
embedded-graphics = "0.7.1"
embedded-graphics-simulator = { version = "0.3.0", optional = true, default-features = false }
[target.'cfg(target_os = "macos")'.dependencies]
cocoa = { version = "0.24.0" }