Skip to content

Commit

Permalink
Switch badge to GitHub Actions and update Readme (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
atouchet authored Aug 11, 2023
1 parent 16b5127 commit ef7c995
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# html5ever

[![Build Status](https://travis-ci.com/servo/html5ever.svg?branch=master)](https://travis-ci.com/servo/html5ever)
[![Build Status](https://github.com/servo/html5ever/actions/workflows/main.yml/badge.svg)](https://github.com/servo/html5ever/actions)
[![crates.io](https://img.shields.io/crates/v/html5ever.svg)](https://crates.io/crates/html5ever)

[API Documentation][API documentation]
Expand All @@ -11,7 +11,7 @@ It can parse and serialize HTML according to the [WHATWG](https://whatwg.org/) s

Note that the HTML syntax is very similar to XML. For correct parsing of XHTML, use an XML parser (That said, many XHTML documents in the wild are serialized in an HTML-compatible form).

html5ever is written in [Rust][], therefore it avoids the notorious security problems that come along with using C. Being built with Rust also makes the library come with the high-grade performance you would expect from an html parser written in C. html5ever is basically a C html parser, but without needing a garbage collector or other heavy runtime processes.
html5ever is written in [Rust][], therefore it avoids the notorious security problems that come along with using C. Being built with Rust also makes the library come with the high-grade performance you would expect from an HTML parser written in C. html5ever is basically a C HTML parser, but without needing a garbage collector or other heavy runtime processes.


## Getting started in Rust
Expand All @@ -20,7 +20,7 @@ Add html5ever as a dependency in your [`Cargo.toml`](https://crates.io/) file:

```toml
[dependencies]
html5ever = "*"
html5ever = "0.26"
```

You should also take a look at [`examples/html2html.rs`], [`examples/print-rcdom.rs`], and the [API documentation][].
Expand Down

0 comments on commit ef7c995

Please sign in to comment.