Skip to content

Commit 4306b27

Browse files
committed
Update version number
1 parent 640bffd commit 4306b27

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "cjson-rs"
33
description = "Rust bindings for the cJSON library"
44
license = "MIT"
5-
version = "0.2.2"
5+
version = "0.2.3"
66
edition = "2021"
77

88
[build-dependencies]

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ Make sure you have the [cJSON](https://github.com/DaveGamble/cJSON) library prop
1010
- `CJSON_INCLUDE_PATH` specifies where the compiler should look for the `cJSON.h` header file during the compilation process eg. `/usr/include/cjson`.
1111
- `CJSON_LIB_PATH` specifies where the linker should look for precompiled cJSON library files eg. `/usr/local/lib`.
1212

13-
- Update your `Cargo.toml` file:
13+
- Update your `Cargo.toml` file by adding this to the `[dependencies]` section:
1414

1515
```toml
16-
cjson-rs = "0.1.0"
16+
cjson-rs = "0.2.3"
1717
```
1818

19-
- Import the crate to start using it:
19+
- Import the crate in your source file(s) to start using it:
2020

2121
```rust
2222
use cjson_rs::*;

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub const CJSON_VERSION_PATCH: u32 = bindings::CJSON_VERSION_PATCH;
1414
///
1515
/// fn main() {
1616
/// assert_eq!(
17-
/// cjson_version(),
17+
/// cjson_version(),
1818
/// format!("{}.{}.{}", CJSON_VERSION_MAJOR, CJSON_VERSION_MINOR, CJSON_VERSION_PATCH)
1919
/// );
2020
/// println!("Test passed"); // output: Test passed

0 commit comments

Comments
 (0)