From fbf3638ca0ec065a020dbb19bd3ac80479565dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Dahlstr=C3=B6m?= Date: Sat, 14 Oct 2023 12:37:55 +0300 Subject: [PATCH] Add package metadata and profile settings to Cargo.toml --- Cargo.toml | 14 ++++++++++++++ core/Cargo.toml | 9 +++++++-- demos/Cargo.toml | 11 +++++++---- front/Cargo.toml | 9 +++++++-- 4 files changed, 35 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8d65a88d..9705c4ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,4 +7,18 @@ members = [ resolver = "2" [workspace.package] +edition = "2021" +version = "0.3.0" +authors = ["Johannes Dahlström "] license = "MIT OR Apache-2.0" +keywords = ["graphics", "gamedev", "demoscene", "retrocomputing", "rendering"] +categories = ["graphics", "game-development", "no-std"] + +[profile.release] +opt-level = 2 +lto = "thin" +debug = 1 + +[profile.dev] +opt-level = 1 +split-debuginfo = "unpacked" diff --git a/core/Cargo.toml b/core/Cargo.toml index a9d5d392..31b0921f 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,8 +1,13 @@ [package] name = "retrofire-core" -version = "0.3.0" -edition = "2021" +description = "Core functionality of the retrofire project." + +edition.workspace = true +version.workspace = true +authors.workspace = true license.workspace = true +keywords.workspace = true +categories.workspace = true [features] std = [] diff --git a/demos/Cargo.toml b/demos/Cargo.toml index 9f5aa7ce..3565df16 100644 --- a/demos/Cargo.toml +++ b/demos/Cargo.toml @@ -1,10 +1,13 @@ [package] name = "retrofire-demos" -version = "0.3.0" -edition = "2021" -license.workspace = true +description = "Demo programs showcasing retrofire features." -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +edition.workspace = true +version.workspace = true +authors.workspace = true +license.workspace = true +keywords.workspace = true +categories.workspace = true [dependencies] re = { path = "../core", package="retrofire-core", features = ["std"] } diff --git a/front/Cargo.toml b/front/Cargo.toml index ff595ec5..c59a2657 100644 --- a/front/Cargo.toml +++ b/front/Cargo.toml @@ -1,8 +1,13 @@ [package] name = "retrofire-front" -version = "0.3.0" -edition = "2021" +description = "Frontends for writing simple programs with retrofire." + +edition.workspace = true +version.workspace = true +authors.workspace = true license.workspace = true +keywords.workspace = true +categories.workspace = true [dependencies] retrofire-core = { path = "../core" }