Skip to content

Commit

Permalink
Add package metadata and profile settings to Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jdahlstrom committed Oct 16, 2023
1 parent eef3b5b commit fbf3638
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 8 deletions.
14 changes: 14 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,18 @@ members = [
resolver = "2"

[workspace.package]
edition = "2021"
version = "0.3.0"
authors = ["Johannes Dahlström <[email protected]>"]
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"
9 changes: 7 additions & 2 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 = []
Expand Down
11 changes: 7 additions & 4 deletions demos/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"] }
Expand Down
9 changes: 7 additions & 2 deletions front/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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" }
Expand Down

0 comments on commit fbf3638

Please sign in to comment.