X-Git-Url: https://git.euphorik.ch/?p=recipes.git;a=blobdiff_plain;f=Cargo.toml;h=bfa745f46f26244e7551153a3113ef6aa230135f;hp=2fb9942e9873baccd28aeaf68a72d88fa35c9dce;hb=HEAD;hpb=b830d3cf071acfe2ba724506bfe6fa08fb0811fd diff --git a/Cargo.toml b/Cargo.toml index 2fb9942..c97d7ad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,14 +1,17 @@ -[package] -name = "recipes" -version = "1.0.0" -authors = ["Grégory Burri "] -edition = "2018" - -[dependencies] -actix-web = "1.0" -actix-files = "0.1" -askama = "0.8" # Template system -serde = { version = "1.0", features = ["derive"] } -listenfd = "0.3" # To watch file modifications and automatically launch a build process (only used in dev/debug). -ron = "0.5" # Rust object notation, to load configuration files. -itertools = "0.8" \ No newline at end of file +[workspace] + +resolver = "2" + +members = ["backend", "frontend", "common"] + +[profile.release] +codegen-units = 1 +lto = true +strip = true +debug = true # To generate complete PDB file used by flamegraph. + +[profile.release.package.frontend] +codegen-units = 1 +strip = true +# To reduce the 'wasm' file size. +opt-level = "z"