Registry / other / swc-css-ast

swc-css-ast

JSON →
library23.0.0rscratesunverified

AST definitions of css

# Cargo.toml [dependencies] swc_css_ast = "23.0.0"
INSTALL
IMPORT
SIG · SWC-CSS-AST
S
swc-css-ast
otherrustv23.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Stylesheet
use swc_css_ast::Stylesheet;

Creates an empty CSS stylesheet AST node.

use swc_css_ast::Stylesheet; let stylesheet = Stylesheet { rules: vec![], }; println!("Stylesheet created");
Debug
Known issues

No known issues recorded.

Upgrade
Version history
23.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Resources
swc-css-ast — cargo add swc-css-ast · libregistry