[package]
edition = "2021"
rust-version = "1.76"
name = "apple-log"
version = "0.4.0"
authors = ["Per Johansson <per@doom.fish>"]
build = "build.rs"
include = [
"src/**/*",
"examples/**/*",
"tests/**/*",
"build.rs",
"Cargo.toml",
"README.md",
"LICENSE-*",
"CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe Rust bindings for Apple's os_log — structured logging, signposts, and activity ids 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"
[lib]
name = "apple_log"
crate-type = ["lib"]
path = "src/lib.rs"
[[example]]
name = "01_basic_log"
path = "examples/01_basic_log.rs"
[[example]]
name = "02_signposts"
path = "examples/02_signposts.rs"
[[example]]
name = "03_privacy_and_activity"
path = "examples/03_privacy_and_activity.rs"
[[test]]
name = "api_coverage"
path = "tests/api_coverage.rs"
[dependencies]
[dev-dependencies.regex-lite]
version = "0.1"
[build-dependencies.cc]
version = "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"