Skip to content

Conversation

@otdavies
Copy link

@otdavies otdavies commented Oct 3, 2025

Hello - I am a contributor to Graphite and I am working on a vectorization feature powered by vtracer.

I am in the process of adding support for vtracer to Graphite presently. I discovered that we have trouble compiling to wasm with the current vtracer crate due to a limitation in regards to the version of fastrand + a feature flag it requires.

I have created the minimum possible change set to vtracer that allows it to work with Graphite. These changes simply bump the version number and add the feature flag required we need for graphite. I recognize we may need to add a new feature flag to vtracer to support fastrand's "js" feature flag as opposed to defaulting it to on. I wanted to leave that choice up to you, the original maintainers.

Much respect, appreciate and admiration. Oliver @ Graphite

Here is a very early screenshot of the vectorization "working" within Graphite to help motivate these changes.
chrome_lLgAHzsWQi

@tyt2y3
Copy link
Member

tyt2y3 commented Oct 6, 2025

I'll probably add additional feature flag to the cli crate.
can you work with git dependency for now?

@otdavies
Copy link
Author

otdavies commented Oct 6, 2025

I'll probably add additional feature flag to the cli crate.
can you work with git dependency for now?

Should be fine to rely on the git dep for now. The feature flag sounds like the right solution.

Thanks!

@tyt2y3
Copy link
Member

tyt2y3 commented Oct 17, 2025

bumped, please check 8acb6bd
https://crates.io/crates/vtracer/0.6.5

@tyt2y3 tyt2y3 closed this Oct 17, 2025
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