# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "fission"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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"
license = "MIT"
repository = "https://github.com/fission-ui/fission"

[features]
android = ["dep:fission-shell-mobile"]
charts = ["dep:fission-charts"]
default = []
desktop = ["dep:fission-shell-desktop"]
desktop-tray = [
    "desktop",
    "fission-shell-desktop?/tray",
]
icons-reflection = ["fission-icons/reflection"]
ios = ["dep:fission-shell-mobile"]
mobile = ["dep:fission-shell-mobile"]
platform-shells = [
    "desktop",
    "mobile",
    "web",
]
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",
]
site = ["dep:fission-shell-site"]
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"]

[lib]
name = "fission"
path = "src/lib.rs"

[[test]]
name = "desktop_tray_api"
path = "tests/desktop_tray_api.rs"

[[test]]
name = "platform_api"
path = "tests/platform_api.rs"

[[test]]
name = "prelude_macros"
path = "tests/prelude_macros.rs"

[[test]]
name = "reducer_macro"
path = "tests/reducer_macro.rs"

[dependencies.fission-3d]
version = "0.5.0"
optional = true

[dependencies.fission-charts]
version = "0.5.0"
optional = true

[dependencies.fission-core]
version = "0.5.0"

[dependencies.fission-diagnostics]
version = "0.5.0"

[dependencies.fission-i18n]
version = "0.5.0"

[dependencies.fission-icons]
version = "0.5.0"

[dependencies.fission-ir]
version = "0.5.0"

[dependencies.fission-layout]
version = "0.5.0"

[dependencies.fission-macros]
version = "0.5.0"

[dependencies.fission-render]
version = "0.5.0"

[dependencies.fission-shell-server]
version = "0.5.0"
optional = true

[dependencies.fission-shell-site]
version = "0.5.0"
optional = true

[dependencies.fission-shell-terminal]
version = "0.5.0"
optional = true

[dependencies.fission-test-driver]
version = "0.5.0"
optional = true

[dependencies.fission-text-engine]
version = "0.5.0"

[dependencies.fission-theme]
version = "0.5.0"

[dependencies.fission-widgets]
version = "0.5.0"

[dependencies.serde]
version = "1.0"
features = ["derive"]

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

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

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