doc: improve readme
This commit is contained in:
parent
38e035037c
commit
43af123801
1 changed files with 11 additions and 22 deletions
33
README.md
33
README.md
|
@ -1,11 +1,14 @@
|
||||||
# EString
|
# EString
|
||||||
|
|
||||||
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/pleshevskiy/estring/CI?label=tests&logo=github&style=flat-square)](https://github.com/pleshevskiy/estring/actions/workflows/ci.yml)
|
|
||||||
[![docs.rs](https://img.shields.io/docsrs/estring?style=flat-square)](https://docs.rs/estring)
|
|
||||||
[![Crates.io](https://img.shields.io/crates/v/estring?style=flat-square)](https://crates.io/crates/estring)
|
[![Crates.io](https://img.shields.io/crates/v/estring?style=flat-square)](https://crates.io/crates/estring)
|
||||||
[![Crates.io](https://img.shields.io/crates/l/estring?style=flat-square)](https://github.com/pleshevskiy/estring/LICENSE)
|
[![docs.rs](https://img.shields.io/docsrs/estring?style=flat-square)](https://docs.rs/estring)
|
||||||
[![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg?style=flat-square)](https://github.com/rust-secure-code/safety-dance/)
|
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/pleshevskiy/estring/CI?label=tests&logo=github&style=flat-square)](https://github.com/pleshevskiy/estring/actions/workflows/ci.yml)
|
||||||
[![Matrix](https://img.shields.io/matrix/enve_team:matrix.org?label=matrix&style=flat-square)](https://matrix.to/#/!yZalHbWfGRWOMaetSn:matrix.org?via=matrix.org)
|
![The MSRV](https://img.shields.io/badge/MSRV-1.59.0-red.svg)
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[dependencies]
|
||||||
|
estring = "0.1"
|
||||||
|
```
|
||||||
|
|
||||||
A simple way to parse a string using type annotations.
|
A simple way to parse a string using type annotations.
|
||||||
|
|
||||||
|
@ -36,25 +39,11 @@ fn main() -> estring::Result<()> {
|
||||||
You can use custom types as annotations! Just implement
|
You can use custom types as annotations! Just implement
|
||||||
`estring::ParseFragment`!
|
`estring::ParseFragment`!
|
||||||
|
|
||||||
## Installation
|
## Contact Us
|
||||||
|
|
||||||
**The MSRV is 1.59.0**
|
Join us in:
|
||||||
|
|
||||||
Add `estring = { version = "0.1", features = ["structs"] }` as a dependency in
|
[![Matrix](https://img.shields.io/badge/matrix-%23enve_team:matrix.org-blueviolet.svg?style=flat-square)](https://matrix.to/#/#enve_team:matrix.org)
|
||||||
`Cargo.toml`.
|
|
||||||
|
|
||||||
`Cargo.toml` example:
|
|
||||||
|
|
||||||
```toml
|
|
||||||
[package]
|
|
||||||
name = "my-crate"
|
|
||||||
version = "0.1.0"
|
|
||||||
edition = "2021"
|
|
||||||
authors = ["Me <user@rust-lang.org>"]
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
estring = { version = "0.1", features = ["structs"] }
|
|
||||||
```
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
Reference in a new issue