From eeb9f868305d99b464dbe4432a2ea33653d276d4 Mon Sep 17 00:00:00 2001 From: amtoaer Date: Mon, 1 Apr 2024 22:17:41 +0800 Subject: [PATCH] =?UTF-8?q?deps:=20=E4=BE=9D=E8=B5=96=E6=8E=92=E5=BA=8F?= =?UTF-8?q?=EF=BC=8C=E5=B9=B6=E7=A7=BB=E9=99=A4=E6=97=A0=E7=94=A8=E7=9A=84?= =?UTF-8?q?=20re-exports?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 3 --- Cargo.toml | 56 +++++++++++++++++++++++++++--------------------------- 2 files changed, 28 insertions(+), 31 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 03575e1..8f2b00e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -411,8 +411,6 @@ dependencies = [ "env_logger", "filenamify", "futures", - "futures-core", - "futures-util", "handlebars", "hex", "log", @@ -658,7 +656,6 @@ version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3cd91cf61412820176e137621345ee43b3f4423e589e7ae4e50d601d93e35ef8" dependencies = [ - "percent-encoding", "time", "version_check", ] diff --git a/Cargo.toml b/Cargo.toml index 5252b0f..93ae51b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,45 +4,45 @@ version = "2.0.0" edition = "2021" [dependencies] -serde = { version = "1.0.197", features = ["derive"] } -sea-orm = { version = "0.12", features = [ - "sqlx-sqlite", - "runtime-tokio-native-tls", - "macros", -] } -serde_json = "1.0" +anyhow = "1.0.81" +async-stream = "0.3.5" +chrono = { version = "0.4.35", features = ["serde"] } +cookie = "0.18.0" +dirs = "5.0.1" +entity = { path = "entity" } +env_logger = "0.11.3" +filenamify = "0.1.0" +futures = "0.3.30" +handlebars = "5.1.2" +hex = "0.4.3" +log = "0.4.21" +migration = { path = "migration" } +once_cell = "1.19.0" +quick-xml = { version = "0.31.0", features = ["async-tokio"] } +rand = "0.8.5" +regex = "1.10.3" reqwest = { version = "0.12.0", features = [ "json", "stream", "cookies", "gzip", ] } -filenamify = "0.1.0" -cookie = { version = "0.18.0", features = ["percent-encode"] } -tokio = { version = "1", features = ["full"] } -strum = { version = "0.26", features = ["derive"] } -async-stream = "0.3.5" -futures-core = "0.3" -futures-util = "0.3.30" rsa = { version = "0.9.6", features = ["sha2"] } -hex = "0.4.3" -rand = "0.8.5" -regex = "1.10.3" -chrono = { version = "0.4.35", features = ["serde"] } -env_logger = "0.11.3" -log = "0.4.21" -handlebars = "5.1.2" -dirs = "5.0.1" +sea-orm = { version = "0.12", features = [ + "sqlx-sqlite", + "runtime-tokio-native-tls", + "macros", +] } +serde = { version = "1.0.197", features = ["derive"] } +serde_json = "1.0" +strum = { version = "0.26", features = ["derive"] } +tokio = { version = "1", features = ["full"] } toml = "0.8.12" -futures = "0.3.30" -quick-xml = { version = "0.31.0", features = ["async-tokio"] } -once_cell = "1.19.0" -anyhow = "1.0.81" -entity = { path = "entity" } -migration = { path = "migration" } [workspace] members = [".", "entity", "migration"] [profile.release] strip = true +lto = "thin" +codegen-units = 1