📝 update readme

pull/1/head
Shad Amethyst 2 years ago
parent 4ebd5fd666
commit ab2aa8103b
Signed by: amethyst
GPG Key ID: D970C8DD1D6DEE36

@ -22,7 +22,7 @@ Run `cargo add veccell` or add the following in `Cargo.toml`:
```toml ```toml
[dependencies] [dependencies]
veccell = "0.1.0" veccell = "0.4"
``` ```
## Examples ## Examples
@ -105,6 +105,15 @@ let first = arr.borrow_mut(0);
assert!(arr.borrow_mut(1).is_none()); assert!(arr.borrow_mut(1).is_none());
``` ```
## serde
`serde` is supported. To use it, enable the `serde` feature:
```toml
[dependencies]
veccell = { version = "0.4", features = ["serde"] }
```
## License ## License
This project is dual-licensed under the MIT license and the Apache v2.0 license. This project is dual-licensed under the MIT license and the Apache v2.0 license.

Loading…
Cancel
Save