chore: update toolchain

This commit is contained in:
Kristofers Solo 2025-01-25 14:45:13 +02:00
parent f09238d21d
commit dfd6374ba0
6 changed files with 984 additions and 53 deletions

973
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -22,10 +22,26 @@ tracing-subscriber = { version = "0.3", features = ["registry", "env-filter"] }
tracing-bunyan-formatter = { version = "0.3", default-features = false } tracing-bunyan-formatter = { version = "0.3", default-features = false }
tracing-log = "0.2" tracing-log = "0.2"
thiserror = "2.0" thiserror = "2.0"
tokio = { version = "1.43", features = ["full"] } tokio = { version = "1.43", features = [
"rt",
"macros",
"tracing",
"rt-multi-thread",
] }
tower = { version = "0.5", features = ["full"] } tower = { version = "0.5", features = ["full"] }
tower-http = { version = "0.6", features = ["full"] } tower-http = { version = "0.6", features = ["full"] }
wasm-bindgen = "=0.2.100" wasm-bindgen = "=0.2.100"
sqlx = { version = "0.8", features = [
"runtime-tokio",
"macros",
"sqlite-unbundled",
"chrono",
"migrate",
] }
serde = { version = "1", features = ["derive"] }
chrono = { version = "0.4", features = ["serde", "clock"] }
secrecy = { version = "0.10", features = ["serde"] }
validator = "0.20"
# See https://github.com/leptos-rs/cargo-leptos for documentation of all the parameters. # See https://github.com/leptos-rs/cargo-leptos for documentation of all the parameters.
@ -97,3 +113,15 @@ lib-features = []
# #
# Optional. Defaults to false. # Optional. Defaults to false.
lib-default-features = false lib-default-features = false
[workspace.lints.clippy]
pedantic = "warn"
nursery = "warn"
unwrap_used = "warn"
expect_used = "warn"
[workspace.package.metadata.nextest]
slow-timeout = { period = "120s", terminate-after = 3 }
[workspace.profile.dev.package.sqlx-macros]
opt-level = 3

View File

@ -19,17 +19,11 @@ tracing.workspace = true
tracing-subscriber.workspace = true tracing-subscriber.workspace = true
tracing-bunyan-formatter.workspace = true tracing-bunyan-formatter.workspace = true
tracing-log.workspace = true tracing-log.workspace = true
sqlx.workspace = true
serde.workspace = true
chrono.workspace = true
[features] [features]
default = [] default = []
hydrate = ["leptos/hydrate"] hydrate = ["leptos/hydrate"]
ssr = ["leptos/ssr", "leptos_meta/ssr", "leptos_router/ssr", "dep:leptos_axum"] ssr = ["leptos/ssr", "leptos_meta/ssr", "leptos_router/ssr", "dep:leptos_axum"]
[lints.clippy]
pedantic = "warn"
nursery = "warn"
unwrap_used = "warn"
expect_used = "warn"
[package.metadata.nextest]
slow-timeout = { period = "120s", terminate-after = 3 }

View File

@ -14,12 +14,3 @@ leptos = { workspace = true, features = ["hydrate"] }
tracing.workspace = true tracing.workspace = true
wasm-bindgen.workspace = true wasm-bindgen.workspace = true
[lints.clippy]
pedantic = "warn"
nursery = "warn"
unwrap_used = "warn"
expect_used = "warn"
[package.metadata.nextest]
slow-timeout = { period = "120s", terminate-after = 3 }

View File

@ -1,3 +1,4 @@
[toolchain] [toolchain]
channel = "nightly" channel = "nightly"
components = ["rustfmt", "clippy", "rust-analyzer"]
targets = ["wasm32-unknown-unknown"]

View File

@ -15,12 +15,4 @@ tokio.workspace = true
tower.workspace = true tower.workspace = true
tower-http.workspace = true tower-http.workspace = true
tracing.workspace = true tracing.workspace = true
sqlx.workspace = true
[lints.clippy]
pedantic = "warn"
nursery = "warn"
unwrap_used = "warn"
expect_used = "warn"
[package.metadata.nextest]
slow-timeout = { period = "120s", terminate-after = 3 }