diff --git a/.woodpecker.yml b/.woodpecker.yml index ce6ff0e..1b79f4e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -40,6 +40,13 @@ steps: - IGNORED=$(git ls-files --cached -i --exclude-standard) - if [[ "$IGNORED" ]]; then echo "Ignored files present:\n$IGNORED\n"; exit 1; fi + cargo_shear: + image: *rust_image + commands: + - *install_binstall + - cargo binstall -y cargo-shear + - cargo shear + check_diesel_schema: image: willsquire/diesel-cli environment: diff --git a/Cargo.lock b/Cargo.lock index cace0b0..5f0b68e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -585,16 +585,6 @@ dependencies = [ "wasm-bindgen", ] -[[package]] -name = "console_log" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be8aed40e4edbf4d3b4431ab260b63fdc40f5780a4766824329ea0f1eefe3c0f" -dependencies = [ - "log", - "web-sys", -] - [[package]] name = "const-oid" version = "0.9.6" @@ -1792,7 +1782,6 @@ dependencies = [ "chrono", "config", "console_error_panic_hook", - "console_log", "diesel", "diesel-derive-newtype", "diesel_migrations", @@ -1802,7 +1791,6 @@ dependencies = [ "env_logger", "futures", "hex", - "include_dir", "jsonwebtoken", "katex", "leptos", @@ -1863,25 +1851,6 @@ dependencies = [ "unicode-normalization", ] -[[package]] -name = "include_dir" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "923d117408f1e49d914f1a379a309cffe4f18c05cf4e3d12e613a15fc81bd0dd" -dependencies = [ - "include_dir_macros", -] - -[[package]] -name = "include_dir_macros" -version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cab85a7ed0bd5f0e76d93846e0147172bed2e2d3f859bcc33a8d9699cad1a75" -dependencies = [ - "proc-macro2", - "quote", -] - [[package]] name = "indexmap" version = "2.6.0" diff --git a/Cargo.toml b/Cargo.toml index 60621e4..c6c468e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -93,7 +93,6 @@ tracing = "0.1.40" once_cell = "1.20.1" wasm-bindgen = "0.2.93" console_error_panic_hook = "0.1.7" -console_log = "1.0.0" time = "0.3.36" tower = "0.5.1" markdown-it = "0.6.1" @@ -103,7 +102,6 @@ doku = "0.21.1" smart-default = "0.7.1" tower-layer = "0.3.3" katex = { version = "0.4", default-features = false } -include_dir = "0.7.4" markdown-it-block-spoiler = "1.0.0" markdown-it-heading-anchors = "0.3.0" markdown-it-footnote = "0.2.0"