mirror of
https://github.com/gyscos/zstd-rs
synced 2024-10-18 13:52:51 +00:00
Cleanup crate packages (#241)
This commit is contained in:
parent
29e24ec4ee
commit
d84bac590a
23
.travis.yml
23
.travis.yml
|
@ -1,23 +0,0 @@
|
|||
os:
|
||||
- linux
|
||||
- windows
|
||||
|
||||
language: rust
|
||||
rust:
|
||||
- stable
|
||||
- beta
|
||||
- nightly
|
||||
env:
|
||||
matrix:
|
||||
# Combinations of optional features
|
||||
- FEATURES=''
|
||||
- FEATURES='tokio'
|
||||
- FEATURES='bindgen'
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- rust: nightly
|
||||
|
||||
script:
|
||||
- cargo build --verbose --features "$FEATURES"
|
||||
- cargo test --verbose --features "$FEATURES"
|
|
@ -8,7 +8,7 @@ license = "MIT"
|
|||
name = "zstd"
|
||||
repository = "https://github.com/gyscos/zstd-rs"
|
||||
version = "0.12.4"
|
||||
exclude = ["assets/*.zst"]
|
||||
exclude = ["assets/*.zst", "/.github"]
|
||||
readme = "Readme.md"
|
||||
edition = "2018"
|
||||
rust-version = "1.64"
|
||||
|
|
40
appveyor.yml
40
appveyor.yml
|
@ -1,40 +0,0 @@
|
|||
os: Visual Studio 2015
|
||||
|
||||
cache:
|
||||
- c:\cargo\registry
|
||||
- c:\cargo\git
|
||||
|
||||
init:
|
||||
- mkdir c:\cargo
|
||||
- mkdir c:\rustup
|
||||
- SET PATH=c:\cargo\bin;%PATH%
|
||||
|
||||
environment:
|
||||
CARGO_HOME: "c:\\cargo"
|
||||
RUSTUP_HOME: "c:\\rustup"
|
||||
|
||||
matrix:
|
||||
- TARGET: i686-pc-windows-msvc
|
||||
CHANNEL: stable
|
||||
- TARGET: x86_64-pc-windows-msvc
|
||||
CHANNEL: stable
|
||||
- TARGET: i686-pc-windows-gnu
|
||||
CHANNEL: stable
|
||||
- TARGET: x86_64-pc-windows-gnu
|
||||
CHANNEL: stable
|
||||
|
||||
install:
|
||||
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
||||
- rustup-init.exe -y --default-host %TARGET% --no-modify-path
|
||||
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
|
||||
- rustc -V
|
||||
- cargo -V
|
||||
- git submodule update --init --recursive
|
||||
|
||||
# 'cargo test' takes care of building for us, so disable Appveyor's build stage. This prevents
|
||||
# the "directory does not contain a project or solution file" error.
|
||||
build: false
|
||||
|
||||
# Equivalent to Travis' `script` phase
|
||||
test_script:
|
||||
- cargo test --verbose %CARGOFLAGS%
|
|
@ -11,6 +11,7 @@ license = "MIT/Apache-2.0"
|
|||
readme = "Readme.md"
|
||||
edition = "2018"
|
||||
rust-version = "1.64"
|
||||
exclude = ["update_consts.sh"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
features = ["experimental", "arrays", "std", "zdict_builder", "doc-cfg"]
|
||||
|
|
|
@ -23,8 +23,10 @@ rust-version = "1.64"
|
|||
# Use include instead of exclude, as a (temporary)
|
||||
# workaround for https://github.com/rust-lang/cargo/issues/9555
|
||||
include = [
|
||||
"/LICENSE",
|
||||
"/*.*",
|
||||
"/LICENSE*",
|
||||
"!/*.sh",
|
||||
"/build.rs",
|
||||
"/*.h",
|
||||
"/src/",
|
||||
"/wasm-shim/**/*.h",
|
||||
"/zstd/LICENSE",
|
||||
|
|
Loading…
Reference in a new issue