Skip to content

Commit

Permalink
Merge branch 'master' into cw/0.31
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald authored Jan 15, 2025
2 parents 4a5d5dd + aadc201 commit 7c3bc87
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
17 changes: 12 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,17 @@ readme = "README.md"
keywords = ["metal", "graphics", "bindings"]
license = "MIT OR Apache-2.0"
edition = "2021"
exclude = ["guide/**/*", "examples/texture/**/*", "tests/**/*", "Cargo.lock", "target/**/*"]
exclude = [
"guide/**/*",
"examples/texture/**/*",
"tests/**/*",
"Cargo.lock",
"target/**/*",
]

[package.metadata.docs.rs]
targets = [
"aarch64-apple-darwin", # presented first in Docs.rs, keep this here
"aarch64-apple-darwin", # presented first in Docs.rs, keep this here
"aarch64-apple-ios",
"aarch64-apple-ios-sim",
"x86_64-apple-darwin",
Expand All @@ -27,6 +33,9 @@ private = []
mps = []
link = ["core-graphics-types/link"]

# No-op feature to let cargo-cfg checking to be happy
cargo-clippy = []

[dependencies]
core-graphics-types = { version = "0.1.3", default-features = false }
bitflags = "2"
Expand Down Expand Up @@ -102,6 +111,4 @@ required-features = ["dispatch"]
name = "fence"

[workspace]
members = [
"examples/texture",
]
members = ["examples/texture"]
11 changes: 11 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@
#![allow(deprecated)]
#![allow(non_snake_case)]
#![allow(non_upper_case_globals)]
// Silence clippy warnings as a stopgap to get CI working.
#![allow(clippy::enum_variant_names)]
#![allow(clippy::identity_op)]
#![allow(clippy::let_and_return)]
#![allow(clippy::missing_safety_doc)]
#![allow(clippy::missing_transmute_annotations)]
#![allow(clippy::new_ret_no_self)]
#![allow(clippy::new_without_default)]
#![allow(clippy::too_many_arguments)]
#![allow(clippy::transmute_ptr_to_ref)]
#![allow(clippy::unit_arg)]

#[macro_use]
pub extern crate objc;
Expand Down

0 comments on commit 7c3bc87

Please sign in to comment.