[package]
name = "fission"
version = "0.5.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/fission-ui/fission"
description = "Production-focused Rust application framework for desktop, web, mobile, terminal, and static HTML apps"

homepage = "https://fission.rs"
documentation = "https://fission.rs"
readme = "README.md"
[features]
default = []
charts = ["dep:fission-charts"]
desktop = ["dep:fission-shell-desktop"]
desktop-tray = ["desktop", "fission-shell-desktop?/tray"]
icons-reflection = ["fission-icons/reflection"]
ios = ["dep:fission-shell-mobile"]
android = ["dep:fission-shell-mobile"]
mobile = ["dep:fission-shell-mobile"]
platform-shells = [
    "desktop",
    "mobile",
    "web",
]
site = ["dep:fission-shell-site"]
server = ["dep:fission-shell-server"]
server-actix = ["server", "fission-shell-server?/actix-adapter"]
server-axum = ["server", "fission-shell-server?/axum-adapter"]
server-redis = ["server", "fission-shell-server?/redis"]
terminal-shell = ["dep:fission-shell-terminal"]
terminal-widget = ["fission-widgets/terminal"]
test-driver = ["dep:fission-test-driver"]
three-d = [
    "dep:fission-3d",
    "fission-shell-desktop?/three-d",
    "fission-shell-mobile?/three-d",
    "fission-shell-web?/three-d",
]
web = ["dep:fission-shell-web"]

[dependencies]
fission-core = { path = "../../core/fission-core", version = "0.5.0" }
fission-3d = { path = "../../core/fission-3d", version = "0.5.0", optional = true }
fission-ir = { path = "../../core/fission-ir", version = "0.5.0" }
fission-layout = { path = "../../core/fission-layout", version = "0.5.0" }
fission-text-engine = { path = "../../core/fission-text-engine", version = "0.5.0" }
fission-theme = { path = "../../core/fission-theme", version = "0.5.0" }
fission-i18n = { path = "../../core/fission-i18n", version = "0.5.0" }
fission-widgets = { path = "../fission-widgets", version = "0.5.0" }
fission-macros = { path = "../fission-macros", version = "0.5.0" }
fission-icons = { path = "../fission-icons", version = "0.5.0" }
fission-charts = { path = "../fission-charts", version = "0.5.0", optional = true }
fission-render = { path = "../../rendering/fission-render", version = "0.5.0" }
fission-diagnostics = { path = "../../tools/fission-diagnostics", version = "0.5.0" }
fission-shell-site = { path = "../../shell/fission-shell-site", version = "0.5.0", optional = true }
fission-shell-server = { path = "../../shell/fission-shell-server", version = "0.5.0", optional = true }
fission-shell-terminal = { path = "../../shell/fission-shell-terminal", version = "0.5.0", optional = true }
fission-test-driver = { path = "../../tools/fission-test-driver", version = "0.5.0", optional = true }
serde = { version = "1.0", features = ["derive"] }

[target.'cfg(not(any(target_os = "android", target_os = "ios", target_arch = "wasm32")))'.dependencies]
fission-shell-desktop = { path = "../../shell/fission-shell-desktop", version = "0.5.0", optional = true }

[target.'cfg(any(target_os = "android", target_os = "ios"))'.dependencies]
fission-shell-mobile = { path = "../../shell/fission-shell-mobile", version = "0.5.0", optional = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
fission-shell-web = { path = "../../shell/fission-shell-web", version = "0.5.0", optional = true }
