but it's still showing the old process for adding lines on crates.io
and I can see in the repo the readme file still has
let line1 = Line { points: points1, is_closed: true, has_fill: true, has_stroke: true, is_clipping_path: false, };
and
current_layer.add_shape(line1);
but after upgrading to v0.6.0
it should be
let line1 = Line { points: points1, is_closed: true };
current_layer.add_line(line1);
assuming there might be other issues in the old file as well.
if it just needs manualy copying and pasting from the relevant files, i'm happy to make a PR,
but thought i'd ask first incase it's build step that isn't running?
It's not auto-generated, I need to update the README. I split the Line into Line and Polygon to make a distinction, so things like has_fill is useless.
Not sure how the readme file is generated?
but it's still showing the old process for adding lines on crates.io
and I can see in the repo the readme file still has
let line1 = Line { points: points1, is_closed: true, has_fill: true, has_stroke: true, is_clipping_path: false, };
and
current_layer.add_shape(line1);
but after upgrading to v0.6.0
it should be
let line1 = Line { points: points1, is_closed: true };
current_layer.add_line(line1);
assuming there might be other issues in the old file as well.
if it just needs manualy copying and pasting from the relevant files, i'm happy to make a PR, but thought i'd ask first incase it's build step that isn't running?