Skip to content

Commit

Permalink
rename branch master -> main
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Mar 15, 2021
1 parent 7cf7ddd commit a7f9c22
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
push:
branches:
- master
- main
tags:
- '**'
pull_request: {}
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# rtoml

[![Actions Status](https://github.com/samuelcolvin/rtoml/workflows/CI/badge.svg)](https://github.com/samuelcolvin/rtoml/actions)
[![Coverage](https://codecov.io/gh/samuelcolvin/rtoml/branch/master/graph/badge.svg)](https://codecov.io/gh/samuelcolvin/rtoml)
[![Actions Status](https://github.com/samuelcolvin/rtoml/workflows/CI/badge.svg)](https://github.com/samuelcolvin/rtoml/actions?query=event%3Apush+branch%3Amain+workflow%3ACI)
[![Coverage](https://codecov.io/gh/samuelcolvin/rtoml/branch/main/graph/badge.svg)](https://codecov.io/gh/samuelcolvin/rtoml)
[![pypi](https://img.shields.io/pypi/v/rtoml.svg)](https://pypi.python.org/pypi/rtoml)
[![license](https://img.shields.io/github/license/samuelcolvin/rtoml.svg)](https://github.com/samuelcolvin/rtoml/blob/master/LICENSE)
[![license](https://img.shields.io/github/license/samuelcolvin/rtoml.svg)](https://github.com/samuelcolvin/rtoml/blob/main/LICENSE)


A better TOML library for python implemented in rust.
Expand All @@ -13,7 +13,7 @@ A better TOML library for python implemented in rust.
* Correctness: rtoml is based on the widely used and very stable [toml-rs](https://github.com/alexcrichton/toml-rs)
library, it passes all the [standard TOML tests](https://github.com/BurntSushi/toml-test) as well as having 100%
coverage on python code. Other TOML libraries for python I tried all failed to parse some valid TOML.
* Performance: see [benchmarks](https://github.com/samuelcolvin/rtoml/tree/master/benchmarks) -
* Performance: see [benchmarks](https://github.com/samuelcolvin/rtoml/tree/main/benchmarks) -
rtoml is much faster than other TOML libraries for python.

## Install
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

Versus [uiri/toml](https://github.com/uiri/toml) and [sdispater/tomlkit](https://github.com/sdispater/tomlkit).

Time taken to load [`data.toml`](https://github.com/samuelcolvin/rtoml/blob/master/benchmarks/data.toml):
Time taken to load [`data.toml`](https://github.com/samuelcolvin/rtoml/blob/main/benchmarks/data.toml):
```
rtoml version: 0.2.0 0.221 ms/parse
uiri/toml version: 0.10.0 1.977 ms/parse (8.96 X slower)
tomlkit version: 0.5.8 13.950 ms/parse (63.23 X slower)
```

See [`run.py`](https://github.com/samuelcolvin/rtoml/blob/master/benchmarks/run.py) for details on how
See [`run.py`](https://github.com/samuelcolvin/rtoml/blob/main/benchmarks/run.py) for details on how
the benchmarks are run.

0 comments on commit a7f9c22

Please sign in to comment.