diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index aca5d370..00000000 --- a/.travis.yml +++ /dev/null @@ -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" diff --git a/Cargo.toml b/Cargo.toml index f5760aa3..feb8dc26 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 33cb406a..00000000 --- a/appveyor.yml +++ /dev/null @@ -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% diff --git a/zstd-safe/Cargo.toml b/zstd-safe/Cargo.toml index c3831c25..803483c8 100644 --- a/zstd-safe/Cargo.toml +++ b/zstd-safe/Cargo.toml @@ -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"] diff --git a/zstd-safe/zstd-sys/Cargo.toml b/zstd-safe/zstd-sys/Cargo.toml index d93062c0..71848c52 100644 --- a/zstd-safe/zstd-sys/Cargo.toml +++ b/zstd-safe/zstd-sys/Cargo.toml @@ -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",