bytes-radar 0.5.0

A tool for analyzing code statistics from remote repositories with hyper-fast performance
Documentation
[[bin]]
name = "bradar"
path = "src/main.rs"
required-features = ["cli"]

[dependencies.anyhow]
version = "1.0"

[dependencies.bytes]
version = "1.5"

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

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

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

[dependencies.flate2]
version = "1.1"

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

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

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

[dependencies.log]
version = "0.4"

[dependencies.once_cell]
version = "1.21"

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

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tar]
version = "0.4"

[dependencies.thiserror]
version = "2.0"

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

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

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

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

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

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

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

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

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

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

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

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

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