Release 1.0.1: Fix cargo:rerun-if-changed
This commit is contained in:
parent
bece03719c
commit
34fc7e4286
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "lzokay"
|
name = "lzokay"
|
||||||
version = "1.0.0"
|
version = "1.0.1"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
repository = "https://github.com/encounter/lzokay-rs"
|
repository = "https://github.com/encounter/lzokay-rs"
|
||||||
|
|
|
@ -29,14 +29,14 @@ In `Cargo.toml`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lzokay = "1.0.0"
|
lzokay = "1.0.1"
|
||||||
```
|
```
|
||||||
|
|
||||||
Or, to only enable certain features:
|
Or, to only enable certain features:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies.lzokay]
|
[dependencies.lzokay]
|
||||||
version = "1.0.0"
|
version = "1.0.1"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["decompress", "compress"]
|
features = ["decompress", "compress"]
|
||||||
```
|
```
|
||||||
|
|
2
build.rs
2
build.rs
|
@ -1,7 +1,7 @@
|
||||||
use std::{env, path::PathBuf};
|
use std::{env, path::PathBuf};
|
||||||
|
|
||||||
fn main() {
|
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.cpp");
|
||||||
println!("cargo:rerun-if-changed=lzokay/lzokay.hpp");
|
println!("cargo:rerun-if-changed=lzokay/lzokay.hpp");
|
||||||
cc::Build::new()
|
cc::Build::new()
|
||||||
|
|
|
@ -20,14 +20,14 @@
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies]
|
//! [dependencies]
|
||||||
//! lzokay = "1.0.0"
|
//! lzokay = "1.0.1"
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! Or, to only enable certain features:
|
//! Or, to only enable certain features:
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies.lzokay]
|
//! [dependencies.lzokay]
|
||||||
//! version = "1.0.0"
|
//! version = "1.0.1"
|
||||||
//! default-features = false
|
//! default-features = false
|
||||||
//! features = ["decompress", "compress"]
|
//! features = ["decompress", "compress"]
|
||||||
//! ```
|
//! ```
|
||||||
|
|
Loading…
Reference in New Issue