Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

Commit

Permalink
feat(debug): compatibility with heron_debug v5 (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcornaz committed Nov 12, 2022
1 parent 6465780 commit 843f81e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 755 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Expand Up @@ -53,7 +53,7 @@ jobs:
profile: minimal
override: true
- run: cargo test -p heron_rapier@4.0.0 --no-default-features --features 2d
- run: cargo test -p heron_debug --no-default-features --features 2d
- run: cargo test -p heron_debug@4.0.0 --no-default-features --features 2d
- run: cargo test --no-default-features --features 2d
test-3d:
runs-on: ubuntu-latest
Expand All @@ -67,7 +67,7 @@ jobs:
override: true
- run: cargo test -p heron_core@4.0.0 --no-default-features --features 3d
- run: cargo test -p heron_rapier@4.0.0 --no-default-features --features 3d
- run: cargo test -p heron_debug --no-default-features --features 3d
- run: cargo test -p heron_debug@4.0.0 --no-default-features --features 3d
- run: cargo test --no-default-features --features 3d
test-debug-2d:
runs-on: ubuntu-latest
Expand Down
12 changes: 3 additions & 9 deletions debug/Cargo.toml
Expand Up @@ -10,17 +10,11 @@ repository = "https://github.com/jcornaz/heron/"

[features]
default = []
2d = ["heron_rapier/2d", "bevy_prototype_lyon", "lyon_path"]
3d = ["heron_rapier/3d", "bevy_prototype_debug_lines/3d"]
2d = ["heron_debug_v5/2d"]
3d = ["heron_debug_v5/3d"]

[dependencies]
heron_core = { version = "4.0.0", path = "../core" }
heron_rapier = { version = "4.0.0", path = "../rapier" }
bevy = { version = "0.8.0", default-features = false, features = ["bevy_render"] }
bevy_prototype_lyon = { version = "0.6.0", optional = true }
lyon_path = { version = "0.17.7", optional = true }
fnv = "1.0"
bevy_prototype_debug_lines = { version = "0.8.0", default-features = false, optional = true }
heron_debug_v5 = { package = "heron_debug", version = "5.0" }

[package.metadata.docs.rs]
all-features = true
Expand Down
278 changes: 0 additions & 278 deletions debug/src/dim2.rs

This file was deleted.

0 comments on commit 843f81e

Please sign in to comment.