From a8ae8a5c26a5ed47aba6b8d9db825bc1cb665ae2 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 8 Nov 2021 10:11:02 -0600 Subject: [PATCH] chore: Update boiletplate --- .github/workflows/ci.yml | 4 ++++ .gitignore | 1 - Cargo.toml | 11 +++++++---- crates/codespell-dict/Cargo.toml | 10 +++++++--- crates/codespell-dict/codegen/Cargo.toml | 4 ---- crates/dictgen/Cargo.toml | 7 +++++++ crates/misspell-dict/Cargo.toml | 10 +++++++--- crates/misspell-dict/codegen/Cargo.toml | 4 ---- crates/typos-dict/Cargo.toml | 14 +++++++++----- crates/typos-dict/codegen/Cargo.toml | 4 ---- crates/typos-dict/verify/Cargo.toml | 4 ---- crates/typos-vars/Cargo.toml | 14 +++++++++----- crates/typos-vars/codegen/Cargo.toml | 4 ---- crates/typos/Cargo.toml | 14 +++++++++----- crates/varcon-core/Cargo.toml | 14 +++++++++----- crates/varcon/Cargo.toml | 14 +++++++++----- crates/varcon/codegen/Cargo.toml | 4 ---- crates/wikipedia-dict/Cargo.toml | 14 +++++++++----- crates/wikipedia-dict/codegen/Cargo.toml | 4 ---- release.toml | 2 +- 20 files changed, 87 insertions(+), 70 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ece17e..8709f46 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 53eaa21..ea8c4bf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ /target -**/*.rs.bk diff --git a/Cargo.toml b/Cargo.toml index d836f2d..3361efe 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 f2380bc..9bd8d0f 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 d67b7d6..d2f070a 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 750574f..2bac601 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 efd294d..e7c6556 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 a60d29b..ada127b 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 92fd369..a182f36 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 ed4a19e..01cf16a 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 5a4b18e..56899b0 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 962fa45..c921c2a 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 938e813..21a2617 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 07c6402..f92b842 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 9637a12..553de4b 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 cb1c7b6..83ee7cc 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 f1e57f2..a0df322 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 4a7978f..988d1d4 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 d7713f0..827992e 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 9726a39..1f7506b 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