Update all the dependencies.

This commit is contained in:
Bauke 2024-01-18 14:21:43 +01:00
parent 0634e86b3d
commit 6b6c48c476
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
4 changed files with 615 additions and 436 deletions

1005
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -19,22 +19,22 @@ workspace = true
[dependencies]
color-eyre = "0.6.2"
globset = "0.4.9"
globset = "0.4.14"
lazy_static = "1.4.0"
owo-colors = "3.5.0"
owo-colors = "4.0.0"
subprocess = "0.2.9"
supports-color = "1.3.0"
tera = "1.17.1"
supports-color = "2.1.0"
tera = "1.19.1"
[dependencies.clap]
features = ["derive"]
version = "4.0.18"
version = "4.4.18"
[dependencies.hooked-config]
path = "../hooked-config"
version = "0.1.0"
[dev-dependencies]
assert_cmd = "2.0.5"
insta = "1.21.0"
test-case = "2.2.2"
assert_cmd = "2.0.13"
insta = "1.34.0"
test-case = "3.3.1"

View File

@ -18,12 +18,12 @@ workspace = true
[dependencies]
color-eyre = "0.6.2"
toml = "0.5.9"
toml = "0.8.8"
[dependencies.serde]
features = ["derive"]
version = "1.0.147"
version = "1.0.195"
[dev-dependencies]
insta = "1.21.0"
test-case = "2.2.2"
insta = "1.34.0"
test-case = "3.3.1"

View File

@ -3,20 +3,20 @@ source: hooked-config/tests/serialize.rs
expression: to_string_pretty(&config).unwrap()
---
[general]
config = 'Hooked.toml'
directory = 'hooks'
noise_level = 'standard'
config = "Hooked.toml"
directory = "hooks"
noise_level = "standard"
[[pre_commit]]
name = 'Command Test'
on_failure = 'continue'
staged = ['*.txt']
command = 'exit 0'
name = "Command Test"
on_failure = "continue"
staged = ["*.txt"]
command = "exit 0"
[[pre_commit]]
name = 'Script Test'
noise_level = 'loud'
on_failure = 'stop'
name = "Script Test"
noise_level = "loud"
on_failure = "stop"
staged = []
script = 'test.sh'
script = "test.sh"