From ef7c99549045d7c7a451d6e619d26e742167e1aa Mon Sep 17 00:00:00 2001 From: Alex Touchet Date: Fri, 11 Aug 2023 02:34:10 -0700 Subject: [PATCH] Switch badge to GitHub Actions and update Readme (#480) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 813f1b11..c78b18ed 100644 --- a/README.md +++ b/README.md @@ -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] @@ -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 @@ -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][].