Skip to content

Commit 6cdaf2b

Browse files
committed
chore: release prep for 0.8.0
1 parent 6bf35a9 commit 6cdaf2b

File tree

5 files changed

+23
-23
lines changed

5 files changed

+23
-23
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ resolver = "2"
33
members = ["bounded-static", "bounded-static-derive"]
44

55
[workspace.package]
6-
version = "0.7.0"
6+
version = "0.8.0"
77
rust-version = "1.64.0"
88
edition = "2021"
99
authors = ["FujiApple <[email protected]>"]
@@ -13,8 +13,8 @@ keywords = ["cow", "static", "bounded", "owned", "derive"]
1313
categories = ["no-std", "rust-patterns", "data-structures", "memory-management"]
1414

1515
[workspace.dependencies]
16-
bounded-static = { version = "0.7.0", path = "bounded-static" }
17-
bounded-static-derive = { version = "0.7.0", path = "bounded-static-derive" }
16+
bounded-static = { version = "0.8.0", path = "bounded-static" }
17+
bounded-static-derive = { version = "0.8.0", path = "bounded-static-derive" }
1818
syn = { version = "2.0.38", features = [ "full" ] }
1919
quote = "1.0.33"
2020
proc-macro2 = "1.0.69"

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
![ci](https://github.com/fujiapple852/bounded-static/actions/workflows/ci.yml/badge.svg)
2-
[![Documentation](https://docs.rs/bounded-static/badge.svg)](https://docs.rs/bounded-static/0.7.0)
3-
[![Crate](https://img.shields.io/crates/v/bounded-static.svg)](https://crates.io/crates/bounded-static/0.7.0)
2+
[![Documentation](https://docs.rs/bounded-static/badge.svg)](https://docs.rs/bounded-static/0.8.0)
3+
[![Crate](https://img.shields.io/crates/v/bounded-static.svg)](https://crates.io/crates/bounded-static/0.8.0)
44

55
# Bounded Static
6-
This crate defines the [`ToBoundedStatic`](https://docs.rs/bounded-static/0.7.0/bounded_static/trait.ToBoundedStatic.html)
7-
and [`IntoBoundedStatic`](https://docs.rs/bounded-static/0.7.0/bounded_static/trait.IntoBoundedStatic.html) traits,
8-
the [`ToStatic`](https://docs.rs/bounded-static/0.7.0/bounded_static/derive.ToStatic.html) macro and provides impls
6+
This crate defines the [`ToBoundedStatic`](https://docs.rs/bounded-static/0.8.0/bounded_static/trait.ToBoundedStatic.html)
7+
and [`IntoBoundedStatic`](https://docs.rs/bounded-static/0.8.0/bounded_static/trait.IntoBoundedStatic.html) traits,
8+
the [`ToStatic`](https://docs.rs/bounded-static/0.8.0/bounded_static/derive.ToStatic.html) macro and provides impls
99
for common types. This crate has zero-dependencies, is `no_std` friendly and
1010
forbids `unsafe` code.
1111

@@ -21,7 +21,7 @@ method to convert to that bounded type.
2121
The macros `ToStatic` can be used to automatically derive `ToBoundedStatic` and `IntoBoundedStatic` for any `struct`
2222
or `enum` that can be converted to a form that is bounded by `'static`.
2323

24-
Refer to the crate [`documentation`](https://docs.rs/bounded-static/0.7.0/bounded_static) for details and examples.
24+
Refer to the crate [`documentation`](https://docs.rs/bounded-static/0.8.0/bounded_static) for details and examples.
2525

2626
## FAQ
2727

bounded-static-derive/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
[![Documentation](https://docs.rs/bounded-static-derive/badge.svg)](https://docs.rs/bounded-static-derive/0.7.0)
2-
[![Crate](https://img.shields.io/crates/v/bounded-static-derive.svg)](https://crates.io/crates/bounded-static-derive/0.7.0)
1+
[![Documentation](https://docs.rs/bounded-static-derive/badge.svg)](https://docs.rs/bounded-static-derive/0.8.0)
2+
[![Crate](https://img.shields.io/crates/v/bounded-static-derive.svg)](https://crates.io/crates/bounded-static-derive/0.8.0)
33

44
# Bounded Static Derive
55

66
This crate provides the `ToStatic` macro which can be used to derive implementations of
7-
the [`ToBoundedStatic`](https://docs.rs/bounded-static/0.7.0/bounded_static/trait.ToBoundedStatic.html) and
8-
[`IntoBoundedStatic`](https://docs.rs/bounded-static/0.7.0/bounded_static/trait.IntoBoundedStatic.html) traits for all `struct`and `enum`
7+
the [`ToBoundedStatic`](https://docs.rs/bounded-static/0.8.0/bounded_static/trait.ToBoundedStatic.html) and
8+
[`IntoBoundedStatic`](https://docs.rs/bounded-static/0.8.0/bounded_static/trait.IntoBoundedStatic.html) traits for all `struct`and `enum`
99
that can be converted to a form that is bounded by `'static`.
1010

11-
The `ToStatic` macro should be used via the [`bounded-static`](https://docs.rs/bounded-static/0.7.0/bounded_static) crate rather
11+
The `ToStatic` macro should be used via the [`bounded-static`](https://docs.rs/bounded-static/0.8.0/bounded_static) crate rather
1212
than using this crate directly.
1313

1414
```yaml
15-
bounded-static = { version = "0.7.0", features = [ "derive" ] }
15+
bounded-static = { version = "0.8.0", features = [ "derive" ] }
1616
```
1717

1818
## License

bounded-static-derive/src/lib.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
#![doc(html_root_url = "https://docs.rs/bounded-static-derive/0.7.0")]
1+
#![doc(html_root_url = "https://docs.rs/bounded-static-derive/0.8.0")]
22
//! Provides the `ToStatic` derive macro.
33
//!
4-
//! The [`ToStatic`] derive macro implements the [`ToBoundedStatic`](https://docs.rs/bounded-static/0.7.0/bounded_static/trait.ToBoundedStatic.html)
5-
//! and [`IntoBoundedStatic`](https://docs.rs/bounded-static/0.7.0/bounded_static/trait.IntoBoundedStatic.html) traits for any `struct`
4+
//! The [`ToStatic`] derive macro implements the [`ToBoundedStatic`](https://docs.rs/bounded-static/0.8.0/bounded_static/trait.ToBoundedStatic.html)
5+
//! and [`IntoBoundedStatic`](https://docs.rs/bounded-static/0.8.0/bounded_static/trait.IntoBoundedStatic.html) traits for any `struct`
66
//! and `enum` that can be converted to a form that is bounded by `'static`.
77
//!
8-
//! The [`ToStatic`] macro should be used via the [`bounded-static`](https://docs.rs/bounded-static/0.7.0) crate
8+
//! The [`ToStatic`] macro should be used via the [`bounded-static`](https://docs.rs/bounded-static/0.8.0) crate
99
//! rather than using this crate directly.
1010
#![warn(clippy::all, clippy::pedantic, clippy::nursery, rust_2018_idioms)]
1111
#![allow(clippy::redundant_pub_crate)]
@@ -20,8 +20,8 @@ mod data_struct;
2020

2121
/// The `ToStatic` derive macro.
2222
///
23-
/// Generate [`ToBoundedStatic`](https://docs.rs/bounded-static/0.7.0/bounded_static/trait.ToBoundedStatic.html) and
24-
/// [`IntoBoundedStatic`](https://docs.rs/bounded-static/0.7.0/bounded_static/trait.IntoBoundedStatic.html) impls for the data item deriving
23+
/// Generate [`ToBoundedStatic`](https://docs.rs/bounded-static/0.8.0/bounded_static/trait.ToBoundedStatic.html) and
24+
/// [`IntoBoundedStatic`](https://docs.rs/bounded-static/0.8.0/bounded_static/trait.IntoBoundedStatic.html) impls for the data item deriving
2525
/// `ToStatic`.
2626
#[proc_macro_derive(ToStatic)]
2727
pub fn to_static(input: proc_macro::TokenStream) -> proc_macro::TokenStream {

bounded-static/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![doc(html_root_url = "https://docs.rs/bounded-static/0.7.0")]
1+
#![doc(html_root_url = "https://docs.rs/bounded-static/0.8.0")]
22
//! Provides the [`ToBoundedStatic`] and [`IntoBoundedStatic`] traits and [`ToStatic`] derive macro.
33
//!
44
//! As described in the [Common Rust Lifetime Misconceptions](https://github.com/pretzelhammer/rust-blog/blob/master/posts/common-rust-lifetime-misconceptions.md#2-if-t-static-then-t-must-be-valid-for-the-entire-program):
@@ -145,7 +145,7 @@
145145
//! To use the [`ToStatic`] macro you must enable the `derive` feature:
146146
//!
147147
//! ```yaml
148-
//! bounded-static = { version = "0.7.0", features = [ "derive" ] }
148+
//! bounded-static = { version = "0.8.0", features = [ "derive" ] }
149149
//! ```
150150
//!
151151
//! # Examples

0 commit comments

Comments
 (0)