X-Git-Url: http://git.euphorik.ch/?p=recipes.git;a=blobdiff_plain;f=Cargo.toml;h=bfa745f46f26244e7551153a3113ef6aa230135f;hp=2a429cbc86a93e34cd714975cc030721c2d6b4f6;hb=HEAD;hpb=b17eb74c81f53f841a2cfe70f03eee39ec3998fd diff --git a/Cargo.toml b/Cargo.toml index 2a429cb..1686e30 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,15 +1,14 @@ -[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" -sqlite = "0.25" +[workspace] + +members = [ + "backend", + "frontend", + "common", +] + +[profile.release] +strip = true +codegen-units = 1 +lto = true +# Tell `rustc` to optimize for small code size. +# opt-level = "s"