-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
84b8365
commit 39a3955
Showing
9 changed files
with
107 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,16 @@ | ||
[workspace] | ||
members = ["core-foundation", "core-foundation-sys", "core-graphics-types", "core-graphics", "core-text", "cocoa", "cocoa-foundation", "io-surface"] | ||
|
||
[workspace.package] | ||
authors = ["The Servo Project Developers"] | ||
edition = "2018" | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/servo/core-foundation-rs" | ||
rust-version = "1.65" | ||
|
||
[workspace.dependencies] | ||
cocoa-foundation = { default-features = false, path = "cocoa-foundation", version = "0.2" } | ||
core-foundation = { default-features = false, path = "core-foundation", version = "0.10" } | ||
core-foundation-sys = { default-features = false, path = "core-foundation-sys", version = "0.8" } | ||
core-graphics = { default-features = false, path = "core-graphics", version = "0.24" } | ||
core-graphics-types = { default-features = false, path = "core-graphics-types", version = "0.2" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
[package] | ||
name = "core-graphics-types" | ||
description = "Bindings for some fundamental Core Graphics types" | ||
homepage = "https://github.com/servo/core-foundation-rs" | ||
repository = "https://github.com/servo/core-foundation-rs" | ||
version = "0.2.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] | ||
core-foundation = { default-features = false, path = "../core-foundation", version = "0.10" } | ||
core-foundation.workspace = true | ||
|
||
[features] | ||
default = ["link"] | ||
# Disable to manually link. Enabled by default. | ||
link = ["core-foundation/link"] | ||
|
||
[package.metadata.docs.rs] | ||
default-target = "x86_64-apple-darwin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
[package] | ||
name = "core-graphics" | ||
description = "Bindings to Core Graphics for macOS" | ||
homepage = "https://github.com/servo/core-foundation-rs" | ||
repository = "https://github.com/servo/core-foundation-rs" | ||
version = "0.24.0" | ||
authors = ["The Servo Project Developers"] | ||
license = "MIT OR Apache-2.0" | ||
edition = "2018" | ||
rust-version = "1.65" | ||
|
||
[features] | ||
default = ["link"] | ||
elcapitan = [] | ||
highsierra = [] | ||
# Disable to manually link. Enabled by default. | ||
link = ["core-foundation/link", "core-graphics-types/link"] | ||
authors.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
rust-version.workspace = true | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
default-target = "x86_64-apple-darwin" | ||
|
||
[dependencies] | ||
core-foundation.workspace = true | ||
core-graphics-types.workspace = true | ||
|
||
bitflags = "2" | ||
core-foundation = { default-features = false, path = "../core-foundation", version = "0.10" } | ||
core-graphics-types = { default-features = false, path = "../core-graphics-types", version = "0.2" } | ||
foreign-types = "0.5.0" | ||
libc = "0.2" | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
default-target = "x86_64-apple-darwin" | ||
[features] | ||
default = ["link"] | ||
elcapitan = [] | ||
highsierra = [] | ||
# Disable to manually link. Enabled by default. | ||
link = ["core-foundation/link", "core-graphics-types/link"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
[package] | ||
name = "core-text" | ||
version = "21.0.0" | ||
authors = ["The Servo Project Developers"] | ||
description = "Bindings to the Core Text framework." | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/servo/core-foundation-rs" | ||
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] | ||
all-features = true | ||
default-target = "x86_64-apple-darwin" | ||
|
||
[dependencies] | ||
core-foundation.workspace = true | ||
core-graphics.workspace = true | ||
|
||
foreign-types = "0.5" | ||
|
||
[features] | ||
default = ["mountainlion", "link"] | ||
# For OS X 10.7 compat, exclude this feature. It will exclude some things from | ||
# the exposed APIs in the crate. | ||
mountainlion = [] | ||
# Disable to manually link. Enabled by default. | ||
link = ["core-foundation/link", "core-graphics/link"] | ||
|
||
[dependencies] | ||
foreign-types = "0.5" | ||
core-foundation = { default-features = false, path = "../core-foundation", version = "0.10" } | ||
core-graphics = { default-features = false, path = "../core-graphics", version = "0.24" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters