diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0a0ba59f..52dc0605 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -28,6 +28,8 @@ jobs: run: cargo fmt --all -- --check -l - name: cargo clippy run: cargo clippy --all -- -D clippy + - name: cargo package + run : cargo package && cargo package --manifest-path static-metric/Cargo.toml criterion: name: "Benchmarks (criterion)" runs-on: ubuntu-latest diff --git a/static-metric/Cargo.toml b/static-metric/Cargo.toml index 89e50e9a..8614c2e2 100644 --- a/static-metric/Cargo.toml +++ b/static-metric/Cargo.toml @@ -7,11 +7,6 @@ description = "Static metric helper utilities for rust-prometheus." repository = "https://github.com/tikv/rust-prometheus" homepage = "https://github.com/tikv/rust-prometheus" documentation = "https://docs.rs/prometheus-static-metric" -include = [ - "LICENSE", - "Cargo.toml", - "src/**/*.rs", -] [lib] proc-macro = true