Skip to content

Commit 96527f1

Browse files
committed
bump version
1 parent 420bd05 commit 96527f1

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
edition = "2021"
33
name = "trid"
4-
version = "2.0.0"
4+
version = "3.0.0"
55
description = "Turkish citizenship ID number type"
66
readme = "README.md"
77
homepage = "https://github.com/ssg/trid"

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
[![Build & Test](https://github.com/ssg/trid/actions/workflows/rust.yml/badge.svg)](https://github.com/ssg/trid/actions/workflows/rust.yml)
33

44
# trid - Turkish Citizenship ID Number crate
5-
This is my first ever written Rust code derived from my own [TurkishId](https://github.com/ssg/TurkishId)
6-
package for .NET. I'm trying to use existing code as an excuse to learn about Rust. Despite constant tackling
5+
6+
This is my first ever written Rust code derived from my own [TurkishId](https://github.com/ssg/TurkishId)
7+
package for .NET. I'm trying to use existing code as an excuse to learn about Rust. Despite constant tackling
78
with error messages, Rust has been extremely impressive so far. (How cool are doc-tests!?)
89

910
# Usage
10-
The crate provides `TurkishId` type that represents a valid Turkish ID number. It can be instantiated
11+
12+
The crate provides `TurkishId` type that represents a valid Turkish ID number. It can be instantiated
1113
from a string using its `parse()` method, or directly converted from a `u8` slice using `from()` or
1214
`try_from()` methods. The type guarantess that it never contains an invalid number, so there's no need
1315
to validate a `TurkishId` type.
@@ -33,4 +35,5 @@ let id : TurkishId = "12345678901".parse()?;
3335
```
3436

3537
# License
38+
3639
Apache License Version 2.0, see LICENSE file for details.

0 commit comments

Comments
 (0)