Crates.io | styrus |
lib.rs | styrus |
version | 0.1.2 |
source | src |
created_at | 2021-08-14 09:44:16.046034 |
updated_at | 2021-08-31 07:52:39.999613 |
description | Stylus css compiler in Rust. |
homepage | https://github.com/jw/styrus |
repository | https://github.com/jw/styrus |
max_upload_size | |
id | 436039 |
size | 61,862 |
A Stylus css compiler in Rust.
$ cargo install styrus
Given file tests/test.stylus
containing
*h1 > p
border 1px
h2
padding 1px 1px 1px 1px
A compile renders:
$ styrus tests/test.stylus
*h1 > p {
border 1px
}
h2 {
padding 1px 1px 1px 1px
}
The RUST_LOG
can be set to info
to get all the details of the AST.
Like RUST_LOG=info styrus tests/test.stylus
.