Skip to content

Commit

Permalink
use cargo workspace package table (#6885)
Browse files Browse the repository at this point in the history
  • Loading branch information
chippers committed May 26, 2023
1 parent 1604894 commit 7fee3d3
Show file tree
Hide file tree
Showing 8 changed files with 75 additions and 51 deletions.
9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ exclude = [
"examples/workspace",
]

[workspace.package]
authors = [ "Tauri Programme within The Commons Conservancy" ]
homepage = "https://tauri.app/"
repository = "https://github.com/tauri-apps/tauri"
categories = [ "gui", "web-programming" ]
license = "Apache-2.0 OR MIT"
edition = "2021"
rust-version = "1.65"

# default to small, optimized workspace release binaries
[profile.release]
panic = "abort"
Expand Down
16 changes: 9 additions & 7 deletions core/tauri-build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
[package]
name = "tauri-build"
version = "2.0.0-alpha.5"
authors = [ "Tauri Programme within The Commons Conservancy" ]
categories = [ "gui", "web-programming" ]
license = "Apache-2.0 OR MIT"
homepage = "https://tauri.app"
repository = "https://github.com/tauri-apps/tauri/tree/dev/core/tauri-build"
description = "build time code to pair with https://crates.io/crates/tauri"
edition = "2021"
rust-version = "1.65"
exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md"

# workspace defined package items
authors = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
categories = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
rust-version = { workspace = true }

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [ "--cfg", "doc_cfg" ]
Expand Down
16 changes: 9 additions & 7 deletions core/tauri-codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
[package]
name = "tauri-codegen"
version = "2.0.0-alpha.5"
authors = [ "Tauri Programme within The Commons Conservancy" ]
categories = [ "gui", "web-programming" ]
license = "Apache-2.0 OR MIT"
homepage = "https://tauri.app"
repository = "https://github.com/tauri-apps/tauri/tree/dev/core/tauri-codegen"
description = "code generation meant to be consumed inside of `tauri` through `tauri-build` or `tauri-macros`"
edition = "2021"
rust-version = "1.65"
exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md"

# workspace defined package items
authors = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
categories = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
rust-version = { workspace = true }

[dependencies]
sha2 = "0.10"
base64 = "0.21"
Expand Down
16 changes: 9 additions & 7 deletions core/tauri-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
[package]
name = "tauri-macros"
version = "2.0.0-alpha.5"
authors = [ "Tauri Programme within The Commons Conservancy" ]
categories = [ "gui", "os", "filesystem", "web-programming" ]
license = "Apache-2.0 OR MIT"
homepage = "https://tauri.app"
repository = "https://github.com/tauri-apps/tauri"
description = "Macros for the tauri crate."
edition = "2021"
rust-version = "1.65"
exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md"

# workspace defined package items
authors = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
categories = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
rust-version = { workspace = true }

[lib]
proc-macro = true

Expand Down
16 changes: 9 additions & 7 deletions core/tauri-runtime-wry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
[package]
name = "tauri-runtime-wry"
version = "0.13.0-alpha.5"
authors = [ "Tauri Programme within The Commons Conservancy" ]
categories = [ "gui", "web-programming" ]
license = "Apache-2.0 OR MIT"
homepage = "https://tauri.app"
repository = "https://github.com/tauri-apps/tauri"
description = "Wry bindings to the Tauri runtime"
edition = "2021"
rust-version = "1.65"
exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md"

# workspace defined package items
authors = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
categories = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
rust-version = { workspace = true }

[dependencies]
wry = { version = "0.28.3", default-features = false, features = [ "file-drop", "protocol" ] }
tauri-runtime = { version = "0.13.0-alpha.5", path = "../tauri-runtime" }
Expand Down
16 changes: 9 additions & 7 deletions core/tauri-runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
[package]
name = "tauri-runtime"
version = "0.13.0-alpha.5"
authors = [ "Tauri Programme within The Commons Conservancy" ]
categories = [ "gui", "web-programming" ]
license = "Apache-2.0 OR MIT"
homepage = "https://tauri.app"
repository = "https://github.com/tauri-apps/tauri"
description = "Runtime for Tauri applications"
edition = "2021"
rust-version = "1.65"
exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md"

# workspace defined package items
authors = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
categories = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
rust-version = { workspace = true }

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [ "--cfg", "doc_cfg" ]
Expand Down
15 changes: 9 additions & 6 deletions core/tauri-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
[package]
name = "tauri-utils"
version = "2.0.0-alpha.5"
authors = [ "Tauri Programme within The Commons Conservancy" ]
license = "Apache-2.0 OR MIT"
homepage = "https://tauri.app"
repository = "https://github.com/tauri-apps/tauri"
description = "Utilities for Tauri"
edition = "2021"
rust-version = "1.65"
exclude = [ "CHANGELOG.md", "/target" ]
readme = "README.md"

# workspace defined package items
authors = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
categories = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
rust-version = { workspace = true }

[dependencies]
serde = { version = "1", features = [ "derive" ] }
serde_json = "1"
Expand Down
22 changes: 12 additions & 10 deletions core/tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
[package]
authors = [ "Tauri Programme within The Commons Conservancy" ]
categories = [ "gui", "web-programming" ]
name = "tauri"
version = "2.0.0-alpha.9"
description = "Make tiny, secure apps for all desktop platforms with Tauri"
edition = "2021"
rust-version = "1.65"
exclude = [ "/test", "/.scripts", "CHANGELOG.md", "/target" ]
homepage = "https://tauri.app"
license = "Apache-2.0 OR MIT"
name = "tauri"
readme = "README.md"
repository = "https://github.com/tauri-apps/tauri"
version = "2.0.0-alpha.9"
links = "Tauri"

# workspace defined package items
authors = { workspace = true }
homepage = { workspace = true }
repository = { workspace = true }
categories = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
rust-version = { workspace = true }

[package.metadata.docs.rs]
no-default-features = true
features = [
Expand Down Expand Up @@ -111,7 +113,7 @@ serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"
tauri = { path = ".", default-features = false, features = [ "wry" ] }
tokio = { version = "1", features = [ "full" ] }
cargo_toml = "0.11"
cargo_toml = "0.15"
winnow = "=0.4.1"

[features]
Expand Down

0 comments on commit 7fee3d3

Please sign in to comment.