Cleanup crate packages (#241)

This commit is contained in:
Jake Shadle 2023-09-11 04:09:53 +02:00 committed by GitHub
parent 29e24ec4ee
commit d84bac590a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 66 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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%

View file

@ -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"]

View file

@ -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",