use cargo workspace package table (#6885)

This commit is contained in:
chip 2023-05-26 15:04:01 +02:00 committed by GitHub
parent 160489454d
commit 7fee3d3a2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 76 additions and 52 deletions

View File

@ -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"

View File

@ -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" ]

View File

@ -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"

View File

@ -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

View File

@ -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" }

View File

@ -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" ]

View File

@ -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"

View File

@ -1,18 +1,20 @@
[package]
authors = [ "Tauri Programme within The Commons Conservancy" ]
categories = [ "gui", "web-programming" ]
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"
description = "Make tiny, secure apps for all desktop platforms with Tauri"
exclude = [ "/test", "/.scripts", "CHANGELOG.md", "/target" ]
readme = "README.md"
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 = [
@ -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]