{"id":20638405,"url":"https://github.com/solo-steven/rustlycss","last_synced_at":"2025-03-09T08:43:18.470Z","repository":{"id":184983054,"uuid":"672189945","full_name":"Solo-steven/rustlycss","owner":"Solo-steven","description":"css transformer build in rust","archived":false,"fork":false,"pushed_at":"2023-08-08T16:14:31.000Z","size":625,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T08:21:01.682Z","etag":null,"topics":["css","css-generator","css-parser","postcss","postcss-like"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Solo-steven.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-29T08:10:01.000Z","updated_at":"2023-08-08T15:25:30.000Z","dependencies_parsed_at":"2024-11-16T15:18:04.106Z","dependency_job_id":"59632301-706b-45b0-a9b8-fc7e79292058","html_url":"https://github.com/Solo-steven/rustlycss","commit_stats":null,"previous_names":["solo-steven/rustlycss"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solo-steven%2Frustlycss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solo-steven%2Frustlycss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solo-steven%2Frustlycss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Solo-steven%2Frustlycss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Solo-steven","download_url":"https://codeload.github.com/Solo-steven/rustlycss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242667475,"owners_count":20166303,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","css-generator","css-parser","postcss","postcss-like"],"created_at":"2024-11-16T15:17:55.845Z","updated_at":"2025-03-09T08:43:18.438Z","avatar_url":"https://github.com/Solo-steven.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rustlycss\n\nrustlycss is a css transform tool builded in rust.Insipred by postcss, rustlycss accepts a relative loss syntax of css, provider developer write their own syntax transform to control css syntax.\n\n## Benchmark\n\nbenchmark run on personal computed (Macbook pro 2021, M1 pro chip), tool using tinybench for js and criterion for rust.\n### Parser\n| **file** |  bootstrap-reboot.css   |    bootstrap.css     | tailwind-dark.css |\n| -------: | ----------------------: | -------------------: | -----------------: | \n| **size** |                   7.4K  |               201K   |              5.8M   |\n|   **js** |               339.410us |          7864.636 us |        238.186616ms |\n| **rust** |                33.769us |            826.08 us |          24.122ms   |\n|    **~** |                  10.05x|                9.5x  |                9.87x  |\n\n### Codegen\n| **file** |  bootstrap-reboot.css   |    bootstrap.css     | tailwind-dark.css   |\n| -------: | ----------------------: | -------------------: | -----------------:  | \n| **size** |                   7.4K  |               201K   |              5.8M   |\n|   **js** |               30.297us |          967.256 us |        47.220991ms    |\n| **rust** |                3.4377us|            133.63 us |          4.2332ms    |\n|    **~** |                  8.81x|                7.24x  |            11.15x    |\n\n### Codegen With Source Map\n\n| **file** |  bootstrap-reboot.css   |    bootstrap.css     | tailwind-dark.css   |\n| -------: | ----------------------: | -------------------: | -----------------:  | \n| **size** |                   7.4K  |               201K   |              5.8M   |\n|   **js** |               433.094us |         10102.929 us |        273.264262 ms |\n| **rust** |                9.779us  |            319.47 us |          12.292ms    |\n|    **~** |                 44.28x  |              31.624x |               22.23x |\n\n## Syntax\n\nPlease to go `/spec/spec.pdf` for syntax production rule\n\n## ACKNOWLEDGEMENT\n\nThis project is deeply inspired by postcss and postcss-rs, thanks [Andrey Sitnik](https://github.com/ai) and [postcss-rs contributor](https://github.com/postcss-rs/postcss-rs/graphs/contributors).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolo-steven%2Frustlycss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolo-steven%2Frustlycss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolo-steven%2Frustlycss/lists"}