[package]
edition = "2024"
name = "rosin"
version = "0.3.1"
authors = ["TimTom <timtom.business@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rosin is a GUI library that aims to be extremely easy to use."
homepage = "https://github.com/sailbrush/rosin"
documentation = "https://docs.rs/rosin/latest/rosin/"
readme = "README.md"
keywords = ["GUI"]
categories = ["gui"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/sailbrush/rosin"
resolver = "2"
[features]
default = ["system_fonts"]
hot-reload = [
"dep:libloading",
"dep:serde",
"dep:serde_json",
"rosin-core/serde",
"dep:rosin-derive",
]
icu = ["rosin-core/icu"]
serde = ["rosin-core/serde"]
system_fonts = ["rosin-core/system_fonts"]
[lib]
name = "rosin"
path = "src/lib.rs"
[[example]]
name = "7gui_temp"
path = "examples/7gui_temp.rs"
[[example]]
name = "border"
path = "examples/border.rs"
[[example]]
name = "calc"
path = "examples/calc.rs"
[[example]]
name = "counter"
path = "examples/counter.rs"
[[example]]
name = "paint"
path = "examples/paint.rs"
[[example]]
name = "stress"
path = "examples/stress.rs"
[[example]]
name = "text"
path = "examples/text.rs"
[[example]]
name = "url"
path = "examples/url.rs"
[[example]]
name = "wgpu_simple"
path = "examples/wgpu_simple.rs"
[dependencies.libloading]
version = "0.9.0"
optional = true
[dependencies.pollster]
version = "0.4.0"
[dependencies.raw-window-handle]
version = "0.6.2"
[dependencies.rosin-core]
version = "0.3.0"
default-features = false
[dependencies.rosin-derive]
version = "0.3.0"
optional = true
[dependencies.serde]
version = "1.0"
features = [
"derive",
"rc",
]
optional = true
[dependencies.serde_json]
version = "1.0"
optional = true
[dev-dependencies.env_logger]
version = "0.11.8"
[target.'cfg(target_os="macos")'.dependencies.accesskit_macos]
version = "0.25.0"
[target.'cfg(target_os="macos")'.dependencies.block2]
version = "0.6.2"
[target.'cfg(target_os="macos")'.dependencies.dispatch2]
version = "0.3.0"
[target.'cfg(target_os="macos")'.dependencies.objc2]
version = "0.6.3"
[target.'cfg(target_os="macos")'.dependencies.objc2-app-kit]
version = "0.3.2"
features = [
"objc2-uniform-type-identifiers",
"objc2-quartz-core",
"NSApplication",
"NSAlert",
"NSControl",
"NSCursor",
"NSImage",
"NSButton",
"NSResponder",
"NSEvent",
"NSWindow",
"NSView",
"NSGraphics",
"NSTrackingArea",
"NSMenu",
"NSMenuItem",
"NSRunningApplication",
]
[target.'cfg(target_os="macos")'.dependencies.objc2-foundation]
version = "0.3.2"
features = [
"NSArray",
"NSEnumerator",
"NSThread",
"NSTimer",
"NSProcessInfo",
"NSBundle",
]
[target.'cfg(target_os="macos")'.dependencies.objc2-quartz-core]
version = "0.3.2"
features = [
"CALayer",
"CAMetalLayer",
]
[target.'cfg(target_os="macos")'.dependencies.objc2-uniform-type-identifiers]
version = "0.3.2"