cargo add mail

This commit is contained in:
Romulus21
2024-10-21 18:12:07 +02:00
parent ae8d8d837b
commit 6b32f3ee05
5 changed files with 7 additions and 4 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,5 @@
Todos.db
target/
site/
style/output.css
.env

4
Cargo.lock generated
View File

@@ -1320,9 +1320,9 @@ dependencies = [
[[package]]
name = "ipnet"
version = "2.10.0"
version = "2.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "187674a687eed5fe42285b40c6291f9a01517d415fad1c3cbc6a9f778af7fcd4"
checksum = "ddc24109865250148c2e0f3d25d4f0f479571723792d3802153c60922a4fb708"
[[package]]
name = "itertools"

View File

@@ -119,7 +119,7 @@ lib-features = ["hydrate"]
# Optional. Defaults to false.
lib-default-features = false
#bin-target-triple = "aarch64-unknown-linux-gnu"
bin-target-triple = "aarch64-unknown-linux-gnu"
tailwind-input-file = "input.css"
tailwind-config-file = "tailwind.config.js"

View File

@@ -7,3 +7,5 @@ CREATE TABLE IF NOT EXISTS donnees (
date_donnee datetime NOT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
CREATE INDEX grafana_index ON donnees(date_donnee, capteur, type);

View File

@@ -1,7 +1,7 @@
#[cfg(feature = "ssr")]
#[tokio::main]
async fn main() {
rust_leptos::setup::init_app(None).await;
rust_leptos::setup::init_app(Some("Cargo.toml")).await;
}
#[cfg(not(feature = "ssr"))]