chore: Switch to workspace inheritance

This commit is contained in:
Ed Page 2022-11-01 14:20:38 -05:00
parent 1cd8a74031
commit 87a02e2a2a
10 changed files with 60 additions and 116 deletions

View file

@ -2,17 +2,11 @@
members = [ members = [
"crates/*", "crates/*",
] ]
resolver = "2"
[package] [workspace.package]
name = "typos-cli"
version = "1.12.12"
description = "Source Code Spelling Correction"
authors = ["Ed Page <eopage@gmail.com>"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
repository = "https://github.com/crate-ci/typos" repository = "https://github.com/crate-ci/typos"
readme = "README.md"
categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"]
edition = "2021" edition = "2021"
rust-version = "1.64.0" # MSRV rust-version = "1.64.0" # MSRV
include = [ include = [
@ -25,6 +19,19 @@ include = [
"examples/**/*" "examples/**/*"
] ]
[package]
name = "typos-cli"
version = "1.12.12"
description = "Source Code Spelling Correction"
readme = "README.md"
categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"]
license.workspace = true
repository.workspace = true
edition.workspace = true
rust-version.workspace = true
include.workspace = true
[package.metadata.docs.rs] [package.metadata.docs.rs]
no-default-features = true no-default-features = true

View file

@ -1,23 +1,16 @@
[package] [package]
name = "codespell-dict" name = "codespell-dict"
version = "0.4.0" version = "0.4.0"
authors = ["Ed Page <eopage@gmail.com>"]
description = "Source Code Spelling Correction" description = "Source Code Spelling Correction"
repository = "https://github.com/crate-ci/typos"
readme = "README.md" readme = "README.md"
categories = ["development-tools", "text-processing"] categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"] keywords = ["development", "spelling"]
license = "CC-BY-SA-3.0"
edition = "2021"
rust-version = "1.64.0" # MSRV
publish = false publish = false
include = [ license = "CC-BY-SA-3.0"
"src/**/*", repository.workspace = true
"Cargo.toml", edition.workspace = true
"LICENSE*", rust-version.workspace = true
"README.md", include.workspace = true
"examples/**/*"
]
[package.metadata.release] [package.metadata.release]
release = false release = false

View file

@ -2,19 +2,13 @@
name = "dictgen" name = "dictgen"
version = "0.2.4" version = "0.2.4"
description = "Compile-time case-insensitive map" description = "Compile-time case-insensitive map"
repository = "https://github.com/crate-ci/typos"
categories = ["development-tools", "text-processing"] categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling", "no_std"] keywords = ["development", "spelling", "no_std"]
license = "MIT OR Apache-2.0" license.workspace = true
edition = "2021" repository.workspace = true
rust-version = "1.64.0" # MSRV edition.workspace = true
include = [ rust-version.workspace = true
"src/**/*", include.workspace = true
"Cargo.toml",
"LICENSE*",
"README.md",
"examples/**/*"
]
[features] [features]
default = ["std"] default = ["std"]

View file

@ -1,23 +1,15 @@
[package] [package]
name = "misspell-dict" name = "misspell-dict"
version = "0.4.0" version = "0.4.0"
authors = ["Ed Page <eopage@gmail.com>"]
description = "Source Code Spelling Correction" description = "Source Code Spelling Correction"
repository = "https://github.com/crate-ci/typos"
readme = "README.md" readme = "README.md"
categories = ["development-tools", "text-processing"] categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"] keywords = ["development", "spelling"]
license = "MIT OR Apache-2.0" license.workspace = true
edition = "2021" repository.workspace = true
rust-version = "1.64.0" # MSRV edition.workspace = true
publish = false rust-version.workspace = true
include = [ include.workspace = true
"src/**/*",
"Cargo.toml",
"LICENSE*",
"README.md",
"examples/**/*"
]
[package.metadata.release] [package.metadata.release]
release = false release = false

View file

@ -2,21 +2,14 @@
name = "typos-dict" name = "typos-dict"
version = "0.9.9" version = "0.9.9"
description = "Source Code Spelling Correction" description = "Source Code Spelling Correction"
authors = ["Ed Page <eopage@gmail.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/crate-ci/typos"
readme = "../../README.md" readme = "../../README.md"
categories = ["development-tools", "text-processing"] categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"] keywords = ["development", "spelling"]
edition = "2021" license.workspace = true
rust-version = "1.64.0" # MSRV repository.workspace = true
include = [ edition.workspace = true
"src/**/*", rust-version.workspace = true
"Cargo.toml", include.workspace = true
"LICENSE*",
"README.md",
"examples/**/*"
]
[dependencies] [dependencies]
unicase = "2.6" unicase = "2.6"

View file

@ -2,21 +2,14 @@
name = "typos-vars" name = "typos-vars"
version = "0.8.6" version = "0.8.6"
description = "Source Code Spelling Correction" description = "Source Code Spelling Correction"
authors = ["Ed Page <eopage@gmail.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/crate-ci/typos"
readme = "../../README.md" readme = "../../README.md"
categories = ["development-tools", "text-processing"] categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"] keywords = ["development", "spelling"]
edition = "2021" license.workspace = true
rust-version = "1.64.0" # MSRV repository.workspace = true
include = [ edition.workspace = true
"src/**/*", rust-version.workspace = true
"Cargo.toml", include.workspace = true
"LICENSE*",
"README.md",
"examples/**/*"
]
[dependencies] [dependencies]
unicase = "2.6" unicase = "2.6"

View file

@ -2,21 +2,14 @@
name = "typos" name = "typos"
version = "0.10.5" version = "0.10.5"
description = "Source Code Spelling Correction" description = "Source Code Spelling Correction"
authors = ["Ed Page <eopage@gmail.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/crate-ci/typos"
readme = "../../README.md" readme = "../../README.md"
categories = ["development-tools", "text-processing"] categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"] keywords = ["development", "spelling"]
edition = "2021" license.workspace = true
rust-version = "1.64.0" # MSRV repository.workspace = true
include = [ edition.workspace = true
"src/**/*", rust-version.workspace = true
"Cargo.toml", include.workspace = true
"LICENSE*",
"README.md",
"examples/**/*"
]
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"

View file

@ -2,20 +2,13 @@
name = "varcon-core" name = "varcon-core"
version = "2.2.6" version = "2.2.6"
description = "Varcon-relevant data structures" description = "Varcon-relevant data structures"
authors = ["Ed Page <eopage@gmail.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/crate-ci/typos"
readme = "../../README.md" readme = "../../README.md"
categories = ["text-processing"] categories = ["text-processing"]
edition = "2021" license.workspace = true
rust-version = "1.64.0" # MSRV repository.workspace = true
include = [ edition.workspace = true
"src/**/*", rust-version.workspace = true
"Cargo.toml", include.workspace = true
"LICENSE*",
"README.md",
"examples/**/*"
]
[features] [features]
default = [] default = []

View file

@ -2,21 +2,14 @@
name = "varcon" name = "varcon"
version = "0.6.5" version = "0.6.5"
description = "Source Code Spelling Correction" description = "Source Code Spelling Correction"
authors = ["Ed Page <eopage@gmail.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/crate-ci/typos"
readme = "../../README.md" readme = "../../README.md"
categories = ["development-tools", "text-processing"] categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"] keywords = ["development", "spelling"]
edition = "2021" license.workspace = true
rust-version = "1.64.0" # MSRV repository.workspace = true
include = [ edition.workspace = true
"src/**/*", rust-version.workspace = true
"Cargo.toml", include.workspace = true
"LICENSE*",
"README.md",
"examples/**/*"
]
[features] [features]
default = ["all"] default = ["all"]

View file

@ -2,22 +2,15 @@
name = "wikipedia-dict" name = "wikipedia-dict"
version = "0.4.0" version = "0.4.0"
description = "Source Code Spelling Correction" description = "Source Code Spelling Correction"
authors = ["Ed Page <eopage@gmail.com>"]
license = "CC-BY-SA-3.0"
repository = "https://github.com/crate-ci/typos"
readme = "README.md" readme = "README.md"
categories = ["development-tools", "text-processing"] categories = ["development-tools", "text-processing"]
keywords = ["development", "spelling"] keywords = ["development", "spelling"]
edition = "2021"
rust-version = "1.64.0" # MSRV
publish = false publish = false
include = [ license = "CC-BY-SA-3.0"
"src/**/*", repository.workspace = true
"Cargo.toml", edition.workspace = true
"LICENSE*", rust-version.workspace = true
"README.md", include.workspace = true
"examples/**/*"
]
[package.metadata.release] [package.metadata.release]
release = false release = false