-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
47 lines (36 loc) · 1.2 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[package]
name = "embedded-canvas"
version = "0.3.1"
authors = ["Lechev.space <[email protected]>", "Lachezar Lechev"]
description = "Draw anything with ease on the Canvas before drawing it to your small hardware display"
categories = ["embedded", "no-std"]
keywords = ["embedded-graphics", "graphics", "embedded"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/LechevSpace/embedded-canvas"
documentation = "https://docs.rs/embedded-canvas"
homepage = "https://github.com/LechevSpace/embedded-canvas"
edition = "2021"
# An embedded-graphics dependency requires 1.71
rust-version = "1.71"
[[example]]
name = "canvas"
required-features = ["embedded-graphics"]
[[example]]
name = "transparency"
required-features = ["embedded-graphics"]
[[example]]
name = "cropped_text"
required-features = ["embedded-graphics"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["transform", "alloc"]
# Enables `impl embedded_graphics::transform::Transform for CanvasAt`
transform = ["embedded-graphics"]
alloc = []
[dependencies]
embedded-graphics-core = "0.4"
embedded-graphics = {version = "0.8", optional = true}
[dev-dependencies]
embedded-graphics-simulator = "0.6"