Skip to content

Commit

Permalink
Update thiserror to 2.x
Browse files Browse the repository at this point in the history
This brings `no_std` support, so this is now able to be used
in a `no_std` context, so always build it, but enable `std`
support when building parry for `std`.
  • Loading branch information
waywardmonkeys committed Jan 10, 2025
1 parent 64ce3d3 commit 1d3cf5a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions crates/parry2d-f64/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ std = [
"simba/std",
"arrayvec/std",
"spade",
"thiserror",
"thiserror/std",
"ena"
]
dim2 = []
Expand Down Expand Up @@ -84,7 +84,7 @@ rayon = { version = "1", optional = true }
bytemuck = { version = "1", features = ["derive"], optional = true }
log = "0.4"
ordered-float = { version = "4", default-features = false }
thiserror = { version = "1", optional = true }
thiserror = { version = "2", default-features = false }
ena = { version = "0.14.3", optional = true }

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions crates/parry2d/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ std = [
"simba/std",
"arrayvec/std",
"spade",
"thiserror",
"thiserror/std",
"ena"
]
dim2 = []
Expand Down Expand Up @@ -84,7 +84,7 @@ rayon = { version = "1", optional = true }
bytemuck = { version = "1", features = ["derive"], optional = true }
ordered-float = { version = "4", default-features = false }
log = "0.4"
thiserror = { version = "1", optional = true }
thiserror = { version = "2", default-features = false }
ena = { version = "0.14.3", optional = true }

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions crates/parry3d-f64/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ std = [
"simba/std",
"arrayvec/std",
"spade",
"thiserror",
"thiserror/std",
"ena"
]
dim3 = []
Expand Down Expand Up @@ -85,7 +85,7 @@ ena = { version = "0.14.3", optional = true }

log = "0.4"
ordered-float = { version = "4", default-features = false }
thiserror = { version = "1", optional = true }
thiserror = { version = "2", default-features = false }

[dev-dependencies]
oorandom = "11"
Expand Down
4 changes: 2 additions & 2 deletions crates/parry3d/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ std = [
"simba/std",
"arrayvec/std",
"spade",
"thiserror",
"thiserror/std",
"ena"
]
dim3 = []
Expand Down Expand Up @@ -82,7 +82,7 @@ rayon = { version = "1", optional = true }
bytemuck = { version = "1", features = ["derive"], optional = true }
log = "0.4"
ordered-float = { version = "4", default-features = false }
thiserror = { version = "1", optional = true }
thiserror = { version = "2", default-features = false }
rstar = "0.12.0"
obj = { version = "0.10.2", optional = true }
ena = { version = "0.14.3", optional = true }
Expand Down

0 comments on commit 1d3cf5a

Please sign in to comment.