Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/target/
target/
/.task/
150 changes: 150 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ keywords = ["gamedev", "firefly-zero"]
categories = ["game-development", "no-std", "rendering", "api-bindings", "wasm"]

[features]
default = []
default = ["macros"]
# If disabled, the crate uses no_std.
std = ["alloc"]
# Enable support for allocating functions, like load_file_buf.
Expand All @@ -26,12 +26,15 @@ panic_info = ["alloc"]
sudo = []
# Enable support for casting graphic primitives to and from nalgebra crate primitives.
nalgebra = ["dep:nalgebra"]
# Enable support for convenience macros
macros = ["dep:firefly_toml"]

[dependencies]
nalgebra = { version = "0.34.1", optional = true, default-features = false }
talc = { version = "4.4.3", optional = true, default-features = false, features = [
"lock_api",
] }
firefly_toml = { version = "0.1", optional = true, path = "firefly_toml" }

# https://docs.rs/about/metadata
# https://github.com/firefly-zero/firefly-rust/issues/17
Expand Down
Loading