Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Mar 9, 2024
1 parent 795d059 commit 41c43f2
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/.idea/
/target
/Cargo.lock
TODO.md
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ bvh2d = { version = "0.4", git = "https://github.com/mockersf/bvh2d" }
serde = { version = "1.0", features = ["derive"], optional = true }
spade = "2.2"
log = "0.4"
geo = "0.27.0"
geo = "0.28.0"
geo-offset = { git = "https://github.com/mockersf/geo-offset", branch = "support-f32" }
geo-booleanop = { git = "https://github.com/21re/rust-geo-booleanop", optional = true }
geo-clipper = { version = "0.8.0", optional = true }

[dev-dependencies]
criterion = "0.5"
tracing-tracy = "0.10"
tracing-tracy = "0.11"
tracing-subscriber = "0.3"
tracing = "0.1"

Expand Down
2 changes: 1 addition & 1 deletion examples/aurora.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fn main() {
use tracing_subscriber::layer::SubscriberExt;

tracing::subscriber::set_global_default(
tracing_subscriber::registry().with(tracing_tracy::TracyLayer::new()),
tracing_subscriber::registry().with(tracing_tracy::TracyLayer::default()),
)
.expect("set up the subscriber");

Expand Down
2 changes: 1 addition & 1 deletion examples/scenario_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fn main() {
use tracing_subscriber::layer::SubscriberExt;

tracing::subscriber::set_global_default(
tracing_subscriber::registry().with(tracing_tracy::TracyLayer::new()),
tracing_subscriber::registry().with(tracing_tracy::TracyLayer::default()),
)
.expect("set up the subscriber");

Expand Down
4 changes: 2 additions & 2 deletions examples/traced/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ edition = "2021"

[dependencies]
polyanya = { path = "../../", features = ["tracing"] }
glam = "0.24"
glam = "0.25"
tracing-subscriber = "0.3"
tracing-tracy = "0.10"
tracing-tracy = "0.11"
tracing = "0.1"
geo-offset = { git = "https://github.com/mockersf/geo-offset", branch = "support-f32" }
2 changes: 1 addition & 1 deletion examples/traced/src/bin/merged.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use tracing_subscriber::layer::SubscriberExt;

fn main() {
tracing::subscriber::set_global_default(
tracing_subscriber::registry().with(tracing_tracy::TracyLayer::new()),
tracing_subscriber::registry().with(tracing_tracy::TracyLayer::default()),
)
.expect("set up the subscriber");

Expand Down
2 changes: 1 addition & 1 deletion examples/traced/src/bin/triangulation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use tracing_subscriber::layer::SubscriberExt;

fn main() {
tracing::subscriber::set_global_default(
tracing_subscriber::registry().with(tracing_tracy::TracyLayer::new()),
tracing_subscriber::registry().with(tracing_tracy::TracyLayer::default()),
)
.expect("set up the subscriber");

Expand Down

0 comments on commit 41c43f2

Please sign in to comment.