deft 0.1.1

Cross platform ui framework
[package]
name = "deft"
readme = "README.md"
license = "MIT"
description = "Cross platform ui framework"

version = "0.1.1"
authors = ["KasonYang <me@kason.fun>"]
edition = "2021"


[dependencies]
deft-macros = { path = "packages/deft-macros", version = "0.1.0" }

quick-js = { package = "deft-quick-js", version = "0.4.2-alpha.0"}
yoga = { package = "deft-yoga", version = "0.4.0" }
winit = { package = "deft-winit", version = "0.30.5", features = ["android-native-activity", "rwh_05"] }
skia-window = { path = "skia-window", version = "0.1.0" }

lazy_static = "1.4"
skia-bindings = {package = "deft-skia-bindings", version = "0.81.0", default-features = false, features = ["binary-cache"] }


base64 = { version = "0.22.0" }
ordered-float = "3.9.2"
serde_json = "1.0.117"
serde = { version = "1.0.203", features = ["derive"] }
anyhow = { version = "1.0.75" }
reqwest = { version = "0.12.5",default-features = false, features = ["blocking", "native-tls-vendored", "multipart", "stream"] }
tokio = { version = "1.38.0", features = ["rt-multi-thread", "fs", "macros", "io-std", "io-util", "sync"] }
tokio-tungstenite = { version = "0.23.1", features = ["native-tls"] }
futures-util = "0.3.30"
clipboard = "0.5.0"
image = "0.25.2"
libc = "0.2.155"
sled = "0.34.7"
ksni = { version = "0.2.2", optional = true }
rodio = "0.19.0"
measure_time = "0.8.3"
memory-stats = "1.2.0"
backtrace = "0.3.73"
sha1 = "0.10.6"
base16ct = { version = "0.2.0", features = ["alloc"] }
jni = "0.21.1"
tokio-util = { version = "0.7.12", features = ["codec"] }
rusqlite = { version = "0.32.0", features = ["bundled"] }
bezier-rs = "0.4.0"
raw-window-handle = "0.5.2"

[features]
default=[]
tray=["ksni"]
x11=[]

[target.'cfg(not(target_os = "android"))'.dependencies]
native-dialog = "0.7.0"

[target.'cfg(target_os = "android")'.dependencies]
skia-safe = {package = "deft-skia-safe", version = "0.81.0", features = ["binary-cache", "textlayout", "svg", "x11"], default-features = false}
android_logger = "0.11.0"
[target.'cfg(target_os = "linux")'.dependencies]
skia-safe = {package = "deft-skia-safe", version = "0.81.0", features = ["binary-cache","textlayout", "svg", "x11"], default-features = false}
[target.'cfg(target_os = "macos")'.dependencies]
skia-safe = {package = "deft-skia-safe", version = "0.81.0", features = ["binary-cache","textlayout", "svg"], default-features = false}

[build-dependencies]
cfg_aliases = "0.2.1"

#[lib]
#name = "deft"
#path = "src/lib.rs"
#crate_type=["cdylib", "lib"]
#proc-macro = true
#
#[[bin]]
#path="src/lib.rs"
#name="deft_demo"

[[example]]
name = "hello"
crate_type=["cdylib", "lib"]