Release 1.0.1: Fix cargo:rerun-if-changed

This commit is contained in:
Luke Street 2021-08-25 20:05:28 -04:00
parent bece03719c
commit 34fc7e4286
4 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "lzokay"
version = "1.0.0"
version = "1.0.1"
edition = "2018"
license = "MIT"
repository = "https://github.com/encounter/lzokay-rs"

View File

@ -29,14 +29,14 @@ In `Cargo.toml`:
```toml
[dependencies]
lzokay = "1.0.0"
lzokay = "1.0.1"
```
Or, to only enable certain features:
```toml
[dependencies.lzokay]
version = "1.0.0"
version = "1.0.1"
default-features = false
features = ["decompress", "compress"]
```

View File

@ -1,7 +1,7 @@
use std::{env, path::PathBuf};
fn main() {
println!("cargo:rerun-if-changed=wrapper.h");
println!("cargo:rerun-if-changed=wrapper.hpp");
println!("cargo:rerun-if-changed=lzokay/lzokay.cpp");
println!("cargo:rerun-if-changed=lzokay/lzokay.hpp");
cc::Build::new()

View File

@ -20,14 +20,14 @@
//!
//! ```toml
//! [dependencies]
//! lzokay = "1.0.0"
//! lzokay = "1.0.1"
//! ```
//!
//! Or, to only enable certain features:
//!
//! ```toml
//! [dependencies.lzokay]
//! version = "1.0.0"
//! version = "1.0.1"
//! default-features = false
//! features = ["decompress", "compress"]
//! ```