Skip to content

Commit

Permalink
chore: Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Feb 1, 2023
1 parent 9f08f2e commit adce192
Show file tree
Hide file tree
Showing 11 changed files with 59 additions and 39 deletions.
67 changes: 44 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ 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.1.0", features = ["derive"] }
clap = { version = "4.1.4", features = ["derive"] }
clap-verbosity-flag = "2.0"
ignore = "0.4"
serde = { version = "1.0", features = ["derive"] }
toml_edit = { version = "0.16.2", features = ["easy"] }
toml = "0.7.0"
log = "0.4"
env_logger = { version = "0.10", default-features = false, features = ["auto-color"] }
atty = "0.2.14"
Expand All @@ -83,23 +83,23 @@ difflib = "0.4"
proc-exit = "2.0"
human-panic = "1.0.3"
content_inspector = "0.2.4"
unicode-segmentation = "1.10.0"
unicode-segmentation = "1.10.1"
derive_more = "0.99.17"
derive_setters = "0.1"
itertools = "0.10"
serde_json = "1.0"
encoding = "0.2"
kstring = { version = "2.0.0", features = ["serde"] }
typed-arena = "2.0.1"
typed-arena = "2.0.2"
maplit = "1.0"
unicode-width = "0.1.10"
unic-emoji-char = "0.9.0"
thread_local = "1.1.4"
globset = "0.4.9"
globset = "0.4.10"

[dev-dependencies]
assert_fs = "1.0"
trycmd = "0.14.6"
trycmd = "0.14.11"
criterion = "0.4"

[profile.dev]
Expand Down
2 changes: 1 addition & 1 deletion crates/codespell-dict/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ unicase = "2.6"
itertools = "0.10"
codegenrs = "2.0"
dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] }
snapbox = { version = "0.4.3", features = ["path"] }
snapbox = { version = "0.4.4", features = ["path"] }
2 changes: 1 addition & 1 deletion crates/misspell-dict/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ itertools = "0.10"
codegenrs = "2.0"
regex = "1"
dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] }
snapbox = { version = "0.4.3", features = ["path"] }
snapbox = { version = "0.4.4", features = ["path"] }
2 changes: 1 addition & 1 deletion crates/typos-dict/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ unicase = "2.6"
codegenrs = "2.0"
dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] }
varcon = { version = "^0.6", path = "../varcon" }
snapbox = { version = "0.4.3", features = ["path"] }
snapbox = { version = "0.4.4", features = ["path"] }
2 changes: 1 addition & 1 deletion crates/typos-vars/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ unicase = "2.6"
codegenrs = "2.0"
itertools = "0.10"
dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] }
snapbox = { version = "0.4.3", features = ["path"] }
snapbox = { version = "0.4.4", features = ["path"] }
2 changes: 1 addition & 1 deletion crates/typos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ once_cell = "1.17.0"
serde = { version = "1.0", features = ["derive"] }
simdutf8 = "0.1.4"
itertools = "0.10"
unicode-segmentation = "1.10.0"
unicode-segmentation = "1.10.1"
bstr = "1.1"
2 changes: 1 addition & 1 deletion crates/varcon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ varcon-core = { version = "^2.2", path = "../varcon-core" }
[dev-dependencies]
codegenrs = "2.0"
varcon-core = { version = "^2.2", path = "../varcon-core", features = ["parser"] }
snapbox = { version = "0.4.3", features = ["path"] }
snapbox = { version = "0.4.4", features = ["path"] }
2 changes: 1 addition & 1 deletion crates/wikipedia-dict/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ unicase = "2.6"
itertools = "0.10"
codegenrs = "2.0"
dictgen = { version = "^0.2", path = "../dictgen", features = ["codegen"] }
snapbox = { version = "0.4.3", features = ["path"] }
snapbox = { version = "0.4.4", features = ["path"] }
3 changes: 1 addition & 2 deletions src/bin/typos-cli/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ fn run_dump_config(args: &args::Args, output_path: &std::path::Path) -> proc_exi

let mut defaulted_config = typos_cli::config::Config::from_defaults();
defaulted_config.update(&config);
let output =
toml_edit::easy::to_string_pretty(&defaulted_config).with_code(proc_exit::Code::FAILURE)?;
let output = toml::to_string_pretty(&defaulted_config).with_code(proc_exit::Code::FAILURE)?;
if output_path == std::path::Path::new("-") {
std::io::stdout()
.write_all(output.as_bytes())
Expand Down
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl Config {
}

pub fn from_toml(data: &str) -> Result<Self, anyhow::Error> {
let content = toml_edit::easy::from_str(data)?;
let content = toml::from_str(data)?;
Ok(content)
}

Expand Down

0 comments on commit adce192

Please sign in to comment.