Skip to content

Commit 7da4374

Browse files
committed
Update version to 0.1.2 and improve SVG handling in offset functions
1 parent f7eafa3 commit 7da4374

10 files changed

Lines changed: 135 additions & 363 deletions

Cargo.lock

Lines changed: 3 additions & 265 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "offroad"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
description = "2D offsetting for arc polylines/polygons."
55
rust-version = "1.88"
66
edition = "2024"
@@ -15,15 +15,14 @@ readme = "README.md"
1515

1616

1717
[dependencies]
18-
togo = "0.4.0"
18+
togo = "0.4.1"
1919
robust = "1.2.0"
2020

2121
[lib]
2222
crate-type = ["lib"]
2323

2424
[dev-dependencies]
2525
rand = "0.9.2"
26-
divan = "0.1.21"
2726

2827
[profile.release]
2928
lto = true

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ To use the Offroad library in your project, add the following to your `Cargo.tom
99

1010
```toml
1111
[dependencies]
12-
offroad = "0.1.1"
12+
offroad = "0.1.2"
1313
```
1414

1515
## 2D offsetting for arc polylines/polygons
@@ -48,7 +48,7 @@ fn main() {
4848
println!("Arcline {}: {} vertices", i, arcline.len());
4949
}
5050

51-
if let Some(svg) = cfg.svg.as_deref_mut() {
51+
if let Some(svg) = cfg.svg.as_mut() {
5252
// Write svg to file
5353
svg.write_stroke_width(0.1);
5454
}

0 commit comments

Comments
 (0)