Skip to content

Commit

Permalink
feat: readme and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
eerii committed Aug 4, 2024
1 parent b2b466c commit 749f5f1
Show file tree
Hide file tree
Showing 15 changed files with 806 additions and 34 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- name: Cargo clippy
run: cargo clippy --workspace --all-targets --all-features -- -Dwarnings --no-deps

- name: Cargo clippy (examples)
run: cargo clippy --examples -- -Dwarnings --no-deps

- name: Cargo fmt
run: cargo fmt --all -- --check

Expand Down
4 changes: 2 additions & 2 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ normalize_comments = true
normalize_doc_attributes = true
overflow_delimited_expr = true
reorder_impl_items = true
single_line_if_else_max_width = 80 # 50
single_line_let_else_max_width = 80 # 50
single_line_if_else_max_width = 80 # 50
single_line_let_else_max_width = 80 # 50
unstable_features = true
use_field_init_shorthand = true
use_try_shorthand = true
Expand Down
141 changes: 139 additions & 2 deletions Cargo.lock

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

8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ dev = [
release = ["common", "embedded"]
common = []
# Individual features
embedded = ["include_dir"]
pixel_perfect = ["deferred"]
deferred = []
embedded = ["include_dir"]
inspector = ["bevy-inspector-egui"]
pixel_perfect = ["deferred"]
trace = ["release", "bevy/trace_tracy"]

[dependencies]
# Bevy and plugins
Expand All @@ -39,15 +40,16 @@ bevy-inspector-egui = { version = "0.25", optional = true }
macros = { path = "macros" }

# Other dependencies
anyhow = { version = "1.0" }
include_dir = { version = "0.7", optional = true }
log = { version = "*", features = [
"max_level_debug",
"release_max_level_warn",
] }
macro_rules_attribute = { version = "0.2" }
rand = { version = "0.8" }
serde = { version = "1.0", features = ["derive"] }
toml = { version = "0.8" }
anyhow = { version = "1.0" }

[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys = { version = "0.3", features = ["Storage"] }
Expand Down
Loading

0 comments on commit 749f5f1

Please sign in to comment.