diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:57:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-30 03:57:31 +0000 |
commit | dc0db358abe19481e475e10c32149b53370f1a1c (patch) | |
tree | ab8ce99c4b255ce46f99ef402c27916055b899ee /vendor/bytecount/README.md | |
parent | Releasing progress-linux version 1.71.1+dfsg1-2~progress7.99u1. (diff) | |
download | rustc-dc0db358abe19481e475e10c32149b53370f1a1c.tar.xz rustc-dc0db358abe19481e475e10c32149b53370f1a1c.zip |
Merging upstream version 1.72.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/bytecount/README.md')
-rw-r--r-- | vendor/bytecount/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/bytecount/README.md b/vendor/bytecount/README.md index 9847c2a89..9ec89820f 100644 --- a/vendor/bytecount/README.md +++ b/vendor/bytecount/README.md @@ -4,7 +4,7 @@ Counting bytes really fast [![Build Status](https://travis-ci.org/llogiq/bytecount.svg?branch=master)](https://travis-ci.org/llogiq/bytecount) [![Windows build status](https://ci.appveyor.com/api/projects/status/github/llogiq/bytecount?svg=true)](https://ci.appveyor.com/project/llogiq/bytecount) -[![Current Version](http://meritbadge.herokuapp.com/bytecount)](https://crates.io/crates/bytecount) +[![Current Version](https://img.shields.io/crates/v/bytecount.svg)](https://crates.io/crates/bytecount) [![License: Apache 2.0/MIT](https://img.shields.io/crates/l/bytecount.svg)](#license) This uses the "hyperscreamingcount" algorithm by Joshua Landau to count bytes faster than anything else. @@ -12,7 +12,7 @@ The [newlinebench](https://github.com/llogiq/newlinebench) repository has furthe To use bytecount in your crate, if you have [cargo-edit](https://github.com/killercup/cargo-edit), just type `cargo add bytecount` in a terminal with the crate root as the current path. Otherwise you can manually edit your -`Cargo.toml` to add `bytecount = 0.5.1` to your `[dependencies]` section. +`Cargo.toml` to add `bytecount = 0.6.3` to your `[dependencies]` section. In your crate root (`lib.rs` or `main.rs`, depending on if you are writing a library or application), add `extern crate bytecount;`. Now you can simply use |