-
Notifications
You must be signed in to change notification settings - Fork 130
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
rustpkg compatibility #26
Comments
About testing: if tests are in a separate crate, is the lib crate never built with As to |
I'm no expert on rustpkg, so I don't know the answer to the first question off As for the second point, it is probably possible to get rustpkg to build the |
With #32, there is no generated file anymore. It should now be easier to make rust-cssparser work with rustpkg. I’d review a pull request doing so. |
Closing due to rust-lang/rust#11987 |
Right now, there are two main things preventing easy use with
rustpkg
:color_data.rs
tests.rs
Both are pretty straightforward and the second can be done with minimal
modifications:
rename
tests.rs
totest.rs
remove the following from
lib.rs
Add
extern mod extra;
and theuse
andmod
lines fromlib.rs
to thebeginning of
test.rs
.I'm not sure of an easy solution to generating
color_data.rs
(aside fromsimply skipping the generation step entirely).
The text was updated successfully, but these errors were encountered: