aegisvision-runtime 0.3.0

AegisVision 训练/推理引擎、CLI 与观测面板
# 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 = "aegisvision-runtime"
version = "0.3.0"
authors = ["AegisVision Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AegisVision 训练/推理引擎、CLI 与观测面板"
readme = "README.md"
keywords = [
    "deep-learning",
    "yolo",
    "machine-learning",
    "detection",
    "cli",
]
categories = [
    "science",
    "multimedia::images",
    "command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/javpower/aegis-vision"

[features]
default = [
    "torch",
    "panel",
]
panel = [
    "dep:axum",
    "dep:tokio",
]
torch = [
    "aegisvision-core/torch",
    "aegisvision-tasks/torch",
    "aegisvision-pretrain/torch",
    "dep:tch",
]

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

[[bin]]
name = "aegisvision-runtime"
path = "src/main.rs"

[[example]]
name = "cuda_smoke"
path = "examples/cuda_smoke.rs"

[[example]]
name = "detect_coco8"
path = "examples/detect_coco8.rs"

[[example]]
name = "print_plan"
path = "examples/print_plan.rs"

[[example]]
name = "train_smoke"
path = "examples/train_smoke.rs"

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

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

[dependencies.aegisvision-core]
version = "0.3.0"
default-features = false

[dependencies.aegisvision-plugins]
version = "0.3.0"

[dependencies.aegisvision-pretrain]
version = "0.3.0"
default-features = false

[dependencies.aegisvision-tasks]
version = "0.3.0"
default-features = false

[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.7"
optional = true

[dependencies.blake3]
version = "1"

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

[dependencies.fast_image_resize]
version = "6.1.0"

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

[dependencies.image]
version = "0.25"
features = [
    "jpeg",
    "png",
    "webp",
]
default-features = false

[dependencies.memmap2]
version = "0.9"

[dependencies.rayon]
version = "1.10"

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

[dependencies.serde_json]
version = "1"

[dependencies.tch]
version = "=0.24.0"
optional = true

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "signal",
    "net",
    "time",
]
optional = true

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "signal",
    "net",
    "io-util",
]