From f631f50abfaf6ea3d6fc8caaada47975b6df3a62 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Wed, 23 Nov 2016 10:47:31 -0800 Subject: [PATCH] Release v0.7.20 --- README.md | 2 +- phf/Cargo.toml | 6 +++--- phf/src/lib.rs | 2 +- phf_builder/Cargo.toml | 8 ++++---- phf_builder/src/lib.rs | 2 +- phf_codegen/Cargo.toml | 8 ++++---- phf_codegen/src/lib.rs | 2 +- phf_generator/Cargo.toml | 6 +++--- phf_generator/src/lib.rs | 2 +- phf_macros/Cargo.toml | 10 +++++----- phf_macros/src/lib.rs | 2 +- phf_shared/Cargo.toml | 4 ++-- phf_shared/src/lib.rs | 2 +- release.sh | 12 ------------ 14 files changed, 28 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index 5f5856e5..a07bf9c8 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Rust-PHF [![Build Status](https://travis-ci.org/sfackler/rust-phf.png?branch=master)](https://travis-ci.org/sfackler/rust-phf) [![Latest Version](https://img.shields.io/crates/v/phf.svg)](https://crates.io/crates/phf) -[Documentation](https://sfackler.github.io/rust-phf/doc/v0.7.19/phf) +[Documentation](https://sfackler.github.io/rust-phf/doc/v0.7.20/phf) Rust-PHF is a library to generate efficient lookup tables at compile time using [perfect hash functions](http://en.wikipedia.org/wiki/Perfect_hash_function). diff --git a/phf/Cargo.toml b/phf/Cargo.toml index 38b57089..f3ff0047 100644 --- a/phf/Cargo.toml +++ b/phf/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "phf" authors = ["Steven Fackler "] -version = "0.7.19" +version = "0.7.20" license = "MIT" description = "Runtime support for perfect hash function data structures" repository = "https://github.com/sfackler/rust-phf" -documentation = "https://sfackler.github.io/rust-phf/doc/v0.7.19/phf" +documentation = "https://sfackler.github.io/rust-phf/doc/v0.7.20/phf" [lib] name = "phf" @@ -17,4 +17,4 @@ core = ["phf_shared/core"] unicase = ["phf_shared/unicase"] [dependencies] -phf_shared = { version = "=0.7.19", path = "../phf_shared" } +phf_shared = { version = "=0.7.20", path = "../phf_shared" } diff --git a/phf/src/lib.rs b/phf/src/lib.rs index 37f082ac..7c9e7c2f 100644 --- a/phf/src/lib.rs +++ b/phf/src/lib.rs @@ -3,7 +3,7 @@ //! PHF data structures can be generated via the syntax extensions in the //! `phf_macros` crate or via code generation in the `phf_codegen` crate. See //! the documentation of those crates for more details. -#![doc(html_root_url="https://sfackler.github.io/rust-phf/doc/v0.7.19")] +#![doc(html_root_url="https://sfackler.github.io/rust-phf/doc/v0.7.20")] #![warn(missing_docs)] #![cfg_attr(feature = "core", no_std)] diff --git a/phf_builder/Cargo.toml b/phf_builder/Cargo.toml index 6c916598..e317bcad 100644 --- a/phf_builder/Cargo.toml +++ b/phf_builder/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "phf_builder" -version = "0.7.19" +version = "0.7.20" authors = ["Steven Fackler "] license = "MIT" description = "Runtime creation of perfect hash function data structures" repository = "https://github.com/sfackler/rust-phf" -documentation = "https://sfackler.github.io/rust-phf/doc/v0.7.19/phf_builder" +documentation = "https://sfackler.github.io/rust-phf/doc/v0.7.20/phf_builder" [dependencies] -phf = { version = "=0.7.19", path = "../phf" } -phf_generator = { version = "=0.7.19", path = "../phf_generator" } +phf = { version = "=0.7.20", path = "../phf" } +phf_generator = { version = "=0.7.20", path = "../phf_generator" } diff --git a/phf_builder/src/lib.rs b/phf_builder/src/lib.rs index 7a825281..1b3f2df7 100644 --- a/phf_builder/src/lib.rs +++ b/phf_builder/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc/v0.7.19")] +#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc/v0.7.20")] extern crate phf; extern crate phf_generator; diff --git a/phf_codegen/Cargo.toml b/phf_codegen/Cargo.toml index ca44d5ad..942161e1 100644 --- a/phf_codegen/Cargo.toml +++ b/phf_codegen/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "phf_codegen" authors = ["Steven Fackler "] -version = "0.7.19" +version = "0.7.20" license = "MIT" description = "Codegen library for PHF types" repository = "https://github.com/sfackler/rust-phf" -documentation = "https://sfackler.github.io/rust-phf/doc/v0.7.19/phf_codegen" +documentation = "https://sfackler.github.io/rust-phf/doc/v0.7.20/phf_codegen" [dependencies.phf_generator] path = "../phf_generator" -version = "=0.7.19" +version = "=0.7.20" [dependencies.phf_shared] path = "../phf_shared" -version = "=0.7.19" +version = "=0.7.20" diff --git a/phf_codegen/src/lib.rs b/phf_codegen/src/lib.rs index 291a2a29..5bda3e01 100644 --- a/phf_codegen/src/lib.rs +++ b/phf_codegen/src/lib.rs @@ -78,7 +78,7 @@ //! builder.entry("world", "2"); //! // ... //! ``` -#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc/v0.7.19")] +#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc/v0.7.20")] extern crate phf_shared; extern crate phf_generator; diff --git a/phf_generator/Cargo.toml b/phf_generator/Cargo.toml index 4ef141d7..e0957aca 100644 --- a/phf_generator/Cargo.toml +++ b/phf_generator/Cargo.toml @@ -1,15 +1,15 @@ [package] name = "phf_generator" authors = ["Steven Fackler "] -version = "0.7.19" +version = "0.7.20" license = "MIT" description = "PHF generation logic" repository = "https://github.com/sfackler/rust-phf" -documentation = "https://sfackler.github.io/rust-phf/doc/v0.7.19/phf_generator" +documentation = "https://sfackler.github.io/rust-phf/doc/v0.7.20/phf_generator" [dependencies] rand = "0.3" [dependencies.phf_shared] path = "../phf_shared" -version = "=0.7.19" +version = "=0.7.20" diff --git a/phf_generator/src/lib.rs b/phf_generator/src/lib.rs index 02ccf120..ab90c78c 100644 --- a/phf_generator/src/lib.rs +++ b/phf_generator/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc/v0.7.19")] +#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc/v0.7.20")] extern crate phf_shared; extern crate rand; diff --git a/phf_macros/Cargo.toml b/phf_macros/Cargo.toml index 20509789..704a5f7f 100644 --- a/phf_macros/Cargo.toml +++ b/phf_macros/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "phf_macros" authors = ["Steven Fackler "] -version = "0.7.19" +version = "0.7.20" license = "MIT" description = "Compiler plugin for perfect hash function data structures" repository = "https://github.com/sfackler/rust-phf" -documentation = "https://sfackler.github.io/rust-phf/doc/v0.7.19/phf_macros" +documentation = "https://sfackler.github.io/rust-phf/doc/v0.7.20/phf_macros" [lib] name = "phf_macros" @@ -19,11 +19,11 @@ unicase_support = ["unicase", "phf_shared/unicase"] [dependencies.phf_generator] path = "../phf_generator" -version = "=0.7.19" +version = "=0.7.20" [dependencies.phf_shared] path = "../phf_shared" -version = "=0.7.19" +version = "=0.7.20" [dependencies.time] version = "0.1" @@ -35,7 +35,7 @@ optional = true [dev-dependencies.phf] path = "../phf" -version = "=0.7.19" +version = "=0.7.20" [dev-dependencies.compiletest_rs] version = "0.2" diff --git a/phf_macros/src/lib.rs b/phf_macros/src/lib.rs index d8f3cb41..e09287fc 100644 --- a/phf_macros/src/lib.rs +++ b/phf_macros/src/lib.rs @@ -30,7 +30,7 @@ //! } //! # fn main() {} //! ``` -#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc/v0.7.19")] +#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc/v0.7.20")] #![feature(plugin_registrar, quote, rustc_private)] extern crate syntax; diff --git a/phf_shared/Cargo.toml b/phf_shared/Cargo.toml index 217e6ffd..d1732c43 100644 --- a/phf_shared/Cargo.toml +++ b/phf_shared/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "phf_shared" authors = ["Steven Fackler "] -version = "0.7.19" +version = "0.7.20" license = "MIT" description = "Support code shared by PHF libraries" repository = "https://github.com/sfackler/rust-phf" -documentation = "https://sfackler.github.io/rust-phf/doc/v0.7.19/phf_shared" +documentation = "https://sfackler.github.io/rust-phf/doc/v0.7.20/phf_shared" [lib] name = "phf_shared" diff --git a/phf_shared/src/lib.rs b/phf_shared/src/lib.rs index 20f2dff7..beb85a15 100644 --- a/phf_shared/src/lib.rs +++ b/phf_shared/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc/v0.7.19")] +#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc/v0.7.20")] #![cfg_attr(feature = "core", no_std)] #[cfg(not(feature = "core"))] extern crate std as core; diff --git a/release.sh b/release.sh index 07e9465f..fbe1f049 100755 --- a/release.sh +++ b/release.sh @@ -12,9 +12,6 @@ new=$2 tomls=$(find . -name Cargo.toml) libs=$(find . -name lib.rs) -release_branch=release-v$new -git checkout -b $release_branch - perl -pi -e "s/version = \"$old\"/version = \"$new\"/g" $tomls perl -pi -e "s/version = \"=$old\"/version = \"=$new\"/g" $tomls perl -pi -e "s|doc/v$old|doc/v$new|g" $tomls $libs README.md @@ -22,13 +19,4 @@ perl -pi -e "s|doc/v$old|doc/v$new|g" $tomls $libs README.md git add . git commit -ve -m "Release v$new" -git checkout release -git pull - -git merge --no-ff $release_branch git tag -a v$new - -git checkout master -git pull - -git merge --no-ff release