forked from nannou-org/nannou
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
31 lines (28 loc) · 1.18 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
[package]
name = "nannou_core"
version ="0.18.0"
authors = ["mitchmindtree <[email protected]>"]
description = "The core components of nannou - a creative coding framework for Rust. Ideal for libraries and headless/embedded applications that use nannou."
readme = "README.md"
license = "MIT"
repository = "https://github.com/nannou-org/nannou.git"
homepage = "https://nannou.cc"
edition = "2018"
[dependencies]
glam = { version = "0.17", default-features = false, features = ["num-traits", "rand"] }
# TODO: Awaiting `no-std` to be published.
# noise = 0.6
num-traits = { version = "0.2.14", default-features = false }
palette = { version = "0.5", default-features = false, features = ["named"] }
# TODO: Need to check support for no-std.
# pennereq = "0.3"
rand = { version = "0.8", default-features = false, features = ["small_rng"] }
# TODO: Needs no-std support before we can add text logic to this core.
# rusttype = "0.8"
[features]
default = ["std"]
libm = ["glam/libm", "num-traits/libm", "palette/libm" ]
serde = ["glam/serde", "palette/serializing"]
std = ["glam/std", "num-traits/std", "palette/std", "rand/std", "rand/std_rng"]
[package.metadata.docs.rs]
features = ["serde", "std"]