From 5e3451a6f20d69a5481edb01f219c5b0cdf912e0 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Wed, 26 Jul 2023 21:02:39 -0700 Subject: [PATCH] Quiet cargo warnings --- packages/fullstack/examples/axum-auth/Cargo.toml | 7 ------- packages/fullstack/examples/axum-hello-world/Cargo.toml | 7 ------- packages/router/Cargo.toml | 2 +- 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/packages/fullstack/examples/axum-auth/Cargo.toml b/packages/fullstack/examples/axum-auth/Cargo.toml index 94a0c6357..8f7a647df 100644 --- a/packages/fullstack/examples/axum-auth/Cargo.toml +++ b/packages/fullstack/examples/axum-auth/Cargo.toml @@ -44,10 +44,3 @@ optional = true default = [] ssr = ["axum", "tokio", "dioxus-fullstack/axum", "tower-http", "simple_logger", "async-trait", "sqlx", "axum_session", "axum_session_auth", "http", "tower"] web = ["dioxus-web"] - -[profile.release] -lto = true -panic = "abort" -opt-level = 'z' -strip = true -codegen-units = 1 diff --git a/packages/fullstack/examples/axum-hello-world/Cargo.toml b/packages/fullstack/examples/axum-hello-world/Cargo.toml index 502d75bae..3a95f5538 100644 --- a/packages/fullstack/examples/axum-hello-world/Cargo.toml +++ b/packages/fullstack/examples/axum-hello-world/Cargo.toml @@ -24,10 +24,3 @@ reqwest = "0.11.18" default = [] ssr = ["axum", "tokio", "dioxus-fullstack/axum"] web = ["dioxus-web"] - -[profile.release] -lto = true -panic = "abort" -opt-level = 'z' -strip = true -codegen-units = 1 diff --git a/packages/router/Cargo.toml b/packages/router/Cargo.toml index ccd14dd28..29f9659c1 100644 --- a/packages/router/Cargo.toml +++ b/packages/router/Cargo.toml @@ -38,7 +38,7 @@ web = ["gloo", "web-sys", "wasm-bindgen", "gloo-utils", "js-sys"] [dev-dependencies] dioxus = { path = "../dioxus" } dioxus-ssr = { path = "../ssr" } -criterion = { verison = "0.5", features = ["async_tokio", "html_reports"] } +criterion = { version = "0.5", features = ["async_tokio", "html_reports"] } [[example]] name = "static_generation"