Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refer to version 0.7, not 0.6 #103

Merged
merged 1 commit into from
Jul 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Add this to your Cargo.toml:

```toml
[dependencies]
bit-vec = "0.6"
bit-vec = "0.7"
```

Since Rust 2018, `extern crate` is no longer mandatory. If your edition is old (Rust 2015),
Expand All @@ -51,28 +51,28 @@ If you want [serde](https://github.com/serde-rs/serde) support, include the feat

```toml
[dependencies]
bit-vec = { version = "0.6", features = ["serde"] }
bit-vec = { version = "0.7", features = ["serde"] }
```

If you want to use bit-vec in a program that has `#![no_std]`, just drop default features:

```toml
[dependencies]
bit-vec = { version = "0.6", default-features = false }
bit-vec = { version = "0.7", default-features = false }
```

If you want to use serde with the alloc crate instead of std, just use the `serde_no_std` feature:

```toml
[dependencies]
bit-vec = { version = "0.6", default-features = false, features = ["serde", "serde_no_std"] }
bit-vec = { version = "0.7", default-features = false, features = ["serde", "serde_no_std"] }
```

If you want [borsh-rs](https://github.com/near/borsh-rs) support, include it like this:

```toml
[dependencies]
bit-vec = { version = "0.6", features = ["borsh"] }
bit-vec = { version = "0.7", features = ["borsh"] }
```

Other available serialization libraries can be enabled with the
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
//! assert_eq!(num_primes, 1_229);
//! ```

#![doc(html_root_url = "https://docs.rs/bit-vec/0.6.3")]
#![doc(html_root_url = "https://docs.rs/bit-vec/0.7.0")]
#![no_std]

#[cfg(any(test, feature = "std"))]
Expand Down
Loading