apple-log 0.5.2

Safe Rust bindings for Apple's os / OSLog APIs on macOS
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 = "2021"
rust-version = "1.76"
name = "apple-log"
version = "0.5.2"
authors = ["Per Johansson <per@doom.fish>"]
build = "build.rs"
include = [
    "src/**/*",
    "swift-bridge/Package.swift",
    "swift-bridge/Sources/**/*",
    "examples/**/*",
    "tests/**/*",
    "build.rs",
    "Cargo.toml",
    "README.md",
    "CHANGELOG.md",
    "COVERAGE.md",
    "LICENSE-*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Rust bindings for Apple's os / OSLog APIs on macOS"
homepage = "https://github.com/doom-fish/apple-log-rs"
readme = "README.md"
keywords = [
    "log",
    "logging",
    "os-log",
    "macos",
    "console",
]
categories = [
    "api-bindings",
    "os::macos-apis",
    "development-tools::debugging",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/doom-fish/apple-log-rs"

[package.metadata.docs.rs]
all-features = true
default-target = "aarch64-apple-darwin"
targets = [
    "aarch64-apple-darwin",
    "x86_64-apple-darwin",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[badges.maintenance]
status = "actively-developed"

[features]
default = ["raw-ffi"]
raw-ffi = []

[lib]
name = "apple_log"
crate-type = ["lib"]
path = "src/lib.rs"

[[example]]
name = "01_logger"
path = "examples/01_logger.rs"

[[example]]
name = "02_os_log"
path = "examples/02_os_log.rs"

[[example]]
name = "03_os_log_store"
path = "examples/03_os_log_store.rs"

[[example]]
name = "04_os_log_entry_log"
path = "examples/04_os_log_entry_log.rs"

[[example]]
name = "05_os_log_entry_signpost"
path = "examples/05_os_log_entry_signpost.rs"

[[example]]
name = "06_os_log_entry_boundary"
path = "examples/06_os_log_entry_boundary.rs"

[[example]]
name = "07_os_log_entry_activity"
path = "examples/07_os_log_entry_activity.rs"

[[example]]
name = "08_os_signpost_id"
path = "examples/08_os_signpost_id.rs"

[[example]]
name = "09_os_signposter"
path = "examples/09_os_signposter.rs"

[[example]]
name = "10_os_activity"
path = "examples/10_os_activity.rs"

[[example]]
name = "11_os_atomic"
path = "examples/11_os_atomic.rs"

[[test]]
name = "api_coverage"
path = "tests/api_coverage.rs"

[[test]]
name = "logger_tests"
path = "tests/logger_tests.rs"

[[test]]
name = "os_activity_tests"
path = "tests/os_activity_tests.rs"

[[test]]
name = "os_atomic_tests"
path = "tests/os_atomic_tests.rs"

[[test]]
name = "os_log_entry_activity_tests"
path = "tests/os_log_entry_activity_tests.rs"

[[test]]
name = "os_log_entry_boundary_tests"
path = "tests/os_log_entry_boundary_tests.rs"

[[test]]
name = "os_log_entry_log_tests"
path = "tests/os_log_entry_log_tests.rs"

[[test]]
name = "os_log_entry_signpost_tests"
path = "tests/os_log_entry_signpost_tests.rs"

[[test]]
name = "os_log_store_tests"
path = "tests/os_log_store_tests.rs"

[[test]]
name = "os_log_tests"
path = "tests/os_log_tests.rs"

[[test]]
name = "os_signpost_id_tests"
path = "tests/os_signpost_id_tests.rs"

[[test]]
name = "os_signposter_tests"
path = "tests/os_signposter_tests.rs"

[dependencies]

[dev-dependencies.regex-lite]
version = "0.1"

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

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

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

[lints.rust]

[profile.release]
debug = 2
strip = "none"