Skip to content

Commit

Permalink
[Release] Prepare 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nvzqz committed Nov 15, 2018
1 parent d50aa95 commit 8e6707a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog] and this project adheres to
[Semantic Versioning].

## [Unreleased]

## [0.3.1] - 2018-11-15
### Fixed
- Macros that refer to other internal macros can now be imported when compiling
for Rust 2018 ([issue #10](https://github.com/nvzqz/static-assertions-rs/issues/10))
Expand Down Expand Up @@ -90,7 +92,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/v0.3.0...HEAD
[Unreleased]: https://github.com/nvzqz/static-assertions-rs/compare/v0.3.1...HEAD
[0.3.1]: https://github.com/nvzqz/static-assertions-rs/compare/v0.3.0...v0.3.1
[0.3.0]: https://github.com/nvzqz/static-assertions-rs/compare/v0.2.5...v0.3.0
[0.2.5]: https://github.com/nvzqz/static-assertions-rs/compare/v0.2.4...v0.2.5
[0.2.4]: https://github.com/nvzqz/static-assertions-rs/compare/v0.2.3...v0.2.4
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "static_assertions"
version = "0.3.0"
version = "0.3.1"
authors = ["Nikolai Vazquez"]
license = "MIT/Apache-2.0"
readme = "README.md"
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ adding the following to your project's

```toml
[dependencies]
static_assertions = "0.3.0"
static_assertions = "0.3.1"
```

and this to your crate root (`main.rs` or `lib.rs`):
Expand All @@ -44,15 +44,15 @@ extern crate static_assertions;
## Usage

This crate exposes the following macros:
- [`assert_cfg!`](https://docs.rs/static_assertions/0.3.0/static_assertions/macro.assert_cfg.html)
- [`assert_eq_size!`](https://docs.rs/static_assertions/0.3.0/static_assertions/macro.assert_eq_size.html)
- [`assert_eq_size_ptr!`](https://docs.rs/static_assertions/0.3.0/static_assertions/macro.assert_eq_size_ptr.html)
- [`assert_eq_size_val!`](https://docs.rs/static_assertions/0.3.0/static_assertions/macro.assert_eq_size_val.html)
- [`assert_fields!`](https://docs.rs/static_assertions/0.3.0/static_assertions/macro.assert_fields.html)
- [`assert_impl!`](https://docs.rs/static_assertions/0.3.0/static_assertions/macro.assert_impl.html)
- [`assert_obj_safe!`](https://docs.rs/static_assertions/0.3.0/static_assertions/macro.assert_obj_safe.html)
- [`const_assert!`](https://docs.rs/static_assertions/0.3.0/static_assertions/macro.const_assert.html)
- [`const_assert_eq!`](https://docs.rs/static_assertions/0.3.0/static_assertions/macro.const_assert_eq.html)
- [`assert_cfg!`](https://docs.rs/static_assertions/0.3.1/static_assertions/macro.assert_cfg.html)
- [`assert_eq_size!`](https://docs.rs/static_assertions/0.3.1/static_assertions/macro.assert_eq_size.html)
- [`assert_eq_size_ptr!`](https://docs.rs/static_assertions/0.3.1/static_assertions/macro.assert_eq_size_ptr.html)
- [`assert_eq_size_val!`](https://docs.rs/static_assertions/0.3.1/static_assertions/macro.assert_eq_size_val.html)
- [`assert_fields!`](https://docs.rs/static_assertions/0.3.1/static_assertions/macro.assert_fields.html)
- [`assert_impl!`](https://docs.rs/static_assertions/0.3.1/static_assertions/macro.assert_impl.html)
- [`assert_obj_safe!`](https://docs.rs/static_assertions/0.3.1/static_assertions/macro.assert_obj_safe.html)
- [`const_assert!`](https://docs.rs/static_assertions/0.3.1/static_assertions/macro.const_assert.html)
- [`const_assert_eq!`](https://docs.rs/static_assertions/0.3.1/static_assertions/macro.const_assert_eq.html)

### Limitations

Expand Down
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
//!
//! ```toml
//! [dependencies]
//! static_assertions = "0.3.0"
//! static_assertions = "0.3.1"
//! ```
//!
//! and this to your crate root (`main.rs` or `lib.rs`):
Expand Down Expand Up @@ -64,7 +64,7 @@
//!
//! ```toml
//! [dependencies.static_assertions]
//! version = "0.3.0"
//! version = "0.3.1"
//! features = ["nightly"]
//! ```
//!
Expand Down Expand Up @@ -117,7 +117,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/0.3.0")]
#![doc(html_root_url = "https://docs.rs/static_assertions/0.3.1")]
#![doc(html_logo_url = "https://raw.githubusercontent.com/nvzqz/static-assertions-rs/assets/Icon.png")]

#![no_std]
Expand Down

0 comments on commit 8e6707a

Please sign in to comment.