-
Notifications
You must be signed in to change notification settings - Fork 136
How to use with Servo? #101
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
Comments
Why this change? What are you trying to accomplish? Are you using Given that the error messages mention ipc-channel and bincode, I don’t know if it’s related to cssparser at all. |
I wanted to modify rust-cssparser to see if I could get better performance. So I wanted to point it towards my own github repo, I just used servo/rust-cssparser as an example, since the same thing happened with it. I deleted I'm re-downloading the entire repo now. I was using
|
To do that you should use a "path override" rather than modify |
You want to use cargo overrides for this. Checkout rust-cssparser in a sibling directory to Servo and then in servo/.cargo/config you'll want to put
and it will use your checkout. |
Thank you @SimonSapin @metajack! Why does the other way not compile? Is it that something else depends on it also, and they have to match? |
I’m not sure how exactly, but you likely ended up with two different versions of serde. So one copy of the |
I'm probably doing something wrong, But I can't compile against servo.
I edited servo/components/style/Cargo.toml to
cssparser = {version = "0.5.3", features = ["heap_size", "serde-serialization"],git = "https://github.com/servo/rust-cssparser/"}
But when I try to compile I get
and
Could anyone point me in the right direction?
The text was updated successfully, but these errors were encountered: