[package]
edition = "2024"
name = "cgs"
version = "0.1.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "a ui library for macos"
readme = "README.md"
license = "Apache-2.0"
[lib]
name = "cgs"
path = "src/lib.rs"
[[test]]
name = "native"
path = "tests/native.rs"
harness = false
[dependencies.block2]
version = "0.6.2"
features = ["alloc"]
default-features = false
[dependencies.objc2]
version = "0.6.2"
features = ["std"]
default-features = false
[dependencies.objc2-app-kit]
version = "0.3.2"
features = [
"std",
"NSAttributedString",
"NSAccessibility",
"NSAccessibilityProtocols",
"NSAccessibilityConstants",
"NSApplication",
"NSRunningApplication",
"NSAppearance",
"NSWindow",
"NSPanel",
"NSView",
"NSViewController",
"NSLayoutAnchor",
"NSLayoutGuide",
"NSLayoutConstraint",
"NSStackView",
"NSGridView",
"NSScrollView",
"NSClipView",
"NSScroller",
"NSSplitView",
"NSSplitViewController",
"NSSplitViewItem",
"NSBox",
"NSVisualEffectView",
"NSGlassEffectView",
"NSControl",
"NSCell",
"NSActionCell",
"NSButton",
"NSButtonCell",
"NSSwitch",
"NSSegmentedControl",
"NSSegmentedCell",
"NSPopUpButton",
"NSPopUpButtonCell",
"NSComboBox",
"NSTextField",
"NSTextFieldCell",
"NSText",
"NSTextView",
"NSTextContainer",
"NSSearchField",
"NSTokenField",
"NSSlider",
"NSSliderCell",
"NSStepper",
"NSColor",
"NSColorWell",
"NSFont",
"NSFontDescriptor",
"NSImage",
"NSImageView",
"NSMenu",
"NSMenuItem",
"NSMenuItemCell",
"NSStatusBar",
"NSStatusItem",
"NSStatusBarButton",
"NSTableView",
"NSTableColumn",
"NSTableHeaderView",
"NSTableCellView",
"NSOutlineView",
"NSDragging",
"NSDraggingSession",
"NSPasteboard",
"NSPasteboardItem",
"NSPopover",
"NSAlert",
"NSOpenPanel",
"NSSavePanel",
"NSToolbar",
"NSToolbarItem",
"NSProgressIndicator",
"NSEvent",
"NSResponder",
"NSGraphicsContext",
"NSGraphics",
"NSUserInterfaceLayout",
"NSUserInterfaceValidation",
"NSUserInterfaceItemIdentification",
"NSWorkspace",
"block2",
"objc2-core-foundation",
"objc2-core-graphics",
"objc2-quartz-core",
]
default-features = false
[dependencies.objc2-core-foundation]
version = "0.3.2"
features = [
"CFString",
"CFNumber",
]
default-features = false
[dependencies.objc2-core-graphics]
version = "0.3.2"
features = [
"CGContext",
"CGColorSpace",
"CGError",
]
default-features = false
[dependencies.objc2-foundation]
version = "0.3.2"
features = [
"std",
"NSArray",
"NSDictionary",
"NSString",
"NSNumberFormatter",
"NSFormatter",
"NSValue",
"NSKeyValueCoding",
"NSNotification",
"NSIndexSet",
"NSURL",
"NSAttributedString",
"NSGeometry",
"NSTimer",
"NSDate",
]
default-features = false
[dependencies.objc2-quartz-core]
version = "0.3.2"
features = [
"CALayer",
"CATransaction",
"objc2-core-foundation",
"objc2-core-graphics",
]
default-features = false
[dependencies.tracing]
version = "0.1.40"
default-features = false
[dev-dependencies.objc2-app-kit]
version = "0.3.2"
features = ["NSDraggingItem"]
default-features = false