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

Consider using grass for sass #1083

Closed
svenstaro opened this issue Jul 10, 2020 · 6 comments
Closed

Consider using grass for sass #1083

svenstaro opened this issue Jul 10, 2020 · 6 comments

Comments

@svenstaro
Copy link
Contributor

Currently, zola is using sass-rs which needs a C library which makes cross-compilation a pain. I suggest considering using grass which is a pure Rust implementation of sass. It might not be ready yet but if you think it's too early then let this be a tracking issue. Perhaps it can be offered as an alternative option? Zola already has alternatives in for linkfetching with rustls vs openssl so perhaps this could be another one of those options?

This is related to #1001.

@Keats
Copy link
Collaborator

Keats commented Jul 11, 2020

I've been keeping an eye on it for a while. I'll switch it once the author thinks it's ready.

@michalfita
Copy link

So far grass's numbers of official tests passed looks better than rsass's (that's BTW demonstration of negative side of open source where two project with the same purpose pull in different direction instead of join forces to speed up development).

I'm really waiting for a day when Zola switches to Rust-native SASS and let me install itself by just cargo install zola.

@Keats
Copy link
Collaborator

Keats commented Aug 16, 2020

cargo install zola

That's not going to happen, until they allow dev-only workspaces. I don't want to have to upload n zola-* crates there only to make compilation speed tolerable.

I'm checking grass every week, I want to drop libsass too!

@batisteo
Copy link
Contributor

batisteo commented Dec 10, 2020

I think it could be nice to have it for the milestone 0.14 as a feature flag (opt in or out). Wdyt?

@Keats
Copy link
Collaborator

Keats commented Dec 10, 2020

@Keats
Copy link
Collaborator

Keats commented Jul 19, 2021

Closing as duplicate of #1535 which has more comments.

@Keats Keats closed this as completed Jul 19, 2021
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

No branches or pull requests

4 participants