diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index aa5a615..44025ad 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -71,6 +71,11 @@ jobs: cargo clean cargo build --features case-insensitive + - name: Verify cargo publish includes all files needed to build + run: | + cargo package --list -p chrono-tz + cargo publish --dry-run -p chrono-tz + lint: runs-on: ubuntu-latest diff --git a/chrono-tz/Cargo.toml b/chrono-tz/Cargo.toml index ac073e9..af97800 100644 --- a/chrono-tz/Cargo.toml +++ b/chrono-tz/Cargo.toml @@ -10,6 +10,22 @@ repository = "https://github.com/chronotope/chrono-tz" documentation = "https://docs.rs/chrono-tz" readme = "../README.md" license = "MIT OR Apache-2.0" +include = [ + "src/*.rs", + "tests/*.rs", + "build.rs", + "LICENSE", + "tz/africa", + "tz/antarctica", + "tz/asia", + "tz/australasia", + "tz/backward", + "tz/etcetera", + "tz/europe", + "tz/northamerica", + "tz/southamerica", + "tz/NEWS", +] [dependencies] arbitrary = { version = "1.2", optional = true, features = ["derive"] }