[package]
edition = "2024"
rust-version = "1.88"
name = "ferrokit"
version = "0.10.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native macOS GUI framework for Rust: every view a real AppKit control (NSTableView, NSOutlineView, NSTextView), updated in place by fine-grained signals"
readme = "README.md"
keywords = [
"macos",
"appkit",
"gui",
"native",
"cocoa",
]
categories = [
"gui",
"os::macos-apis",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/lhassa8/ferrokit"
[package.metadata.docs.rs]
default-target = "aarch64-apple-darwin"
[lib]
name = "ferrokit"
path = "src/lib.rs"
[[example]]
name = "components"
path = "examples/components.rs"
[[example]]
name = "gallery"
path = "examples/gallery.rs"
[[example]]
name = "habits"
path = "examples/habits.rs"
[[example]]
name = "hands_on"
path = "examples/hands_on.rs"
[[example]]
name = "input"
path = "examples/input.rs"
[[example]]
name = "journal"
path = "examples/journal.rs"
[[example]]
name = "log_viewer"
path = "examples/log_viewer.rs"
[[example]]
name = "materials"
path = "examples/materials.rs"
[[example]]
name = "media"
path = "examples/media.rs"
[[example]]
name = "motion"
path = "examples/motion.rs"
[[example]]
name = "native_csv"
path = "examples/native_csv.rs"
[[example]]
name = "native_views"
path = "examples/native_views.rs"
[[example]]
name = "notes"
path = "examples/notes.rs"
[[example]]
name = "settings"
path = "examples/settings.rs"
[[example]]
name = "sql_browser"
path = "examples/sql_browser.rs"
[[example]]
name = "styles"
path = "examples/styles.rs"
[[example]]
name = "ui_checklist"
path = "examples/ui_checklist.rs"
[[example]]
name = "values"
path = "examples/values.rs"
[[test]]
name = "thread_locals"
path = "tests/thread_locals.rs"
[dependencies.block2]
version = "0.6"
[dependencies.ferrokit-core]
version = "=0.10.1"
[dependencies.libc]
version = "0.2"
[dependencies.objc2]
version = "0.6"
features = ["exception"]
[dependencies.objc2-app-kit]
version = "0.3"
features = [
"std",
"NSApplication",
"NSDockTile",
"NSResponder",
"NSWindow",
"NSView",
"NSMenu",
"NSMenuItem",
"NSEvent",
"NSGraphics",
"NSRunningApplication",
"NSControl",
"NSButton",
"NSButtonCell",
"NSTextField",
"NSLayoutConstraint",
"NSSecureTextField",
"NSSwitch",
"NSCell",
"NSText",
"NSPopUpButton",
"NSMenu",
"NSMenuItem",
"NSSlider",
"NSSliderCell",
"NSStepper",
"NSProgressIndicator",
"NSImage",
"NSImageView",
"NSBox",
"NSScrollView",
"NSScroller",
"NSClipView",
"NSBitmapImageRep",
"NSImageRep",
"NSAppearance",
"NSGraphicsContext",
"NSTextView",
"NSTextInputClient",
"NSTableView",
"NSTableColumn",
"NSOutlineView",
"NSTableCellView",
"NSTableHeaderView",
"NSUserInterfaceItemIdentification",
"NSSpellChecker",
"NSSplitView",
"NSToolbar",
"NSToolbarItem",
"NSSearchToolbarItem",
"NSToolbarItemGroup",
"NSPredicateEditor",
"NSPredicateEditorRowTemplate",
"NSRuleEditor",
"NSBrowser",
"NSBrowserCell",
"NSTextAttachment",
"NSSplitViewController",
"NSSplitViewItem",
"NSUserInterfaceLayout",
"NSSearchField",
"NSLayoutConstraint",
"NSAlert",
"NSPanel",
"NSSavePanel",
"NSOpenPanel",
"NSDatePicker",
"NSDatePickerCell",
"NSColorWell",
"NSColor",
"NSColorSpace",
"NSSegmentedControl",
"NSComboBox",
"NSCollectionView",
"NSCollectionViewFlowLayout",
"NSCollectionViewLayout",
"NSViewController",
"NSPopover",
"NSBezierPath",
"NSStringDrawing",
"NSTrackingArea",
"NSAttributedString",
"NSPasteboard",
"NSPasteboardItem",
"NSFilePromiseProvider",
"NSDragging",
"NSDraggingItem",
"NSDraggingSession",
"NSWorkspace",
"NSFont",
"NSFontDescriptor",
"NSVisualEffectView",
"NSGlassEffectView",
"NSAnimationContext",
"NSTabView",
"NSTabViewItem",
"NSLevelIndicator",
"NSLevelIndicatorCell",
"NSTokenField",
"NSTokenFieldCell",
"NSPathControl",
"NSPathControlItem",
"NSPathCell",
"NSActionCell",
"NSAccessibility",
"block2",
"NSAccessibilityConstants",
"NSAccessibilityProtocols",
"NSLayoutAnchor",
"NSScreen",
"NSStatusBar",
"NSStatusItem",
"NSStatusBarButton",
"NSSharingService",
"NSPrintOperation",
"NSPrintInfo",
"NSPrinter",
"objc2-uniform-type-identifiers",
"objc2-quartz-core",
"objc2-core-graphics",
]
default-features = false
[dependencies.objc2-av-foundation]
version = "0.3"
features = [
"std",
"block2",
"objc2-core-media",
"AVPlayer",
"AVPlayerItem",
"AVAsset",
"AVTime",
"AVAnimation",
"dispatch2",
]
default-features = false
[dependencies.objc2-av-kit]
version = "0.3"
features = [
"std",
"objc2-app-kit",
"objc2-av-foundation",
"AVPlayerView",
"AVKitTypes",
]
default-features = false
[dependencies.objc2-core-foundation]
version = "0.3"
features = [
"std",
"block2",
"CFRunLoop",
]
default-features = false
[dependencies.objc2-core-graphics]
version = "0.3"
features = [
"std",
"CGColor",
"CGImage",
"CGPath",
"CGEvent",
"CGEventTypes",
"CGRemoteOperation",
"libc",
]
default-features = false
[dependencies.objc2-core-media]
version = "0.3"
features = [
"std",
"CMTime",
]
default-features = false
[dependencies.objc2-foundation]
version = "0.3"
features = [
"std",
"NSString",
"NSGeometry",
"NSObject",
"NSNotification",
"NSArray",
"NSDictionary",
"NSData",
"NSRange",
"NSUndoManager",
"NSIndexSet",
"NSSortDescriptor",
"NSURL",
"NSUserDefaults",
"NSRunLoop",
"NSDate",
"NSIndexPath",
"NSSet",
"NSError",
"NSOperation",
"NSBundle",
"NSLocale",
"NSFormatter",
"NSNumberFormatter",
"NSValue",
"NSDateFormatter",
"NSTimeZone",
"NSCalendar",
"NSURLRequest",
"NSOperation",
"NSKeyValueObserving",
"NSProcessInfo",
"NSPredicate",
"NSComparisonPredicate",
"NSCompoundPredicate",
"NSExpression",
"NSAttributedString",
"NSFileManager",
"NSFileCoordinator",
"NSFilePresenter",
"NSPathUtilities",
]
default-features = false
[dependencies.objc2-pdf-kit]
version = "0.3"
features = [
"std",
"objc2-app-kit",
"PDFView",
"PDFDocument",
"PDFPage",
"PDFKitPlatform",
"PDFSelection",
]
default-features = false
[dependencies.objc2-quartz-core]
version = "0.3"
features = [
"std",
"CALayer",
"CAMediaTimingFunction",
"objc2-core-graphics",
"objc2-core-foundation",
]
default-features = false
[dependencies.objc2-uniform-type-identifiers]
version = "0.3"
features = [
"std",
"UTType",
]
default-features = false
[dependencies.objc2-user-notifications]
version = "0.3"
features = [
"std",
"block2",
"UNUserNotificationCenter",
"UNNotification",
"UNNotificationContent",
"UNNotificationRequest",
"UNNotificationResponse",
"UNNotificationSound",
"UNNotificationSettings",
"UNNotificationTrigger",
"UNError",
]
default-features = false
[dependencies.objc2-web-kit]
version = "0.3"
features = [
"std",
"block2",
"objc2-app-kit",
"objc2-core-foundation",
"WKWebView",
"WKWebViewConfiguration",
"WKNavigation",
"WKNavigationDelegate",
"WKNavigationAction",
"WKUIDelegate",
"WKPreferences",
"WKWebsiteDataStore",
"WKFrameInfo",
"WKError",
]
default-features = false
[dev-dependencies.objc2]
version = "0.6"
features = ["exception"]
[dev-dependencies.objc2-core-location]
version = "0.3"
features = ["std"]
default-features = false
[dev-dependencies.objc2-map-kit]
version = "0.3"
features = [
"std",
"objc2-app-kit",
"objc2-core-location",
"MKMapView",
"MKGeometry",
"MKTypes",
"MKMapConfiguration",
"MKStandardMapConfiguration",
"MKHybridMapConfiguration",
]
default-features = false
[dev-dependencies.rusqlite]
version = "0.41"
features = [
"hooks",
"bundled",
]