Release 1.0.1: Fix cargo:rerun-if-changed
This commit is contained in:
parent
bece03719c
commit
34fc7e4286
|
@ -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"
|
||||
|
|
|
@ -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"]
|
||||
```
|
||||
|
|
2
build.rs
2
build.rs
|
@ -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()
|
||||
|
|
|
@ -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"]
|
||||
//! ```
|
||||
|
|
Loading…
Reference in New Issue