chore: updates dependencies

This commit is contained in:
itsscb 2024-08-28 20:05:20 +02:00
parent 6294021cfb
commit c612aa9bac
4 changed files with 18 additions and 15 deletions

View File

@ -4,11 +4,11 @@ version = "0.1.0"
edition = "2021"
[dependencies]
axum = "0.7.4"
axum = "0.7.5"
http = "1.1.0"
rand = "0.8.5"
shuttle-axum = "0.45.0"
shuttle-runtime = "0.45.0"
shuttle-axum = "0.47.0"
shuttle-runtime = "0.47.0"
tower-http = { version = "0.5.2", features = ["fs", "cors"] }
tracing = "0.1.40"

View File

@ -27,12 +27,19 @@
clippy
tailwindcss
cargo-shuttle
cargo-edit
openssl
pkg-config
];
shellHook = ''
export PATH=${rustToolchain}/bin:$PATH
export RUSTC_VERSION=$(rustc --version)
export RUST_SRC_PATH="${rustToolchain}/lib/rustlib/src/rust/library"
export OPENSSL_DIR="${pkgs.openssl.dev}"
export OPENSSL_LIB_DIR="${pkgs.openssl.out}/lib"
export OPENSSL_INCLUDE_DIR="${pkgs.openssl.dev}/include"
'';
packages = pkgs.lib.optionals pkgs.stdenv.isDarwin (with pkgs; [ libiconv ]);

View File

@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
web-sys = { version = "0.3.69", features = [
web-sys = { version = "0.3.70", features = [
"HtmlElement",
"HtmlInputElement",
"KeyboardEvent",
@ -17,4 +17,4 @@ wasm-bindgen-futures = "0.4.43"
wasm-bindgen = "0.2.93"
yewdux = "0.10.0"
gloo-net = "0.6.0"
serde = { version = "1.0.198", features = ["derive"] }
serde = { version = "1.0.209", features = ["derive"] }

View File

@ -1,14 +1,10 @@
module.exports = {
purge: {
mode: "all",
content: [
"./src/**/*.rs",
"./src/pages/documents.rs",
"./index.html",
"./src/**/*.html",
"./src/**/*.css",
],
},
content: [
"./src/**/*.rs",
"./index.html",
"./src/**/*.html",
"./src/**/*.css",
],
theme: {},
variants: {},
plugins: [],