torsh-cli 0.1.2

Command-line tools for the ToRSh deep learning framework
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 = "2021"
rust-version = "1.77"
name = "torsh-cli"
version = "0.1.2"
authors = ["COOLJAPAN OU (Team KitaSan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line tools for the ToRSh deep learning framework"
homepage = "https://github.com/cool-japan/torsh/"
documentation = "https://docs.rs/torsh-cli"
readme = "README.md"
keywords = [
    "machine-learning",
    "deep-learning",
    "neural-networks",
    "cli",
    "tools",
]
categories = [
    "command-line-utilities",
    "science",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/torsh/"

[features]
data = []
default = [
    "nn",
    "optim",
    "data",
    "vision",
    "text",
    "quantization",
    "jit",
    "hub",
    "profiler",
    "linalg",
    "metrics",
]
dev = []
hub = []
jit = []
linalg = ["dep:scirs2-linalg"]
metrics = ["dep:scirs2-metrics"]
nn = []
optim = []
profiler = []
quantization = []
text = []
vision = []

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

[[bin]]
name = "torsh"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.byte-unit]
version = "5.2"

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

[dependencies.clap]
version = "4.6.1"
features = [
    "derive",
    "derive",
    "env",
    "color",
]

[dependencies.clap_complete]
version = "4.6"

[dependencies.colored]
version = "3.1"

[dependencies.console]
version = "0.16"

[dependencies.dialoguer]
version = "0.12"

[dependencies.dirs]
version = "6.0"

[dependencies.fastrand]
version = "2.4"

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

[dependencies.glob]
version = "0.3"

[dependencies.humantime]
version = "2.3"

[dependencies.indicatif]
version = "0.18"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "stream",
    "blocking",
    "json",
    "stream",
]

[dependencies.scirs2-core]
version = "0.4.2"
features = [
    "simd",
    "parallel",
    "memory_management",
    "serialization",
    "oxicode",
    "oxiblas-blas",
    "oxiblas-lapack",
    "oxiblas-ndarray",
    "validation",
    "types",
    "random",
    "simd",
    "parallel",
]

[dependencies.scirs2-linalg]
version = "0.4.2"
optional = true

[dependencies.scirs2-metrics]
version = "0.4.2"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sysinfo]
version = "0.38"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.toml]
version = "1.1"

[dependencies.torsh]
version = "0.1.2"
features = [
    "nn",
    "optim",
    "data",
    "vision",
    "text",
    "quantization",
    "jit",
    "profiler",
    "hub",
]

[dependencies.tracing]
version = "0.1"

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

[dependencies.uuid]
version = "1.23"
features = [
    "v4",
    "serde",
]

[dependencies.walkdir]
version = "2.5"

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

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

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

[lints.clippy]
expect_used = "allow"
large_stack_arrays = "warn"
large_types_passed_by_value = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "allow"
similar_names = "allow"
too_many_lines = "allow"
unwrap_used = "allow"
wildcard_imports = "allow"

[lints.clippy.all]
level = "allow"
priority = -1

[lints.clippy.complexity]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "allow"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "deny"
priority = -1

[lints.rust]
dead_code = "warn"
unreachable_code = "warn"
unsafe_code = "allow"
unused_imports = "warn"
unused_variables = "warn"