Skip to content

Commit

Permalink
build(cargo): add versioning info to cargo manifest
Browse files Browse the repository at this point in the history
The version is now inherited from the workspace Cargo.toml. Also some
links and other information needed for publishing has been added.
  • Loading branch information
justinrubek committed Oct 6, 2023
1 parent 3359c62 commit f4fc942
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
members = ["crates/*"]
resolver = "2"

[workspace.package]
edition = "2021"
homepage = "https://github.com/justinrubek/thoenix"
license = "MIT"
repository = "https://github.com/justinrubek/thoenix"
version = "0.1.0"

[profile.release]
# opt-level = 2 # fast and small wasm

4 changes: 2 additions & 2 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "thoenix"
version = "0.1.0"
edition = "2021"
version = { workspace = true }
edition = { workspace = true }

[dependencies]
anyhow = "1.0.68"
Expand Down

0 comments on commit f4fc942

Please sign in to comment.