Skip to content

Conversions between Euclid and Kurbo types#463

Merged
sagudev merged 1 commit intolinebender:mainfrom
sagudev:euclid
Jul 11, 2025
Merged

Conversions between Euclid and Kurbo types#463
sagudev merged 1 commit intolinebender:mainfrom
sagudev:euclid

Conversation

@sagudev
Copy link
Contributor

@sagudev sagudev commented Jul 7, 2025

Inspired after #450

We could use those in servo and blitz.
Theoretically they could also live in euclid, but given higher number of breaking releases in kurbo, kurbo seems better place for this.

@nicoburns
Copy link

This would potentially be useful for Blitz.

If we're going to do this, then I think having the conversions in kurbo makes more sense than having them in euclid, as euclid is much more stable (no breaking release since 2020).

@sagudev
Copy link
Contributor Author

sagudev commented Jul 7, 2025

If we're going to do this, then I think having the conversions in kurbo makes more sense than having them in euclid, as euclid is much more stable (no breaking release since 2020).

That was also my rationale.

@sagudev sagudev force-pushed the euclid branch 3 times, most recently from 97f6815 to a49a650 Compare July 8, 2025 08:31
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
@sagudev sagudev added this pull request to the merge queue Jul 11, 2025
Merged via the queue into linebender:main with commit 490c0e5 Jul 11, 2025
15 checks passed
@sagudev sagudev deleted the euclid branch July 11, 2025 06:19
github-merge-queue bot pushed a commit that referenced this pull request Jul 17, 2025
We already did for most of `Point` arguments. This is especially
relevant for users of euclid now that we have #463.

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
DJMcNab added a commit to DJMcNab/kurbo that referenced this pull request Aug 11, 2025
The `euclid` feature is only intended for conversions (see linebender#463)
Therefore, if our users are using it, they should be enabling the correct features themselves

Related to linebender#463

This has the side-effect of working around rust-lang/cargo#10801
(but that is not the motivation for this change)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants