Documentation
# 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 = "2024"
name = "fsv"
version = "0.1.0"
authors = ["ahaoboy"]
build = "build.rs"
include = [
    "/src/**/*",
    "/dist/**/*",
    "/Cargo.toml",
    "/build.rs",
    "/README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "fsv"
homepage = "https://github.com/ahaoboy/fsv"
readme = "README.md"
license = "MIT"
repository = "https://github.com/ahaoboy/fsv"

[features]
cli = ["dep:clap"]
default = ["cli"]

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

[[bin]]
name = "fsv"
path = "src/main.rs"
required-features = ["cli"]

[dependencies.axum]
version = "0.8"
features = ["ws"]

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.futures-util]
version = "0.3"

[dependencies.local-ip-address]
version = "0.6"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"
features = ["io"]

[dev-dependencies.tokio-tungstenite]
version = "0.29"

[profile.bloaty]
lto = false
debug = 2
inherits = "release"
strip = false

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
strip = true