Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add Rust-based transformer/packager/optimizer for HTML and SVG #10090

Draft
wants to merge 13 commits into
base: v2
Choose a base branch
from
Draft
693 changes: 638 additions & 55 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ members = [
[profile.canary]
inherits = "release"
debug = true

[patch.crates-io]
html5ever = { git = "https://github.com/devongovett/html5ever.git", branch = "xmlns-attrs" }
xml5ever = { git = "https://github.com/devongovett/html5ever.git", branch = "xmlns-attrs" }
markup5ever = { git = "https://github.com/devongovett/html5ever.git", branch = "xmlns-attrs" }
markup5ever_rcdom = { git = "https://github.com/devongovett/html5ever.git", branch = "xmlns-attrs" }
18 changes: 18 additions & 0 deletions crates/html/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[package]
authors = ["Devon Govett <devongovett@gmail.com>"]
name = "parcel-html"
version = "0.1.0"
edition = "2021"

[dependencies]
html5ever = { git = "https://github.com/devongovett/html5ever.git", branch = "xmlns-attrs" }
serde = { version = "1.0.123", features = ["derive"] }
serde_bytes = "0.11.5"
serde_json = "1.0.91"
typed-arena = "2.0.2"
xml5ever = { git = "https://github.com/devongovett/html5ever.git", branch = "xmlns-attrs" }
cssparser = "0.34.0"
oxvg_ast = { git = "https://github.com/devongovett/oxvg.git", branch = "parcel" }
oxvg_optimiser = { git = "https://github.com/devongovett/oxvg.git", branch = "parcel" }
anyhow = "*"
selectors = "0.26"
Loading
Loading