mirror of
https://gitee.com/openharmony/third_party_rust_memoffset
synced 2024-11-27 01:11:21 +00:00
v0.6.1 (doc fixes)
This commit is contained in:
parent
e592834acc
commit
91114005f0
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "memoffset"
|
||||
version = "0.6.0"
|
||||
version = "0.6.1"
|
||||
authors = ["Gilad Naaman <gilad.naaman@gmail.com>"]
|
||||
description = "offset_of functionality for Rust structs."
|
||||
license = "MIT"
|
||||
|
@ -16,7 +16,7 @@ Add the following dependency to your `Cargo.toml`:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
memoffset = "0.5"
|
||||
memoffset = "0.6"
|
||||
```
|
||||
|
||||
These versions will compile fine with rustc versions greater or equal to 1.19.
|
||||
@ -63,7 +63,7 @@ In order to use it, you must enable the `unstable_const` crate feature and sever
|
||||
Cargo.toml:
|
||||
```toml
|
||||
[dependencies.memoffset]
|
||||
version = "0.5"
|
||||
version = "0.6"
|
||||
features = ["unstable_const"]
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user