From 2619b2fbbcb2daac961b09412abadb92bc8a906b Mon Sep 17 00:00:00 2001 From: Anton Hurlenko Date: Wed, 10 Jul 2024 13:11:15 +0300 Subject: [PATCH] Remove libm dependency --- .github/workflows/release.yml | 2 +- Cargo.lock | 29 ----------------------------- Cargo.toml | 4 ++-- 3 files changed, 3 insertions(+), 32 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad67451..c7f5088 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ permissions: env: BINARY: "orly" - RUST_VERSION: "1.71.1" + RUST_VERSION: "1.72.1" jobs: # The create-release job runs purely to initialize the GitHub release itself, diff --git a/Cargo.lock b/Cargo.lock index 6c43167..dfaa997 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -139,9 +139,6 @@ checksum = "b79091df18a97caea757e28cd2d5fda49c6cd4bd01ddffd7ff01ace0c0ad2c28" dependencies = [ "askama_derive", "askama_escape", - "humansize", - "num-traits", - "percent-encoding", ] [[package]] @@ -151,12 +148,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19fe8d6cb13c4714962c072ea496f3392015f0989b1a2847bb4b2d9effd71d83" dependencies = [ "askama_parser", - "basic-toml", "mime", "mime_guess", "proc-macro2", "quote", - "serde", "syn 2.0.68", ] @@ -230,15 +225,6 @@ version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" -[[package]] -name = "basic-toml" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "823388e228f614e9558c6804262db37960ec8821856535f5c3f59913140558f8" -dependencies = [ - "serde", -] - [[package]] name = "bit_field" version = "0.10.2" @@ -966,15 +952,6 @@ version = "1.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fcc0b4a115bf80b728eb8ea024ad5bd707b615bfed49e0665b6e0f86fd082d9" -[[package]] -name = "humansize" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cb51c9a029ddc91b07a787f1d86b53ccfa49b0e86688c946ebe8d3555685dd7" -dependencies = [ - "libm", -] - [[package]] name = "hyper" version = "1.4.0" @@ -1179,12 +1156,6 @@ version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" -[[package]] -name = "libm" -version = "0.2.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" - [[package]] name = "libxml" version = "0.3.3" diff --git a/Cargo.toml b/Cargo.toml index 56bfc1d..490ad1c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,14 +29,14 @@ thiserror = "1.0.61" chrono = "0.4.38" libxml = "=0.3.3" futures = "0.3.30" -askama = "0.12.1" +askama = { version = "0.12.1", default-features = false } bytes = "1.6.0" zip = "0.6.6" lazy_static = "1.5.0" clap = { version = "=4.3.12", features = ["derive"] } sanitize-filename = "0.5.0" log = "0.4.22" -fern = { version="0.6.2", features=["colored"] } +fern = { version = "0.6.2", features = ["colored"] } lightningcss = "1.0.0-alpha.57" image = "0.24.6" mime_guess = "2.0.5"