From 1cd8a74031e362d6b87114086776a4b0725d4175 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Tue, 1 Nov 2022 14:14:35 -0500 Subject: [PATCH 1/2] chore: Upgrade dependencies --- Cargo.lock | 145 ++++++++++++++++++++++++++-------------- Cargo.toml | 12 ++-- crates/typos/Cargo.toml | 2 +- 3 files changed, 100 insertions(+), 59 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 86cb44dc9..8b2774f0a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -202,13 +202,13 @@ dependencies = [ [[package]] name = "clap" -version = "4.0.8" +version = "4.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5840cd9093aabeabf7fd932754c435b7674520fc3ddc935c397837050f0f1e4b" +checksum = "335867764ed2de42325fafe6d18b8af74ba97ee0c590fa016f157535b42ab04b" dependencies = [ "atty", "bitflags", - "clap_derive 4.0.8", + "clap_derive 4.0.18", "clap_lex 0.3.0", "once_cell", "strsim 0.10.0", @@ -221,7 +221,7 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23e2b6c3dcdb73299f48ae05b294da14e2f560b3ed2c09e742269eb1b22af231" dependencies = [ - "clap 4.0.8", + "clap 4.0.18", "log", ] @@ -240,9 +240,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.0.8" +version = "4.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92289ffc6fb4a85d85c246ddb874c05a87a2e540fb6ad52f7ca07c8c1e1840b1" +checksum = "16a1b0f6422af32d5da0c58e2703320f379216ee70198241c84173a8c5ac28f3" dependencies = [ "heck", "proc-macro-error", @@ -310,17 +310,28 @@ checksum = "015267563b1df20adccdd00cb05257b1dfbea70a04928e9cf88ffb850c1a40af" dependencies = [ "atty", "bitflags", - "concolor-query", + "concolor-query 0.0.5", +] + +[[package]] +name = "concolor" +version = "0.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b90f9dcd9490a97db91a85ccd79e38a87e14323f0bb824659ee3274e9143ba37" +dependencies = [ + "atty", + "bitflags", + "concolor-query 0.1.0", ] [[package]] name = "concolor-clap" -version = "0.0.11" +version = "0.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95a363283eeb30dc209fca344607b1b40135bfcca5172aa90fb72d912b992bbf" +checksum = "a384cbd2fa7c6e31abf8df89a38c977780f684d61dee1e20531e8dd7c8122a8e" dependencies = [ - "clap 4.0.8", - "concolor", + "clap 4.0.18", + "concolor 0.0.9", ] [[package]] @@ -329,6 +340,12 @@ version = "0.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6417fe6fc03a8b533fd2177742eeb39a90c7233eedec7bac96d4d6b69a09449" +[[package]] +name = "concolor-query" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82a90734b3d5dcf656e7624cca6bce9c3a90ee11f900e80141a7427ccfb3d317" + [[package]] name = "content_inspector" version = "0.2.4" @@ -535,9 +552,9 @@ checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" [[package]] name = "dunce" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "453440c271cf5577fd2a40e4942540cb7d0d2f85e27c8d07dd0023c925a67541" +checksum = "0bd4b30a6560bbd9b4620f4de34c3f14f60848e58a9b7216801afcb4c7b31c3c" [[package]] name = "edit-distance" @@ -656,9 +673,9 @@ dependencies = [ [[package]] name = "filetime" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e94a7bbaa59354bc20dd75b67f23e2797b4490e9d6928203fb105c79e448c86c" +checksum = "4b9663d381d07ae25dc88dbdf27df458faa83a9b25336bcac83d5e452b5fc9d3" dependencies = [ "cfg-if", "libc", @@ -868,9 +885,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.134" +version = "0.2.137" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "329c933548736bc49fd575ee68c89e8be4d260064184389a5b77517cddd99ffb" +checksum = "fc7fcc620a3bff7cdd7a365be3376c97191aeaccc2a603e600951e452615bf89" [[package]] name = "log" @@ -975,9 +992,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.15.0" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e82dad04139b71a90c080c8463fe0dc7902db5192d939bd0950f074d014339e1" +checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860" [[package]] name = "oorandom" @@ -997,9 +1014,9 @@ dependencies = [ [[package]] name = "os_str_bytes" -version = "6.3.0" +version = "6.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ff7415e9ae3fff1225851df9e0d9e4e5479f947619774677a63572e55e80eff" +checksum = "3baf96e39c5359d2eb0dd6ccb42c62b91d9678aa68160d261b9e0ccbf9e9dea9" [[package]] name = "os_type" @@ -1151,9 +1168,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.46" +version = "1.0.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94e2ef8dbfc347b10c094890f778ee2e36ca9bb4262e86dc99cd217e35f3470b" +checksum = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725" dependencies = [ "unicode-ident", ] @@ -1291,18 +1308,18 @@ checksum = "e25dfac463d778e353db5be2449d1cce89bd6fd23c9f1ea21310ce6e5a1b29c4" [[package]] name = "serde" -version = "1.0.145" +version = "1.0.147" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "728eb6351430bccb993660dfffc5a72f91ccc1295abaa8ce19b27ebe4f75568b" +checksum = "d193d69bae983fc11a79df82342761dfbf28a99fc8d203dca4c3c1b590948965" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.145" +version = "1.0.147" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fa1584d3d1bcacd84c277a0dfe21f5b0f6accf4a23d04d4c6d61f1af522b4c" +checksum = "4f1d362ca8fc9c3e3a7484440752472d68a6caa98f1ab81d99b5dfe517cec852" dependencies = [ "proc-macro2", "quote", @@ -1350,7 +1367,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f98a96656eecd1621c5830831b48eb6903a9f86aaeb61b9f358a9bd462414ddd" dependencies = [ - "concolor", + "concolor 0.0.8", "content_inspector", "dunce", "filetime", @@ -1390,9 +1407,9 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] name = "syn" -version = "1.0.101" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e90cde112c4b9690b8cbe810cba9ddd8bc1d7472e2cae317b69e9438c1cba7d2" +checksum = "a864042229133ada95abf3b54fdc62ef5ccabe9515b64717bcb9a1919e59445d" dependencies = [ "proc-macro2", "quote", @@ -1430,9 +1447,9 @@ checksum = "507e9898683b6c43a9aa55b64259b721b52ba226e0f3779137e50ad114a4c90b" [[package]] name = "textwrap" -version = "0.15.1" +version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "949517c0cf1bf4ee812e2e07e08ab448e3ae0d23472aee8a06c985f0c8815b16" +checksum = "b7b3e525a49ec206798b40326a44121291b530c963cfb01018f63e135bac543d" [[package]] name = "thiserror" @@ -1482,23 +1499,33 @@ dependencies = [ "serde", ] +[[package]] +name = "toml_datetime" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "808b51e57d0ef8f71115d8f3a01e7d3750d01c79cac4b3eda910f4389fdf92fd" +dependencies = [ + "serde", +] + [[package]] name = "toml_edit" -version = "0.14.4" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5376256e44f2443f8896ac012507c19a012df0fe8758b55246ae51a2279db51f" +checksum = "b1541ba70885967e662f69d31ab3aeca7b1aaecfcd58679590b893e9239c3646" dependencies = [ "combine", "indexmap", "itertools", "serde", + "toml_datetime", ] [[package]] name = "trycmd" -version = "0.13.7" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5377b33cbe8bb69d97da63e2a2266065a642a47cc9bb3d783c28279d0029fea" +checksum = "7ea164949c690a45580a50ebb8b4d5e3f907b134d26009dbe45878225ebb0374" dependencies = [ "glob", "humantime", @@ -1541,9 +1568,9 @@ dependencies = [ "assert_fs", "atty", "bstr 1.0.1", - "clap 4.0.8", + "clap 4.0.18", "clap-verbosity-flag", - "concolor", + "concolor 0.0.9", "concolor-clap", "content_inspector", "criterion", @@ -1658,9 +1685,9 @@ dependencies = [ [[package]] name = "unicode-ident" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcc811dc4066ac62f84f11307873c4850cb653bfa9b1719cee2bd2204a4bc5dd" +checksum = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3" [[package]] name = "unicode-segmentation" @@ -1846,46 +1873,60 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows-sys" -version = "0.36.1" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" +checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" dependencies = [ + "windows_aarch64_gnullvm", "windows_aarch64_msvc", "windows_i686_gnu", "windows_i686_msvc", "windows_x86_64_gnu", + "windows_x86_64_gnullvm", "windows_x86_64_msvc", ] +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d2aa71f6f0cbe00ae5167d90ef3cfe66527d6f613ca78ac8024c3ccab9a19e" + [[package]] name = "windows_aarch64_msvc" -version = "0.36.1" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" +checksum = "dd0f252f5a35cac83d6311b2e795981f5ee6e67eb1f9a7f64eb4500fbc4dcdb4" [[package]] name = "windows_i686_gnu" -version = "0.36.1" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" +checksum = "fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7" [[package]] name = "windows_i686_msvc" -version = "0.36.1" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" +checksum = "84c12f65daa39dd2babe6e442988fc329d6243fdce47d7d2d155b8d874862246" [[package]] name = "windows_x86_64_gnu" -version = "0.36.1" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" +checksum = "09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028" [[package]] name = "windows_x86_64_msvc" -version = "0.36.1" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" +checksum = "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5" [[package]] name = "yansi" diff --git a/Cargo.toml b/Cargo.toml index 1a6f4eb53..41ed4d4ae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,19 +58,19 @@ typos-dict = { version = "^0.9", path = "crates/typos-dict", optional = true } typos-vars = { version = "^0.8", path = "crates/typos-vars", optional = true } unicase = "2.6" anyhow = "1.0" -clap = { version = "4.0.8", features = ["derive"] } +clap = { version = "4.0.18", features = ["derive"] } clap-verbosity-flag = "2.0" ignore = "0.4" serde = { version = "1.0", features = ["derive"] } -toml_edit = { version = "0.14.4", features = ["easy"] } +toml_edit = { version = "0.15.0", features = ["easy"] } log = "0.4" env_logger = { version = "0.9", default-features = false, features = ["termcolor"] } atty = "0.2.14" yansi = "0.5.1" -concolor = { version = "0.0.8" } -concolor-clap = { version = "0.0.11", features = ["api_unstable"] } +concolor = { version = "0.0.9" } +concolor-clap = { version = "0.0.12", features = ["api_unstable"] } bstr = "1.0" -once_cell = "1.15.0" +once_cell = "1.16.0" ahash = "0.8" difflib = "0.4" proc-exit = "2.0" @@ -92,7 +92,7 @@ globset = "0.4.9" [dev-dependencies] assert_fs = "1.0" -trycmd = "0.13.7" +trycmd = "0.14.1" criterion = "0.4" [profile.dev] diff --git a/crates/typos/Cargo.toml b/crates/typos/Cargo.toml index db782237d..89df5c9f9 100644 --- a/crates/typos/Cargo.toml +++ b/crates/typos/Cargo.toml @@ -23,7 +23,7 @@ anyhow = "1.0" thiserror = "1.0" nom = "7.1" unicode-xid = "0.2.4" -once_cell = "1.15.0" +once_cell = "1.16.0" serde = { version = "1.0", features = ["derive"] } simdutf8 = "0.1.4" itertools = "0.10" From 87a02e2a2ab7df25415f6e68c4173b843e8091a9 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Tue, 1 Nov 2022 14:20:38 -0500 Subject: [PATCH 2/2] chore: Switch to workspace inheritance --- Cargo.toml | 23 +++++++++++++++-------- crates/codespell-dict/Cargo.toml | 17 +++++------------ crates/dictgen/Cargo.toml | 16 +++++----------- crates/misspell-dict/Cargo.toml | 18 +++++------------- crates/typos-dict/Cargo.toml | 17 +++++------------ crates/typos-vars/Cargo.toml | 17 +++++------------ crates/typos/Cargo.toml | 17 +++++------------ crates/varcon-core/Cargo.toml | 17 +++++------------ crates/varcon/Cargo.toml | 17 +++++------------ crates/wikipedia-dict/Cargo.toml | 17 +++++------------ 10 files changed, 60 insertions(+), 116 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 41ed4d4ae..3bafca89f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,17 +2,11 @@ members = [ "crates/*", ] +resolver = "2" -[package] -name = "typos-cli" -version = "1.12.12" -description = "Source Code Spelling Correction" -authors = ["Ed Page "] +[workspace.package] license = "MIT OR Apache-2.0" repository = "https://github.com/crate-ci/typos" -readme = "README.md" -categories = ["development-tools", "text-processing"] -keywords = ["development", "spelling"] edition = "2021" rust-version = "1.64.0" # MSRV include = [ @@ -25,6 +19,19 @@ include = [ "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] no-default-features = true diff --git a/crates/codespell-dict/Cargo.toml b/crates/codespell-dict/Cargo.toml index 5a73a8a70..1373835ba 100644 --- a/crates/codespell-dict/Cargo.toml +++ b/crates/codespell-dict/Cargo.toml @@ -1,23 +1,16 @@ [package] name = "codespell-dict" version = "0.4.0" -authors = ["Ed Page "] description = "Source Code Spelling Correction" -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 = "2021" -rust-version = "1.64.0" # MSRV publish = false -include = [ - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "examples/**/*" -] +license = "CC-BY-SA-3.0" +repository.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [package.metadata.release] release = false diff --git a/crates/dictgen/Cargo.toml b/crates/dictgen/Cargo.toml index fe697284e..10d2c40bb 100644 --- a/crates/dictgen/Cargo.toml +++ b/crates/dictgen/Cargo.toml @@ -2,19 +2,13 @@ name = "dictgen" version = "0.2.4" description = "Compile-time case-insensitive map" -repository = "https://github.com/crate-ci/typos" categories = ["development-tools", "text-processing"] keywords = ["development", "spelling", "no_std"] -license = "MIT OR Apache-2.0" -edition = "2021" -rust-version = "1.64.0" # MSRV -include = [ - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "examples/**/*" -] +license.workspace = true +repository.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [features] default = ["std"] diff --git a/crates/misspell-dict/Cargo.toml b/crates/misspell-dict/Cargo.toml index ad22338bd..f39262b8d 100644 --- a/crates/misspell-dict/Cargo.toml +++ b/crates/misspell-dict/Cargo.toml @@ -1,23 +1,15 @@ [package] name = "misspell-dict" version = "0.4.0" -authors = ["Ed Page "] description = "Source Code Spelling Correction" -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 = "2021" -rust-version = "1.64.0" # MSRV -publish = false -include = [ - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "examples/**/*" -] +license.workspace = true +repository.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [package.metadata.release] release = false diff --git a/crates/typos-dict/Cargo.toml b/crates/typos-dict/Cargo.toml index e1daa9d58..4f67465d8 100644 --- a/crates/typos-dict/Cargo.toml +++ b/crates/typos-dict/Cargo.toml @@ -2,21 +2,14 @@ name = "typos-dict" version = "0.9.9" 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"] -edition = "2021" -rust-version = "1.64.0" # MSRV -include = [ - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "examples/**/*" -] +license.workspace = true +repository.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [dependencies] unicase = "2.6" diff --git a/crates/typos-vars/Cargo.toml b/crates/typos-vars/Cargo.toml index 6209bc4de..339ec730d 100644 --- a/crates/typos-vars/Cargo.toml +++ b/crates/typos-vars/Cargo.toml @@ -2,21 +2,14 @@ name = "typos-vars" version = "0.8.6" 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"] -edition = "2021" -rust-version = "1.64.0" # MSRV -include = [ - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "examples/**/*" -] +license.workspace = true +repository.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [dependencies] unicase = "2.6" diff --git a/crates/typos/Cargo.toml b/crates/typos/Cargo.toml index 89df5c9f9..1604754c1 100644 --- a/crates/typos/Cargo.toml +++ b/crates/typos/Cargo.toml @@ -2,21 +2,14 @@ name = "typos" version = "0.10.5" 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"] -edition = "2021" -rust-version = "1.64.0" # MSRV -include = [ - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "examples/**/*" -] +license.workspace = true +repository.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [dependencies] anyhow = "1.0" diff --git a/crates/varcon-core/Cargo.toml b/crates/varcon-core/Cargo.toml index 0d2a23551..9778f10c9 100644 --- a/crates/varcon-core/Cargo.toml +++ b/crates/varcon-core/Cargo.toml @@ -2,20 +2,13 @@ name = "varcon-core" version = "2.2.6" 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"] -edition = "2021" -rust-version = "1.64.0" # MSRV -include = [ - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "examples/**/*" -] +license.workspace = true +repository.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [features] default = [] diff --git a/crates/varcon/Cargo.toml b/crates/varcon/Cargo.toml index 459ed5aa0..71dece2ae 100644 --- a/crates/varcon/Cargo.toml +++ b/crates/varcon/Cargo.toml @@ -2,21 +2,14 @@ name = "varcon" version = "0.6.5" 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"] -edition = "2021" -rust-version = "1.64.0" # MSRV -include = [ - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "examples/**/*" -] +license.workspace = true +repository.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [features] default = ["all"] diff --git a/crates/wikipedia-dict/Cargo.toml b/crates/wikipedia-dict/Cargo.toml index 351c8d326..37add1f9f 100644 --- a/crates/wikipedia-dict/Cargo.toml +++ b/crates/wikipedia-dict/Cargo.toml @@ -2,22 +2,15 @@ name = "wikipedia-dict" version = "0.4.0" 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"] -edition = "2021" -rust-version = "1.64.0" # MSRV publish = false -include = [ - "src/**/*", - "Cargo.toml", - "LICENSE*", - "README.md", - "examples/**/*" -] +license = "CC-BY-SA-3.0" +repository.workspace = true +edition.workspace = true +rust-version.workspace = true +include.workspace = true [package.metadata.release] release = false