generated from tversteeg/library-github-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
47 lines (38 loc) · 1.01 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 = "rotsprite"
version = "0.1.4"
authors = ["Thomas Versteeg <thomasversteeg@gmx.com>"]
license = "AGPL-3.0-or-later"
edition = "2021"
readme = "README.md"
repository = "https://github.com/tversteeg/rotsprite"
documentation = "https://docs.rs/rotsprite"
description = "Rotate sprites using the rotsprite algorithm"
keywords = ["game", "sprite", "blit", "rotation"]
categories = ["rendering", "game-engines"]
[features]
default = ["blit"]
blit = ["dep:blit"]
[dependencies]
multiversion = "0.8.0"
thiserror = "2.0.0"
# `blit` feature
blit = { version = "0.8.5", optional = true, default-features = false }
pixel-game-lib = { version = "0.8.1", default-features = false }
[dev-dependencies]
image = { version = "0.24.9", default-features = false, features = ["png"] }
pixel-game-lib = "0.8.1"
[[example]]
name = "window"
required-features = ["blit"]
[[bench]]
name = "rotsprite"
harness = false
[[bench]]
name = "scale2x"
harness = false
[[bench]]
name = "rotate"
harness = false
[workspace]
members = ["run-wasm"]