# 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 = "expman"
version = "0.5.3"
authors = ["Lokesh Mohanty <lokesh1197@gmail.com>"]
build = "build.rs"
include = [
    "Cargo.toml",
    "README.md",
    "LICENSE",
    "build.rs",
    "src/**/*",
    "dist/**/*",
    "Trunk.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "exp"
description = "High-performance experiment manager with Rust backend"
homepage = "https://lokeshmohanty.github.io/expman-rs/"
documentation = "https://lokeshmohanty.github.io/expman-rs/"
readme = "README.md"
license = "MIT"
repository = "https://github.com/lokeshmohanty/expman-rs"
resolver = "2"

[features]
cli = [
    "dep:clap",
    "dep:comfy-table",
    "dep:indicatif",
    "dep:tboard",
    "dep:tensorboard-rs",
]
default = []
python = ["dep:pyo3"]
server = [
    "dep:axum",
    "dep:tower-http",
    "dep:rust-embed",
    "dep:mime_guess",
    "dep:tokio-util",
    "dep:futures-util",
]

[lib]
name = "expman"
crate-type = [
    "rlib",
    "cdylib",
]
path = "src/lib.rs"

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

[[bin]]
name = "expman-app"
path = "src/app/main.rs"
doc = false

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.thiserror]
version = "2"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1"
features = ["test-util"]

[dev-dependencies.tower]
version = "0.5"
features = ["util"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.arrow]
version = "58"
features = ["ipc"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.axum]
version = "0.8"
features = [
    "ws",
    "macros",
]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.clap]
version = "4"
features = [
    "derive",
    "color",
]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.comfy-table]
version = "7"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.futures-util]
version = "0.3"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.indicatif]
version = "0.18"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.mime_guess]
version = "2"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.parquet]
version = "58"
features = ["arrow"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.pyo3]
version = "0.28"
features = [
    "extension-module",
    "abi3-py39",
]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rust-embed]
version = "8"
features = ["include-exclude"]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tboard]
version = "0.1"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tensorboard-rs]
version = "0.5.9"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = ["full"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-stream]
version = "0.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-util]
version = "0.7"
features = ["rt"]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tower-http]
version = "0.6"
features = [
    "fs",
    "cors",
]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tracing]
version = "0.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tracing-appender]
version = "0.2"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.uuid]
version = "1"
features = ["v4"]

[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
version = "0.1"

[target.'cfg(target_arch = "wasm32")'.dependencies.console_log]
version = "1.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.gloo-net]
version = "0.6"

[target.'cfg(target_arch = "wasm32")'.dependencies.gloo-timers]
version = "0.3"
features = ["futures"]

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.leptos]
version = "0.8"
features = ["csr"]

[target.'cfg(target_arch = "wasm32")'.dependencies.leptos_router]
version = "0.8"

[target.'cfg(target_arch = "wasm32")'.dependencies.log]
version = "0.4"

[target.'cfg(target_arch = "wasm32")'.dependencies.lucide-leptos]
version = "2.576"
features = ["all-icons"]

[target.'cfg(target_arch = "wasm32")'.dependencies.plotters]
version = "0.3"
features = [
    "svg_backend",
    "line_series",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.plotters-canvas]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.stylist]
version = "0.14"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "HtmlInputElement",
    "HtmlTextAreaElement",
    "HtmlAnchorElement",
    "Window",
    "Storage",
    "RequestMode",
    "RequestInit",
    "EventSource",
    "MessageEvent",
    "Document",
    "Blob",
    "BlobPropertyBag",
    "Url",
    "ResizeObserver",
    "MouseEvent",
    "WheelEvent",
]

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
panic = "abort"
strip = true
