diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ece17ed..8709f46e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,8 @@ on: - '!/*.md' - '!/docs/**' - "!/LICENSE-*" + schedule: + - cron: '3 3 3 * *' jobs: ci: name: CI @@ -113,6 +115,8 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: + # Not MSRV because its harder to jump between versions and people are + # more likely to have stable toolchain: stable profile: minimal override: true diff --git a/.gitignore b/.gitignore index 53eaa219..ea8c4bf7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ /target -**/*.rs.bk diff --git a/Cargo.toml b/Cargo.toml index d836f2de..3361efe6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,6 +21,13 @@ readme = "README.md" categories = ["development-tools", "text-processing"] keywords = ["development", "spelling"] edition = "2018" +include = [ + "src/**/*", + "Cargo.toml", + "LICENSE*", + "README.md", + "examples/**/*" +] [package.metadata.docs.rs] no-default-features = true @@ -49,10 +56,6 @@ name = "typos" path = "src/bin/typos-cli/main.rs" doc = false -[badges] -azure-devops = { project = "crate-ci", pipeline = "typos" } -codecov = { repository = "crate-ci/typos" } - [dependencies] typos = { version = "^0.7", path = "crates/typos" } varcon-core = { version = "^2.0.0", path = "crates/varcon-core" } diff --git a/crates/codespell-dict/Cargo.toml b/crates/codespell-dict/Cargo.toml index f2380bca..9bd8d0f0 100644 --- a/crates/codespell-dict/Cargo.toml +++ b/crates/codespell-dict/Cargo.toml @@ -10,9 +10,13 @@ keywords = ["development", "spelling"] license = "CC-BY-SA-3.0" edition = "2018" publish = false - -[badges] -codecov = { repository = "crate-ci/typos" } +include = [ + "src/**/*", + "Cargo.toml", + "LICENSE*", + "README.md", + "examples/**/*" +] [package.metadata.release] disable-release = true diff --git a/crates/codespell-dict/codegen/Cargo.toml b/crates/codespell-dict/codegen/Cargo.toml index d67b7d6f..d2f070ad 100644 --- a/crates/codespell-dict/codegen/Cargo.toml +++ b/crates/codespell-dict/codegen/Cargo.toml @@ -10,10 +10,6 @@ license = "MIT" edition = "2018" publish = false -[badges] -azure-devops = { project = "crate-ci", pipeline = "typos" } -codecov = { repository = "crate-ci/typos" } - [package.metadata.release] disable-release = true diff --git a/crates/dictgen/Cargo.toml b/crates/dictgen/Cargo.toml index 750574f7..2bac6015 100644 --- a/crates/dictgen/Cargo.toml +++ b/crates/dictgen/Cargo.toml @@ -7,6 +7,13 @@ categories = ["development-tools", "text-processing"] keywords = ["development", "spelling", "no_std"] license = "MIT OR Apache-2.0" edition = "2018" +include = [ + "src/**/*", + "Cargo.toml", + "LICENSE*", + "README.md", + "examples/**/*" +] [features] default = ["std"] diff --git a/crates/misspell-dict/Cargo.toml b/crates/misspell-dict/Cargo.toml index efd294d1..e7c65566 100644 --- a/crates/misspell-dict/Cargo.toml +++ b/crates/misspell-dict/Cargo.toml @@ -10,9 +10,13 @@ keywords = ["development", "spelling"] license = "MIT OR Apache-2.0" edition = "2018" publish = false - -[badges] -codecov = { repository = "crate-ci/typos" } +include = [ + "src/**/*", + "Cargo.toml", + "LICENSE*", + "README.md", + "examples/**/*" +] [package.metadata.release] disable-release = true diff --git a/crates/misspell-dict/codegen/Cargo.toml b/crates/misspell-dict/codegen/Cargo.toml index a60d29b5..ada127b7 100644 --- a/crates/misspell-dict/codegen/Cargo.toml +++ b/crates/misspell-dict/codegen/Cargo.toml @@ -10,10 +10,6 @@ license = "MIT" edition = "2018" publish = false -[badges] -azure-devops = { project = "crate-ci", pipeline = "typos" } -codecov = { repository = "crate-ci/typos" } - [package.metadata.release] disable-release = true diff --git a/crates/typos-dict/Cargo.toml b/crates/typos-dict/Cargo.toml index 92fd369b..a182f361 100644 --- a/crates/typos-dict/Cargo.toml +++ b/crates/typos-dict/Cargo.toml @@ -1,17 +1,21 @@ [package] name = "typos-dict" version = "0.6.3" -authors = ["Ed Page "] description = "Source Code Spelling Correction" +authors = ["Ed Page "] +license = "MIT OR Apache-2.0" repository = "https://github.com/crate-ci/typos" readme = "../../README.md" categories = ["development-tools", "text-processing"] keywords = ["development", "spelling"] -license = "MIT OR Apache-2.0" edition = "2018" - -[badges] -codecov = { repository = "crate-ci/typos" } +include = [ + "src/**/*", + "Cargo.toml", + "LICENSE*", + "README.md", + "examples/**/*" +] [dependencies] unicase = "2.5" diff --git a/crates/typos-dict/codegen/Cargo.toml b/crates/typos-dict/codegen/Cargo.toml index ed4a19e2..01cf16aa 100644 --- a/crates/typos-dict/codegen/Cargo.toml +++ b/crates/typos-dict/codegen/Cargo.toml @@ -10,10 +10,6 @@ license = "MIT" edition = "2018" publish = false -[badges] -azure-devops = { project = "crate-ci", pipeline = "typos" } -codecov = { repository = "crate-ci/typos" } - [package.metadata.release] disable-release = true diff --git a/crates/typos-dict/verify/Cargo.toml b/crates/typos-dict/verify/Cargo.toml index 5a4b18ee..56899b0e 100644 --- a/crates/typos-dict/verify/Cargo.toml +++ b/crates/typos-dict/verify/Cargo.toml @@ -10,10 +10,6 @@ license = "MIT" edition = "2018" publish = false -[badges] -azure-devops = { project = "crate-ci", pipeline = "typos" } -codecov = { repository = "crate-ci/typos" } - [package.metadata.release] disable-release = true diff --git a/crates/typos-vars/Cargo.toml b/crates/typos-vars/Cargo.toml index 962fa457..c921c2a9 100644 --- a/crates/typos-vars/Cargo.toml +++ b/crates/typos-vars/Cargo.toml @@ -1,17 +1,21 @@ [package] name = "typos-vars" version = "0.7.2" -authors = ["Ed Page "] description = "Source Code Spelling Correction" +authors = ["Ed Page "] +license = "MIT OR Apache-2.0" repository = "https://github.com/crate-ci/typos" readme = "../../README.md" categories = ["development-tools", "text-processing"] keywords = ["development", "spelling"] -license = "MIT OR Apache-2.0" edition = "2018" - -[badges] -codecov = { repository = "crate-ci/typos" } +include = [ + "src/**/*", + "Cargo.toml", + "LICENSE*", + "README.md", + "examples/**/*" +] [dependencies] unicase = "2.5" diff --git a/crates/typos-vars/codegen/Cargo.toml b/crates/typos-vars/codegen/Cargo.toml index 938e8138..21a2617f 100644 --- a/crates/typos-vars/codegen/Cargo.toml +++ b/crates/typos-vars/codegen/Cargo.toml @@ -10,10 +10,6 @@ license = "MIT" edition = "2018" publish = false -[badges] -azure-devops = { project = "crate-ci", pipeline = "typos" } -codecov = { repository = "crate-ci/typos" } - [package.metadata.release] disable-release = true diff --git a/crates/typos/Cargo.toml b/crates/typos/Cargo.toml index 07c64026..f92b842f 100644 --- a/crates/typos/Cargo.toml +++ b/crates/typos/Cargo.toml @@ -1,17 +1,21 @@ [package] name = "typos" version = "0.7.5" -authors = ["Ed Page "] description = "Source Code Spelling Correction" +authors = ["Ed Page "] +license = "MIT OR Apache-2.0" repository = "https://github.com/crate-ci/typos" readme = "../../README.md" categories = ["development-tools", "text-processing"] keywords = ["development", "spelling"] -license = "MIT OR Apache-2.0" edition = "2018" - -[badges] -codecov = { repository = "crate-ci/typos" } +include = [ + "src/**/*", + "Cargo.toml", + "LICENSE*", + "README.md", + "examples/**/*" +] [dependencies] anyhow = "1.0" diff --git a/crates/varcon-core/Cargo.toml b/crates/varcon-core/Cargo.toml index 9637a124..553de4b8 100644 --- a/crates/varcon-core/Cargo.toml +++ b/crates/varcon-core/Cargo.toml @@ -1,16 +1,20 @@ [package] name = "varcon-core" version = "2.1.1" -authors = ["Ed Page "] description = "Varcon-relevant data structures" +authors = ["Ed Page "] +license = "MIT OR Apache-2.0" repository = "https://github.com/crate-ci/typos" readme = "../../README.md" categories = ["text-processing"] -license = "MIT OR Apache-2.0" edition = "2018" - -[badges] -codecov = { repository = "crate-ci/typos" } +include = [ + "src/**/*", + "Cargo.toml", + "LICENSE*", + "README.md", + "examples/**/*" +] [features] default = [] diff --git a/crates/varcon/Cargo.toml b/crates/varcon/Cargo.toml index cb1c7b6d..83ee7ccc 100644 --- a/crates/varcon/Cargo.toml +++ b/crates/varcon/Cargo.toml @@ -1,17 +1,21 @@ [package] name = "varcon" version = "0.5.1" -authors = ["Ed Page "] description = "Source Code Spelling Correction" +authors = ["Ed Page "] +license = "MIT OR Apache-2.0" repository = "https://github.com/crate-ci/typos" readme = "../../README.md" categories = ["development-tools", "text-processing"] keywords = ["development", "spelling"] -license = "MIT OR Apache-2.0" edition = "2018" - -[badges] -codecov = { repository = "crate-ci/typos" } +include = [ + "src/**/*", + "Cargo.toml", + "LICENSE*", + "README.md", + "examples/**/*" +] [features] default = ["all"] diff --git a/crates/varcon/codegen/Cargo.toml b/crates/varcon/codegen/Cargo.toml index f1e57f2d..a0df322f 100644 --- a/crates/varcon/codegen/Cargo.toml +++ b/crates/varcon/codegen/Cargo.toml @@ -10,10 +10,6 @@ license = "MIT" edition = "2018" publish = false -[badges] -azure-devops = { project = "crate-ci", pipeline = "typos" } -codecov = { repository = "crate-ci/typos" } - [package.metadata.release] disable-release = true diff --git a/crates/wikipedia-dict/Cargo.toml b/crates/wikipedia-dict/Cargo.toml index 4a7978fc..988d1d4d 100644 --- a/crates/wikipedia-dict/Cargo.toml +++ b/crates/wikipedia-dict/Cargo.toml @@ -1,18 +1,22 @@ [package] name = "wikipedia-dict" version = "0.4.0" -authors = ["Ed Page "] description = "Source Code Spelling Correction" +authors = ["Ed Page "] +license = "CC-BY-SA-3.0" repository = "https://github.com/crate-ci/typos" readme = "README.md" categories = ["development-tools", "text-processing"] keywords = ["development", "spelling"] -license = "CC-BY-SA-3.0" edition = "2018" publish = false - -[badges] -codecov = { repository = "crate-ci/typos" } +include = [ + "src/**/*", + "Cargo.toml", + "LICENSE*", + "README.md", + "examples/**/*" +] [package.metadata.release] disable-release = true diff --git a/crates/wikipedia-dict/codegen/Cargo.toml b/crates/wikipedia-dict/codegen/Cargo.toml index d7713f0a..827992e6 100644 --- a/crates/wikipedia-dict/codegen/Cargo.toml +++ b/crates/wikipedia-dict/codegen/Cargo.toml @@ -10,10 +10,6 @@ license = "MIT" edition = "2018" publish = false -[badges] -azure-devops = { project = "crate-ci", pipeline = "typos" } -codecov = { repository = "crate-ci/typos" } - [package.metadata.release] disable-release = true diff --git a/release.toml b/release.toml index 9726a398..1f7506b0 100644 --- a/release.toml +++ b/release.toml @@ -1,5 +1,5 @@ pre-release-commit-message = "chore: Release" -no-dev-version = true +dev-version = false tag-message = "{{tag_name}}" tag-name = "{{prefix}}v{{version}}" consolidate-commits = true