Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Move code generation into an integration test #472

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
run: |
rustup set profile minimal
rustup override set ${{ matrix.version }}
rustup component add rustfmt

- name: Init submodules
run: git submodule update --init
Expand Down
7 changes: 2 additions & 5 deletions html5ever/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ license = "MIT OR Apache-2.0"
repository = "https://github.com/servo/html5ever"
description = "High-performance browser-grade HTML5 parser"
documentation = "https://docs.rs/html5ever"
build = "build.rs"
categories = [ "parser-implementations", "web-programming" ]
edition = "2021"

Expand All @@ -18,12 +17,10 @@ markup5ever = { version = "0.12", path = "../markup5ever" }

[dev-dependencies]
criterion = "0.3"
typed-arena = "2.0.2"

[build-dependencies]
proc-macro2 = "1"
quote = "1"
syn = { version = "2", features = ["extra-traits", "full", "fold"] }
proc-macro2 = "1"
typed-arena = "2.0.2"

[[bench]]
name = "html5ever"
Expand Down
39 changes: 0 additions & 39 deletions html5ever/build.rs

This file was deleted.

3 changes: 2 additions & 1 deletion html5ever/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
#![allow(unused_parens)]
#![warn(unreachable_pub)]

pub use driver::{parse_document, parse_fragment, ParseOpts, Parser};
pub use markup5ever::*;

pub use driver::{parse_document, parse_fragment, ParseOpts, Parser};

pub use serialize::serialize;

#[macro_use]
Expand Down
Loading
Loading