-
Notifications
You must be signed in to change notification settings - Fork 24
/
Cargo.toml
67 lines (55 loc) · 1.59 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
66
[package]
name = "crankstart"
version = "0.1.2"
authors = ["Rob Tsuk <[email protected]>"]
edition = "2018"
description = "A barely functional, wildly incomplete and basically undocumented Rust crate whose aim is to let you write games for the [Playdate handheld gaming system](https://play.date) in [Rust](https://www.rust-lang.org)."
license = "MIT"
repository = "https://github.com/pd-rs/crankstart"
[package.metadata.cargo-xbuild]
memcpy = false
sysroot_path = "target/sysroot"
panic_immediate_abort = false
[profile.dev]
panic = "abort"
opt-level = 2
lto = true
[profile.release]
panic = "abort"
opt-level = 'z'
lto = true
[workspace]
members = [
"crankstart-sys",
]
[[example]]
name = "hello_world"
path = "examples/hello_world.rs"
crate-type = ["staticlib", "cdylib"]
[[example]]
name = "menu_items"
path = "examples/menu_items.rs"
crate-type = ["staticlib", "cdylib"]
[[example]]
name = "life"
path = "examples/life.rs"
crate-type = ["staticlib", "cdylib"]
[[example]]
name = "sprite_game"
path = "examples/sprite_game.rs"
crate-type = ["staticlib", "cdylib"]
[dependencies]
anyhow = { version = "1.0.31", default-features = false }
arrayvec = { version = "0.7.4", default-features = false }
crankstart-sys = { version = "0.1.2", path = "crankstart-sys" }
euclid = { version = "0.22.9", default-features = false, features = [ "libm" ] }
hashbrown = "0.14.0"
[dev-dependencies]
randomize = "3.0.1"
enum-iterator = "0.6.0"
rand = { version = "0.8.4", default-features = false, features = [ "alloc" ] }
rand_pcg = "0.3.1"
[dependencies.cstr_core]
version = "=0.1.2"
default-features = false
features = [ "alloc" ]