-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
65 lines (50 loc) · 1.52 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[package]
name = "edges"
# don't manually edit this version unless you're sure you want to circumvent the process documented in RELEASE.md
version = "0.6.0"
edition = "2021"
authors = ["@shnewto"]
description = "a library for getting the edges of objects in images with transparency"
readme = "README.md"
keywords = ["image", "edge", "transparency", "sprite", "bevy"]
homepage = "https://github.com/shnewto/edges"
repository = "https://github.com/shnewto/edges"
license = "MIT OR Apache-2.0"
exclude = ["assets/*", ".github/*", "examples/*"]
include = ["/LICENSE-APACHE", "/LICENSE-MIT", "/README.md", "/src/"]
[lints.clippy]
cast_precision_loss = { level = "allow", priority = 1 }
pedantic = { level = "warn", priority = 0 }
[features]
default = ["bevy", "parallel"]
glam-latest = ["dep:glam"]
bevy = ["dep:bevy_math", "dep:bevy_image", "binary_image/bevy"]
parallel = ["dep:rayon"]
[dependencies]
binary_image = "0.5"
image = { version = "0.25", default-features = false }
rayon = { version = "1", optional = true }
glam = { version = "0.29", optional = true }
[dependencies.bevy_math]
version = "0.15"
default-features = false
optional = true
[dependencies.bevy_image]
version = "0.15"
default-features = false
optional = true
[dev-dependencies]
raqote = "0.8"
open = "5.1"
[dev-dependencies.bevy_image]
version = "0.15"
default-features = false
features = ["png"]
[dev-dependencies.bevy_render]
version = "0.15"
default-features = false
[[example]]
name = "bevy-image"
required-features = ["bevy"]
[[example]]
name = "dynamic-image"