kanchi 0.1.0

Kanchi (感知 — "sensing") — typed environment-discovery primitive: declare detection axes, get the FALLBACK const + detect()→Option + detect_or_fallback() trio generated. The shikumi `discovered()` tier made declarative.
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"
rust-version = "1.89.0"
name = "kanchi"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = 'Kanchi (感知 — "sensing") — typed environment-discovery primitive: declare detection axes, get the FALLBACK const + detect()→Option + detect_or_fallback() trio generated. The shikumi `discovered()` tier made declarative.'
homepage = "https://github.com/pleme-io/kanchi"
readme = "README.md"
keywords = [
    "environment",
    "detection",
    "config",
    "defaults",
    "zero-config",
]
categories = [
    "config",
    "os",
    "hardware-support",
]
license = "MIT"
repository = "https://github.com/pleme-io/kanchi"

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

[dependencies.libc]
version = "0.2"

[dependencies.paste]
version = "1"

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"

[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3"
features = [
    "NSScreen",
    "NSApplication",
]

[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
features = [
    "NSString",
    "NSUserDefaults",
]

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"

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

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = true