treewide: standardize dependencies to use workspace references
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I81b701d5c1b3cd6855af5c36c7b460e56a6a6964
This commit is contained in:
parent
5f26fb4a61
commit
2717a59fe2
5 changed files with 44 additions and 29 deletions
BIN
Cargo.lock
generated
BIN
Cargo.lock
generated
Binary file not shown.
32
Cargo.toml
32
Cargo.toml
|
|
@ -1,25 +1,21 @@
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [
|
members = ["crates/*"]
|
||||||
"crates/pinakes-plugin-api",
|
|
||||||
"crates/pinakes-core",
|
|
||||||
"crates/pinakes-server",
|
|
||||||
"crates/pinakes-tui",
|
|
||||||
"crates/pinakes-ui",
|
|
||||||
]
|
|
||||||
resolver = "3"
|
resolver = "3"
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
edition = "2024"
|
edition = "2024" # keep in sync with .rustfmt.toml
|
||||||
version = "0.1.0"
|
version = "0.2.0-dev"
|
||||||
license = "MIT"
|
license = "EUPL-1.2"
|
||||||
readme = true
|
readme = true
|
||||||
rust-version = "1.95.0"
|
rust-version = "1.95.0" # follows nightly Rust
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
# Internal Dependencies
|
# Crate components for Pinakes.
|
||||||
pinakes-core = { path = "./crates/pinakes-core" }
|
pinakes-core = { path = "./crates/pinakes-core" }
|
||||||
pinakes-server = { path = "./crates/pinakes-server" }
|
pinakes-server = { path = "./crates/pinakes-server" }
|
||||||
pinakes-plugin-api = { path = "./crates/plugin/api" }
|
pinakes-plugin-api = { path = "./crates/pinakes-plugin-api" }
|
||||||
|
pinakes-ui = { path = "./crates/pinakes-ui" }
|
||||||
|
pinakes-tui = { path = "./crates/pinakes-tui" }
|
||||||
|
|
||||||
# Async runtime
|
# Async runtime
|
||||||
tokio = { version = "1.49.0", features = ["full"] }
|
tokio = { version = "1.49.0", features = ["full"] }
|
||||||
|
|
@ -51,7 +47,7 @@ tracing-subscriber = { version = "0.3.22", features = ["env-filter", "json"] }
|
||||||
blake3 = "1.8.3"
|
blake3 = "1.8.3"
|
||||||
|
|
||||||
# Metadata extraction
|
# Metadata extraction
|
||||||
lofty = "0.22.4"
|
lofty = "0.23.1"
|
||||||
lopdf = "0.39.0"
|
lopdf = "0.39.0"
|
||||||
epub = "2.1.5"
|
epub = "2.1.5"
|
||||||
matroska = "0.30.0"
|
matroska = "0.30.0"
|
||||||
|
|
@ -84,6 +80,7 @@ winnow = "0.7.14"
|
||||||
|
|
||||||
# HTTP server
|
# HTTP server
|
||||||
axum = { version = "0.8.8", features = ["macros", "multipart"] }
|
axum = { version = "0.8.8", features = ["macros", "multipart"] }
|
||||||
|
axum-server = { version = "0.8.0" }
|
||||||
tower = "0.5.3"
|
tower = "0.5.3"
|
||||||
tower-http = { version = "0.6.8", features = ["cors", "trace", "set-header"] }
|
tower-http = { version = "0.6.8", features = ["cors", "trace", "set-header"] }
|
||||||
governor = "0.10.4"
|
governor = "0.10.4"
|
||||||
|
|
@ -127,6 +124,13 @@ mime_guess = "2.0.5"
|
||||||
regex = "1.12.3"
|
regex = "1.12.3"
|
||||||
dioxus-free-icons = { version = "0.10.0", features = ["font-awesome-solid"] }
|
dioxus-free-icons = { version = "0.10.0", features = ["font-awesome-solid"] }
|
||||||
rfd = "0.17.2"
|
rfd = "0.17.2"
|
||||||
|
gloo-timers = { version = "0.3.0", features = ["futures"] }
|
||||||
|
rand = "0.10.0"
|
||||||
|
moka = { version = "0.12.13", features = ["future"] }
|
||||||
|
urlencoding = "2.1.3"
|
||||||
|
image_hasher = "3.1.0"
|
||||||
|
percent-encoding = "2.3.2"
|
||||||
|
http = "1.4.0"
|
||||||
|
|
||||||
# WASM runtime for plugins
|
# WASM runtime for plugins
|
||||||
wasmtime = { version = "41.0.3", features = ["component-model"] }
|
wasmtime = { version = "41.0.3", features = ["component-model"] }
|
||||||
|
|
|
||||||
|
|
@ -38,13 +38,13 @@ tokio-util = { workspace = true }
|
||||||
reqwest = { workspace = true }
|
reqwest = { workspace = true }
|
||||||
argon2 = { workspace = true }
|
argon2 = { workspace = true }
|
||||||
regex = { workspace = true }
|
regex = { workspace = true }
|
||||||
moka = { version = "0.12", features = ["future"] }
|
moka = { workspace = true }
|
||||||
urlencoding = "2.1"
|
urlencoding = { workspace = true }
|
||||||
image_hasher = "2.0"
|
image_hasher = { workspace = true }
|
||||||
|
|
||||||
# Plugin system
|
# Plugin system
|
||||||
pinakes-plugin-api = { path = "../pinakes-plugin-api" }
|
pinakes-plugin-api.workspace = true
|
||||||
wasmtime = { workspace = true }
|
wasmtime.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tempfile = "3"
|
tempfile = "3.25.0"
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,9 @@ version.workspace = true
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
pinakes-core = { path = "../pinakes-core" }
|
pinakes-core = { workspace = true }
|
||||||
pinakes-plugin-api = { path = "../pinakes-plugin-api" }
|
pinakes-plugin-api = { workspace = true }
|
||||||
|
|
||||||
tokio = { workspace = true }
|
tokio = { workspace = true }
|
||||||
serde = { workspace = true }
|
serde = { workspace = true }
|
||||||
serde_json = { workspace = true }
|
serde_json = { workspace = true }
|
||||||
|
|
@ -19,18 +20,18 @@ clap = { workspace = true }
|
||||||
tracing = { workspace = true }
|
tracing = { workspace = true }
|
||||||
tracing-subscriber = { workspace = true }
|
tracing-subscriber = { workspace = true }
|
||||||
axum = { workspace = true }
|
axum = { workspace = true }
|
||||||
axum-server = { version = "0.7", features = ["tls-rustls"] }
|
axum-server = { workspace = true, features = ["tls-rustls"] }
|
||||||
tower = { workspace = true }
|
tower = { workspace = true }
|
||||||
tower-http = { workspace = true }
|
tower-http = { workspace = true }
|
||||||
governor = { workspace = true }
|
governor = { workspace = true }
|
||||||
tower_governor = { workspace = true }
|
tower_governor = { workspace = true }
|
||||||
tokio-util = { version = "0.7", features = ["io"] }
|
tokio-util = { workspace = true, features = ["io"] }
|
||||||
argon2 = { workspace = true }
|
argon2 = { workspace = true }
|
||||||
blake3 = { workspace = true }
|
blake3 = { workspace = true }
|
||||||
rand = "0.9"
|
rand = { workspace = true }
|
||||||
percent-encoding = "2"
|
percent-encoding = { workspace = true }
|
||||||
http = "1.0"
|
http = { workspace = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
http-body-util = "0.1"
|
http-body-util = "0.1.3"
|
||||||
tempfile = "3"
|
tempfile = "3.25.0"
|
||||||
|
|
|
||||||
|
|
@ -23,3 +23,13 @@ gray_matter = { workspace = true }
|
||||||
regex = { workspace = true }
|
regex = { workspace = true }
|
||||||
ammonia = { workspace = true }
|
ammonia = { workspace = true }
|
||||||
dioxus-free-icons = { workspace = true }
|
dioxus-free-icons = { workspace = true }
|
||||||
|
gloo-timers = { workspace = true }
|
||||||
|
rand = { workspace = true }
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = ["web"]
|
||||||
|
web = ["dioxus/web"]
|
||||||
|
desktop = ["dioxus/desktop"]
|
||||||
|
mobile = ["dioxus/mobile"]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue