-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
46 lines (38 loc) · 965 Bytes
/
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
[package]
name = "farba"
version = "0.1.1"
edition = "2021"
authors = ["Wowkster"]
description = "A CPU graphics library written in pure Rust"
license = "MIT"
repository = "https://github.com/wowkster/farba"
categories = ["graphics"]
keywords = ["farba", "graphics"]
readme = "README.md"
include = ["assets/", "examples/*.rs", "src/"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "farba"
crate-type = ["lib"]
[features]
default = []
image = ["dep:image"]
window = ["dep:minifb"]
[dependencies]
image = { version = "0.24.6", optional = true }
minifb = { version = "0.24.0", optional = true }
[[example]]
name = "fill_screen"
required-features = ["image"]
[[example]]
name = "flag_of_japan"
required-features = ["image"]
[[example]]
name = "rectangle"
required-features = ["image"]
[[example]]
name = "triangle"
required-features = ["image"]
[[example]]
name = "3d_cube"
required-features = []