# 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-shell-server"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Server-side web shell for revalidated Fission routes, cache pipelines, workers, and islands"
homepage = "https://fission.rs"
documentation = "https://fission.rs"
readme = "README.md"
license = "MIT"
repository = "https://github.com/fission-ui/fission"

[features]
actix-adapter = ["dep:actix-web"]
axum-adapter = ["dep:axum"]
default = []
hyper-adapter = []
redis = ["dep:redis"]

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

[dependencies.actix-web]
version = "4.12"
optional = true
default-features = false

[dependencies.anyhow]
version = "1.0"

[dependencies.axum]
version = "0.7"
optional = true
default-features = false

[dependencies.base64]
version = "0.22"

[dependencies.bincode]
version = "1.3"

[dependencies.blake3]
version = "1.8"

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

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

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

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

[dependencies.fission-shell-site]
version = "0.7.0"

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

[dependencies.getrandom]
version = "0.2"
features = ["std"]

[dependencies.hyper]
version = "0.14"
features = [
    "server",
    "http1",
    "tcp",
]

[dependencies.moka]
version = "0.12"
features = ["sync"]

[dependencies.redis]
version = "0.32"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1.48"
features = [
    "rt-multi-thread",
    "time",
]

[dependencies.toml]
version = "0.8"

[dev-dependencies.fission-widgets]
version = "0.7.0"
default-features = false
