[Release] Prepare 1.1.0

This commit is contained in:
Nikolai Vazquez 2019-11-03 12:00:29 -05:00
parent 6681752181
commit 18bc65a094
4 changed files with 32 additions and 21 deletions

View File

@ -5,6 +5,8 @@ The format is based on [Keep a Changelog] and this project adheres to
[Semantic Versioning].
## [Unreleased]
## [1.1.0] - 2019-11-03
### Added
- `assert_impl_any!` macro
- `assert_impl_one!` macro
@ -162,7 +164,8 @@ Initial release
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/
[Semantic Versioning]: http://semver.org/spec/v2.0.0.html
[Unreleased]: https://github.com/nvzqz/static-assertions-rs/compare/v1.0.0...HEAD
[Unreleased]: https://github.com/nvzqz/static-assertions-rs/compare/v1.1.0...HEAD
[1.1.0]: https://github.com/nvzqz/static-assertions-rs/compare/v1.0.0...v1.1.0
[1.0.0]: https://github.com/nvzqz/static-assertions-rs/compare/v0.3.4...v1.0.0
[0.3.4]: https://github.com/nvzqz/static-assertions-rs/compare/v0.3.3...v0.3.4
[0.3.3]: https://github.com/nvzqz/static-assertions-rs/compare/v0.3.2...v0.3.3

View File

@ -1,6 +1,6 @@
[package]
name = "static_assertions"
version = "1.0.0"
version = "1.1.0"
authors = ["Nikolai Vazquez"]
license = "MIT OR Apache-2.0"
readme = "README.md"

View File

@ -33,7 +33,7 @@ adding the following to your project's
```toml
[dependencies]
static_assertions = "1.0.0"
static_assertions = "1.1.0"
```
and this to your crate root (`main.rs` or `lib.rs`):
@ -53,9 +53,13 @@ This crate exposes the following macros:
- [`assert_eq_size_val!`]
- [`assert_fields!`]
- [`assert_impl_all!`]
- [`assert_impl_any!`]
- [`assert_impl_one!`]
- [`assert_not_impl_all!`]
- [`assert_not_impl_any!`]
- [`assert_obj_safe!`]
- [`assert_trait_sub_all!`]
- [`assert_trait_super_all!`]
- [`assert_type_eq_all!`]
- [`assert_type_ne_all!`]
- [`const_assert!`]
@ -119,7 +123,7 @@ This crate exposes the following macros:
```toml
[dev-dependencies]
static_assertions = "1.0.0"
static_assertions = "1.1.0"
```
and then assertions can be conditionally run behind `#[cfg(test)]`:
@ -163,18 +167,22 @@ at your choosing.
[pull request]: https://github.com/nvzqz/static-assertions-rs/pulls
[docs]: https://docs.rs/static_assertions
[`assert_cfg!`]: https://docs.rs/static_assertions/1.0.0/static_assertions/macro.assert_cfg.html
[`assert_eq_align!`]: https://docs.rs/static_assertions/1.0.0/static_assertions/macro.assert_eq_align.html
[`assert_eq_size!`]: https://docs.rs/static_assertions/1.0.0/static_assertions/macro.assert_eq_size.html
[`assert_eq_size_ptr!`]: https://docs.rs/static_assertions/1.0.0/static_assertions/macro.assert_eq_size_ptr.html
[`assert_eq_size_val!`]: https://docs.rs/static_assertions/1.0.0/static_assertions/macro.assert_eq_size_val.html
[`assert_fields!`]: https://docs.rs/static_assertions/1.0.0/static_assertions/macro.assert_fields.html
[`assert_impl_all!`]: https://docs.rs/static_assertions/1.0.0/static_assertions/macro.assert_impl_all.html
[`assert_not_impl_all!`]: https://docs.rs/static_assertions/1.0.0/static_assertions/macro.assert_not_impl_all.html
[`assert_not_impl_any!`]: https://docs.rs/static_assertions/1.0.0/static_assertions/macro.assert_not_impl_any.html
[`assert_obj_safe!`]: https://docs.rs/static_assertions/1.0.0/static_assertions/macro.assert_obj_safe.html
[`assert_type_eq_all!`]: https://docs.rs/static_assertions/1.0.0/static_assertions/macro.assert_type_eq_all.html
[`assert_type_ne_all!`]: https://docs.rs/static_assertions/1.0.0/static_assertions/macro.assert_type_ne_all.html
[`const_assert!`]: https://docs.rs/static_assertions/1.0.0/static_assertions/macro.const_assert.html
[`const_assert_eq!`]: https://docs.rs/static_assertions/1.0.0/static_assertions/macro.const_assert_eq.html
[`const_assert_ne!`]: https://docs.rs/static_assertions/1.0.0/static_assertions/macro.const_assert_ne.html
[`assert_cfg!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.assert_cfg.html
[`assert_eq_align!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.assert_eq_align.html
[`assert_eq_size!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.assert_eq_size.html
[`assert_eq_size_ptr!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.assert_eq_size_ptr.html
[`assert_eq_size_val!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.assert_eq_size_val.html
[`assert_fields!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.assert_fields.html
[`assert_impl_all!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.assert_impl_all.html
[`assert_impl_any!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.assert_impl_any.html
[`assert_impl_one!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.assert_impl_one.html
[`assert_not_impl_all!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.assert_not_impl_all.html
[`assert_not_impl_any!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.assert_not_impl_any.html
[`assert_obj_safe!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.assert_obj_safe.html
[`assert_trait_sub_all!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.assert_trait_sub_all.html
[`assert_trait_super_all!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.assert_trait_super_all.html
[`assert_type_eq_all!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.assert_type_eq_all.html
[`assert_type_ne_all!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.assert_type_ne_all.html
[`const_assert!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.const_assert.html
[`const_assert_eq!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.const_assert_eq.html
[`const_assert_ne!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.const_assert_ne.html

View File

@ -26,7 +26,7 @@
//!
//! ```toml
//! [dependencies]
//! static_assertions = "1.0.0"
//! static_assertions = "1.1.0"
//! ```
//!
//! and this to your crate root (`main.rs` or `lib.rs`):
@ -76,7 +76,7 @@
//! [compile-time]: https://en.wikipedia.org/wiki/Compile_time
//! [`Cargo.toml`]: https://doc.rust-lang.org/cargo/reference/manifest.html
#![doc(html_root_url = "https://docs.rs/static_assertions/1.0.0")]
#![doc(html_root_url = "https://docs.rs/static_assertions/1.1.0")]
#![doc(html_logo_url = "https://raw.githubusercontent.com/nvzqz/static-assertions-rs/assets/Icon.png")]
#![no_std]