diff --git a/css/Cargo.toml b/css/Cargo.toml index 9ccf2c8aa0a35..373feed95186b 100644 --- a/css/Cargo.toml +++ b/css/Cargo.toml @@ -7,4 +7,6 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -swc_css_ast = { path = "./css" } \ No newline at end of file +swc_css_ast = { path = "./css" } +swc_css_parser = { path = "./parser" } +swc_css_visit = { path = "./visit" } \ No newline at end of file diff --git a/css/parser/Cargo.toml b/css/parser/Cargo.toml new file mode 100644 index 0000000000000..c530d2b97cc65 --- /dev/null +++ b/css/parser/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "parser" +version = "0.1.0" +authors = ["강동윤 "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/css/parser/src/lib.rs b/css/parser/src/lib.rs new file mode 100644 index 0000000000000..31e1bb209f98e --- /dev/null +++ b/css/parser/src/lib.rs @@ -0,0 +1,7 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } +} diff --git a/css/visit/Cargo.toml b/css/visit/Cargo.toml new file mode 100644 index 0000000000000..a1d3624718254 --- /dev/null +++ b/css/visit/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "visit" +version = "0.1.0" +authors = ["강동윤 "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/css/visit/src/lib.rs b/css/visit/src/lib.rs new file mode 100644 index 0000000000000..31e1bb209f98e --- /dev/null +++ b/css/visit/src/lib.rs @@ -0,0 +1,7 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } +}