Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: kurbo is used via peniko. #461

Merged
merged 1 commit into from
May 27, 2024

Conversation

waywardmonkeys
Copy link
Contributor

Since all usages of kurbo are via peniko, the direct dependency on kurbo is not needed. This makes it easier to keep versions in sync.

The re-export of kurbo was happening directly so it could have been out of sync with an updated peniko, so re-export the version from peniko instead.

@waywardmonkeys
Copy link
Contributor Author

(Noticed this when looking at your branch that replicates the vello bug.)

@dzhou121
Copy link
Contributor

peniko 0.1.0 doesn't give the options to turn on serde feature on kurbo. That's why we had to use kurbo directly.

@waywardmonkeys
Copy link
Contributor Author

I see.

The current main branch of peniko has serde support now, so would it be useful if we did a release of that?

@dzhou121
Copy link
Contributor

I see.

The current main branch of peniko has serde support now, so would it be useful if we did a release of that?

Yes!

@waywardmonkeys
Copy link
Contributor Author

Since all usages of `kurbo` are via `peniko`, the direct dependency
on `kurbo` is not needed. This makes it easier to keep versions
in sync.

The re-export of `kurbo` was happening directly so it could have
been out of sync with an updated `peniko`, so re-export the version
from `peniko` instead.

`kurbo` was being used to enable the `serde` feature in it, so do
that now via `peniko` as allowed in v0.1.1.
@waywardmonkeys waywardmonkeys force-pushed the remove-direct-kurbo-dependency branch from 3105a9b to 8792cd1 Compare May 27, 2024 16:23
@waywardmonkeys
Copy link
Contributor Author

Okay, peniko version 0.1.1 is published now and this PR is now updated to use it and enable the serde feature.

@dzhou121
Copy link
Contributor

Thanks!

@dzhou121 dzhou121 merged commit 69ac2b9 into lapce:main May 27, 2024
7 checks passed
@waywardmonkeys waywardmonkeys deleted the remove-direct-kurbo-dependency branch July 26, 2024 07:07
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.

2 participants