Skip to content

Commit b843969

Browse files
committed
v0.1.0-alpha — Alpha release
1 parent 6bacb4f commit b843969

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "strtoint"
3-
version = "0.1.0"
3+
version = "0.1.0-alpha"
44
edition = "2021"
55
rust-version = "1.56"
66
description = "Parse integers from strings, with support for base prefixes"

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![codecov.io](https://codecov.io/gh/jwodder/strtoint/branch/master/graph/badge.svg)](https://codecov.io/gh/jwodder/strtoint)
44
[![MIT License](https://img.shields.io/github/license/jwodder/strtoint.svg)](https://opensource.org/licenses/MIT)
55

6-
[GitHub](https://github.com/jwodder/strtoint) <!-- | [crates.io](https://crates.io/crates/strtoint) | [Documentation](https://docs.rs/strtoint) --> | [Issues](https://github.com/jwodder/strtoint/issues)
6+
[GitHub](https://github.com/jwodder/strtoint) | [crates.io](https://crates.io/crates/strtoint) | [Documentation](https://docs.rs/strtoint) | [Issues](https://github.com/jwodder/strtoint/issues)
77

88
`strtoint` provides a function of the same name for parsing integer literals
99
from strings, with support for the base prefixes `0x`, `0o`, and `0b` for
@@ -16,6 +16,18 @@ If the `std` feature (enabled by default) is disabled, this crate will be built
1616
in no-std mode. The only difference is that `StrToIntError` only implements
1717
the `std::error::Error` trait under `std`.
1818

19+
Installation
20+
============
21+
22+
`strtoint` requires version 1.56 of Rust or higher. To use the `strtoint`
23+
library in your Cargo project, add the following to your `Cargo.toml`:
24+
25+
```toml
26+
[dependencies]
27+
strtoint = "0.1.0-alpha"
28+
```
29+
30+
1931
Examples
2032
========
2133

0 commit comments

Comments
 (0)