-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump MSRV to 1.71, and use Cargo's [workspace.package]
Also fix the `license` fields that I can.
- Loading branch information
Showing
107 changed files
with
534 additions
and
912 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
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 |
---|---|---|
|
@@ -6,6 +6,25 @@ members = [ | |
] | ||
resolver = "2" | ||
|
||
[workspace.package] | ||
authors = ["Mads Marquart <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.71" | ||
repository = "https://github.com/madsmtm/objc2" | ||
|
||
# Framework crate defaults | ||
|
||
# Remember to update in header-translator, and manually authored lib.rs. | ||
version = "0.2.2" | ||
# Some crates in this repo may have a different license, see each crate for the specifics. | ||
license = "Zlib OR Apache-2.0 OR MIT" | ||
categories = [ | ||
"api-bindings", | ||
"development-tools::ffi", | ||
"external-ffi-bindings", | ||
"os::macos-apis", | ||
] | ||
|
||
[workspace.lints.rust] | ||
elided_lifetimes_in_paths = "warn" | ||
missing_copy_implementations = "warn" | ||
|
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,11 +1,6 @@ | ||
[package] | ||
name = "block2" | ||
# Remember to update html_root_url in lib.rs | ||
version = "0.5.1" | ||
authors = ["Steven Sheldon", "Mads Marquart <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.60" | ||
|
||
version = "0.5.1" # Remember to update html_root_url in lib.rs | ||
description = "Apple's C language extension of blocks" | ||
keywords = ["objective-c", "macos", "ios", "blocks"] | ||
categories = [ | ||
|
@@ -14,10 +9,11 @@ categories = [ | |
"os::macos-apis", | ||
"external-ffi-bindings", | ||
] | ||
readme = "README.md" | ||
repository = "https://github.com/madsmtm/objc2" | ||
documentation = "https://docs.rs/block2/" | ||
license = "MIT" | ||
authors.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
repository.workspace = true | ||
license = "MIT" # https://github.com/madsmtm/objc2/issues/23 | ||
|
||
[features] | ||
default = ["std"] | ||
|
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,11 +1,6 @@ | ||
[package] | ||
name = "objc2-encode" | ||
# Remember to update html_root_url in lib.rs | ||
version = "4.0.3" | ||
authors = ["Steven Sheldon", "Mads Marquart <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.60" | ||
|
||
version = "4.0.3" # Remember to update html_root_url in lib.rs | ||
description = "Objective-C type-encoding representation and parsing" | ||
keywords = ["objective-c", "macos", "ios", "encode"] | ||
categories = [ | ||
|
@@ -14,10 +9,11 @@ categories = [ | |
"no-std", | ||
"os::macos-apis", | ||
] | ||
readme = "README.md" | ||
repository = "https://github.com/madsmtm/objc2" | ||
documentation = "https://docs.rs/objc2-encode/" | ||
license = "MIT" | ||
license = "MIT" # https://github.com/madsmtm/objc2/issues/23 | ||
authors.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
repository.workspace = true | ||
|
||
[lints] | ||
workspace = true | ||
|
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 |
---|---|---|
|
@@ -6,15 +6,14 @@ name = "objc2-exception-helper" | |
# Also, beware of using pre-release versions here, since because of the | ||
# `links` key, two pre-releases requested with `=...` are incompatible. | ||
version = "0.1.0" | ||
authors = ["Mads Marquart <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.60" | ||
|
||
description = "External helper function for catching Objective-C exceptions" | ||
keywords = ["objective-c", "macos", "ios", "exception"] | ||
categories = ["no-std", "no-std::no-alloc", "os::macos-apis"] | ||
repository = "https://github.com/madsmtm/objc2" | ||
license = "MIT" | ||
authors.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
repository.workspace = true | ||
license = "Zlib OR Apache-2.0 OR MIT" | ||
|
||
# Use the `links` key to ensure that only one of these symbols are compiled | ||
# | ||
|
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 |
---|---|---|
|
@@ -3,19 +3,16 @@ name = "objc2-proc-macros" | |
# Remember to update html_root_url in lib.rs | ||
version = "0.1.3" | ||
authors = ["Mads Marquart <[email protected]>", "Calvin Watford"] | ||
edition = "2021" | ||
rust-version = "1.60" | ||
|
||
description = "Procedural macros for the objc2 project" | ||
keywords = ["objective-c", "macos", "ios", "proc-macro"] | ||
categories = [ | ||
"development-tools", | ||
"os::macos-apis", | ||
] | ||
readme = "README.md" | ||
repository = "https://github.com/madsmtm/objc2" | ||
documentation = "https://docs.rs/objc2-proc-macros/" | ||
license = "MIT" | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
repository.workspace = true | ||
license = "Zlib OR Apache-2.0 OR MIT" | ||
|
||
[lib] | ||
proc-macro = true | ||
|
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,10 +1,6 @@ | ||
[package] | ||
name = "objc2" | ||
version = "0.5.2" # Remember to update html_root_url in lib.rs | ||
authors = ["Steven Sheldon", "Mads Marquart <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.60" | ||
|
||
description = "Objective-C interface and runtime bindings" | ||
keywords = ["objective-c", "macos", "ios", "objc_msgSend", "objc"] | ||
categories = [ | ||
|
@@ -14,10 +10,11 @@ categories = [ | |
"os::macos-apis", | ||
# "no-std", # TODO | ||
] | ||
readme = "README.md" | ||
repository = "https://github.com/madsmtm/objc2" | ||
documentation = "https://docs.rs/objc2/" | ||
license = "MIT" | ||
license = "MIT" # https://github.com/madsmtm/objc2/issues/23 | ||
authors.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
repository.workspace = true | ||
|
||
[lints] | ||
workspace = true | ||
|
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,7 +1,7 @@ | ||
[package] | ||
name = "test_block" | ||
version = "0.1.0" | ||
edition = "2021" | ||
edition.workspace = true | ||
publish = false | ||
|
||
[lib] | ||
|
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
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
2 changes: 1 addition & 1 deletion
2
crates/test-assembly/crates/test_msg_send_static_sel/Cargo.toml
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
2 changes: 1 addition & 1 deletion
2
crates/test-assembly/crates/test_retain_autoreleased/Cargo.toml
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
Oops, something went wrong.