feat: restructure project, implement askama templating #26

Merged
theo merged 21 commits from restructure-project into main 2024-07-26 14:42:03 +02:00
4 changed files with 18 additions and 18 deletions
Showing only changes of commit d8f3c276c0 - Show all commits

24
Cargo.lock generated
View File

@ -2161,6 +2161,18 @@ version = "2.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
[[package]]
name = "pharmacie-desktop"
version = "0.1.0"
dependencies = [
"axum",
"clego",
"tauri",
"tauri-build",
"tokio",
"tower",
]
[[package]] [[package]]
name = "phf" name = "phf"
version = "0.8.0" version = "0.8.0"
@ -3245,18 +3257,6 @@ dependencies = [
"walkdir", "walkdir",
] ]
[[package]]
name = "tauri-clego"
version = "0.1.0"
dependencies = [
"axum",
"clego",
"tauri",
"tauri-build",
"tokio",
"tower",
]
[[package]] [[package]]
name = "tauri-codegen" name = "tauri-codegen"
version = "2.0.0-beta.19" version = "2.0.0-beta.19"

View File

@ -1,12 +1,12 @@
[package] [package]
name = "tauri-clego" name = "pharmacie-desktop"
version = "0.1.0" version = "0.1.0"
description = "Un logiciel de pharmacie libre et open-source." description = "Un logiciel de pharmacie libre et open-source."
authors = ["p4pillon"] authors = ["p4pillon"]
edition = "2021" edition = "2021"
[lib] [lib]
name = "clego_lib" name = "pharmacie_desktop_lib"
crate-type = ["lib", "cdylib", "staticlib"] crate-type = ["lib", "cdylib", "staticlib"]
[build-dependencies] [build-dependencies]

View File

@ -2,5 +2,5 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
fn main() { fn main() {
clego_lib::run() pharmacie_desktop_lib::run()
} }

View File

@ -1,7 +1,7 @@
{ {
"productName": "clego-clean", "productName": "Logiciel Pharma",
"version": "0.0.1", "version": "0.0.1",
"identifier": "clego.pharma.libre", "identifier": "p4pillon.pharma.desktop",
"build": { "build": {
"beforeDevCommand": { "beforeDevCommand": {
"script": "cargo run", "script": "cargo run",
@ -14,7 +14,7 @@
"withGlobalTauri": true, "withGlobalTauri": true,
"windows": [ "windows": [
{ {
"title": "clego-clean", "title": "Logiciel Pharma",
"width": 800, "width": 800,
"height": 600 "height": 600
} }