Use workspace inheritance. (#701)
Consolidate package configuration where possible. This also removes the `homepage` key as it only points to the repository so isn't providing anything additional. Use workspace dependencies for the crates provided by the workspace and used within the workspace. This centralizes the version number maintenance a bit.
This commit is contained in:
+12
-12
@@ -1,26 +1,26 @@
|
||||
|
||||
[package]
|
||||
name = "cocoa"
|
||||
description = "Bindings to Cocoa for macOS"
|
||||
homepage = "https://github.com/servo/core-foundation-rs"
|
||||
repository = "https://github.com/servo/core-foundation-rs"
|
||||
version = "0.26.0"
|
||||
authors = ["The Servo Project Developers"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
edition = "2018"
|
||||
rust-version = "1.65"
|
||||
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
repository.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
default-target = "x86_64-apple-darwin"
|
||||
|
||||
[dependencies]
|
||||
block = "0.1"
|
||||
cocoa-foundation.workspace = true
|
||||
core-foundation.workspace = true
|
||||
core-graphics.workspace = true
|
||||
|
||||
bitflags = "2"
|
||||
libc = "0.2"
|
||||
cocoa-foundation = { default-features = false, path = "../cocoa-foundation", version = "0.2" }
|
||||
core-foundation = { default-features = false, path = "../core-foundation", version = "0.10" }
|
||||
core-graphics = { default-features = false, path = "../core-graphics", version = "0.24" }
|
||||
block = "0.1"
|
||||
foreign-types = "0.5"
|
||||
libc = "0.2"
|
||||
objc = "0.2.3"
|
||||
|
||||
[features]
|
||||
|
||||
Reference in New Issue
Block a user