Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahabhgk/sass-embedded-host-rust
🦐 A Rust library that will communicate with Embedded Dart Sass using the Embedded Sass protocol.
https://github.com/ahabhgk/sass-embedded-host-rust
dart-sass rust sass sass-embedded scss
Last synced: about 1 month ago
JSON representation
🦐 A Rust library that will communicate with Embedded Dart Sass using the Embedded Sass protocol.
- Host: GitHub
- URL: https://github.com/ahabhgk/sass-embedded-host-rust
- Owner: ahabhgk
- Created: 2022-05-05T07:48:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-03T21:23:04.000Z (11 months ago)
- Last Synced: 2024-10-02T03:23:00.732Z (about 1 month ago)
- Topics: dart-sass, rust, sass, sass-embedded, scss
- Language: Rust
- Homepage: https://crates.io/crates/sass-embedded
- Size: 3.17 MB
- Stars: 16
- Watchers: 1
- Forks: 2
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sass-embedded-host-rust
🦀 A Rust library that will communicate with [Embedded Dart Sass](https://github.com/sass/dart-sass-embedded) using the [Embedded Sass protocol](https://github.com/sass/embedded-protocol).
```rust
use sass_embedded::{Sass, StringOptions};let mut sass = Sass::new("path/to/sass_embedded").unwrap();
let res = sass.compile_string("a {b: c}", StringOptions::default()).unwrap();
println!("{:?}", res);
```For more details, checkout [docs.rs](https://docs.rs/sass-embedded) and [examples](https://github.com/ahabhgk/sass-embedded-host-rust/tree/main/examples).
## Contributing
1. Install the [Protocol Buffer Compiler](https://grpc.io/docs/protoc-installation/).
2. Run `npm install && npm run setup`.
3. Find issues and welcome PRs.