diff --git a/Cargo.toml b/Cargo.toml index bea6763..57c328b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "macrotest" -version = "1.0.6" # remember to update in lib.rs +version = "1.0.7" # remember to update in lib.rs authors = ["eupn "] edition = "2018" license = "MIT OR Apache-2.0" @@ -14,4 +14,4 @@ glob = "0.3" rand = "0.7.3" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -toml = "0.5" +toml = "0.4" diff --git a/README.md b/README.md index 83e9463..5c45003 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,15 @@ [![Travis-CI](https://api.travis-ci.com/eupn/macrotest.svg?branch=master)](https://travis-ci.com/eupn/macrotest) [![Crates.io](https://img.shields.io/crates/v/macrotest)](https://crates.io/crates/macrotest) +![MSRV 1.34.0](https://img.shields.io/badge/MSRV-1.34.0-orange.svg) [![docs.rs](https://docs.rs/macrotest/badge.svg)](https://docs.rs/macrotest/) [![Crates.io](https://img.shields.io/crates/d/macrotest)](https://crates.io/crates/macrotest) [![Crates.io](https://img.shields.io/crates/l/macrotest)](https://crates.io/crates/macrotest) Similar to [trybuild], but allows you to test how declarative or procedural macros are expanded. +*Minimal Supported Rust Version: 1.34.0* + ---- ## Documentation diff --git a/src/lib.rs b/src/lib.rs index da57e94..659beeb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,10 +1,12 @@ #![crate_type = "lib"] -#![doc(html_root_url = "https://docs.rs/macrotest/1.0.6")] +#![doc(html_root_url = "https://docs.rs/macrotest/1.0.7")] //! ####   Test harness for macro expansion. //! //! Similar to [trybuild], but allows you to write tests on how macros are expanded. //! +//! *Minimal Supported Rust Version: 1.34.0* +//! //!
//! //! # Macro expansion tests diff --git a/test-project/Cargo.lock b/test-project/Cargo.lock index 4a039ff..6d26dcf 100644 --- a/test-project/Cargo.lock +++ b/test-project/Cargo.lock @@ -37,14 +37,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "macrotest" -version = "1.0.4" +version = "1.0.7" dependencies = [ "diff 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", "glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.110 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.53 (registry+https://github.com/rust-lang/crates.io-index)", - "toml 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)", + "toml 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -152,12 +152,12 @@ dependencies = [ name = "test-project" version = "0.1.0" dependencies = [ - "macrotest 1.0.4", + "macrotest 1.0.7", ] [[package]] name = "toml" -version = "0.5.6" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "serde 1.0.110 (registry+https://github.com/rust-lang/crates.io-index)", @@ -192,6 +192,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum serde_derive 1.0.110 (registry+https://github.com/rust-lang/crates.io-index)" = "818fbf6bfa9a42d3bfcaca148547aa00c7b915bec71d1757aa2d44ca68771984" "checksum serde_json 1.0.53 (registry+https://github.com/rust-lang/crates.io-index)" = "993948e75b189211a9b31a7528f950c6adc21f9720b6438ff80a7fa2f864cea2" "checksum syn 1.0.19 (registry+https://github.com/rust-lang/crates.io-index)" = "e8e5aa70697bb26ee62214ae3288465ecec0000f05182f039b477001f08f5ae7" -"checksum toml 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)" = "ffc92d160b1eef40665be3a05630d003936a3bc7da7421277846c2613e92c71a" +"checksum toml 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)" = "758664fc71a3a69038656bee8b6be6477d2a6c315a6b81f7081f591bffa4111f" "checksum unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c" "checksum wasi 0.9.0+wasi-snapshot-preview1 (registry+https://github.com/rust-lang/crates.io-index)" = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"