cocoanut 0.2.0

A minimal, declarative macOS GUI framework for Rust
# 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 = "cocoanut"
version = "0.2.0"
authors = ["Ying Kit WONG"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A minimal, declarative macOS GUI framework for Rust"
homepage = "https://github.com/yingkitw/cocoanut"
documentation = "https://docs.rs/cocoanut"
readme = "README.md"
keywords = [
    "cocoa",
    "macos",
    "gui",
    "native",
    "appkit",
]
categories = [
    "gui",
    "os::macos-apis",
]
license = "Apache-2.0"
repository = "https://github.com/yingkitw/cocoanut"

[features]
default = []
test-mock = []

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

[[example]]
name = "counter_app"
path = "examples/counter_app.rs"

[[example]]
name = "minimal_app"
path = "examples/minimal_app.rs"

[[example]]
name = "ui_showcase"
path = "examples/ui_showcase.rs"

[dependencies.cocoa]
version = "0.25"

[dependencies.objc]
version = "0.2"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[profile.dev]
opt-level = 0
incremental = true

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