-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
34 lines (32 loc) · 1.12 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
[package]
name = "firefly-rust"
version = "0.8.0"
edition = "2021"
rust-version = "1.81.0"
authors = ["Firefly Zero team"]
description = "Rust SDK for making Firefly Zero games"
repository = "https://github.com/firefly-zero/firefly-rust"
license = "MIT"
keywords = ["gamedev", "firefly-zero"]
categories = ["game-development", "no-std", "rendering", "api-bindings", "wasm"]
[features]
default = []
# If disabled, the crate uses no_std.
std = ["alloc"]
# Enable support for allocating functions, like load_file_buf.
# Requires a global allocator to be configured.
alloc = []
# If enabled, add talc-powered global allocator.
talc = ["dep:talc", "alloc"]
# If app panics, show panic info (message, file name, line number).
# Increases the binary size.
panic_info = ["alloc"]
# Enable support for functions requiring sudo.
sudo = []
# Enable support for casting graphic primitives to and from nalgebra crate primitives.
nalgebra = ["dep:nalgebra"]
[dependencies]
nalgebra = { version = "0.33.2", optional = true, default-features = false }
talc = { version = "4.4.2", optional = true, default-features = false, features = [
"lock_api",
] }