darwin-kperf-sys 0.1.0

Raw FFI bindings to Apple's kperf and kperfdata frameworks
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "darwin-kperf-sys"
version = "0.1.0"
authors = ["HASH"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Raw FFI bindings to Apple's kperf and kperfdata frameworks"
documentation = "https://docs.rs/darwin-kperf-sys"
readme = false
keywords = [
    "macos",
    "kperf",
    "kpc",
    "ffi",
    "apple",
]
categories = [
    "os::macos-apis",
    "external-ffi-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hashintel/hash/tree/main/libs/darwin-kperf/sys"

[package.metadata.docs.rs]
targets = ["aarch64-apple-darwin"]

[lib]
name = "darwin_kperf_sys"
path = "src/lib.rs"

[dependencies]

[lints.clippy]
absolute_paths = "allow"
allow_attributes_without_reason = "allow"
arbitrary_source_item_ordering = "allow"
arithmetic_side_effects = "allow"
as_conversions = "allow"
blanket_clippy_restriction_lints = "allow"
cognitive_complexity = "allow"
default_numeric_fallback = "allow"
exhaustive_enums = "allow"
exhaustive_structs = "allow"
expect_used = "allow"
impl_trait_in_params = "allow"
implicit_return = "allow"
iter_over_hash_type = "allow"
let_underscore_must_use = "allow"
missing_assert_message = "allow"
missing_docs_in_private_items = "allow"
missing_inline_in_public_items = "allow"
missing_trait_methods = "allow"
mod_module_files = "allow"
module_name_repetitions = "allow"
multiple_inherent_impl = "allow"
multiple_unsafe_ops_per_block = "allow"
panic = "allow"
partial_pub_fields = "allow"
pattern_type_mismatch = "allow"
pub_use = "allow"
pub_with_shorthand = "allow"
question_mark_used = "allow"
redundant_pub_crate = "allow"
ref_patterns = "allow"
semicolon_outside_block = "allow"
separated_literal_suffix = "allow"
shadow_reuse = "allow"
shadow_same = "allow"
shadow_unrelated = "allow"
single_call_fn = "allow"
single_char_lifetime_names = "allow"
tests_outside_test_module = "allow"
unimplemented = "allow"
unneeded_field_pattern = "allow"
unreachable = "allow"
unwrap_in_result = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.restriction]
level = "warn"
priority = -1

[lints.rust]
unreachable_pub = "warn"
unsafe_code = "deny"

[lints.rust.future_incompatible]
level = "warn"
priority = -1

[lints.rust.nonstandard_style]
level = "warn"
priority = -1