bytes-radar 1.1.0

A tool for analyzing code statistics from remote repositories with hyper-fast performance
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"
name = "bytes-radar"
version = "1.1.0"
authors = ["ProgramZmh <zmh@lightxi.com>"]
build = false
exclude = [
    "target/",
    "app/",
    "Cargo.lock",
    "tests/",
    "examples/",
    ".github/",
    ".gitignore",
    ".git/",
    "*.md",
    "benches/",
    "docs/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tool for analyzing code statistics from remote repositories with hyper-fast performance"
readme = "README.md"
keywords = [
    "cloc",
    "code-analysis",
    "remote",
    "cli",
]
license = "Apache-2.0"
repository = "https://github.com/zmh-program/bytes-radar"

[features]
cli = [
    "colored",
    "env_logger",
    "clap",
    "indicatif",
    "serde_yaml",
    "toml",
]
default = ["cli"]
worker = [
    "wasm-bindgen",
    "web-sys",
    "js-sys",
    "wasm-bindgen-futures",
    "serde-wasm-bindgen",
]

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1.5"

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

[dependencies.colored]
version = "2.2"
optional = true

[dependencies.env_logger]
version = "0.11"
optional = true

[dependencies.flate2]
version = "1.1"

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

[dependencies.indicatif]
version = "0.17"
optional = true

[dependencies.instant]
version = "0.1.13"
features = ["wasm-bindgen"]

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.once_cell]
version = "1.21"

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

[dependencies.serde-wasm-bindgen]
version = "0.6"
optional = true

[dependencies.serde-xml-rs]
version = "0.6"

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"
optional = true

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "2.0"

[dependencies.toml]
version = "0.8"
optional = true

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.wasm-bindgen-futures]
version = "0.4"
optional = true

[dependencies.web-sys]
version = "0.3"
features = [
    "Headers",
    "Request",
    "RequestInit",
    "RequestMode",
    "Response",
    "Window",
    "console",
]
optional = true

[dev-dependencies.tokio]
version = "1.46"
features = [
    "macros",
    "rt",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.12"
features = [
    "stream",
    "rustls-tls",
    "json",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.46"
features = [
    "macros",
    "rt",
    "net",
    "io-util",
    "fs",
    "process",
    "signal",
    "time",
    "rt-multi-thread",
    "sync",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.reqwest]
version = "0.12"
features = [
    "stream",
    "json",
    "default-tls",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.tokio]
version = "1.46"
features = [
    "macros",
    "rt",
    "sync",
]
default-features = false

[profile.dev]
opt-level = 0
debug = 2

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