mho 0.1.0

A Rust port of ShellCrash - A tool for managing proxy cores like Clash/Mihomo/SingBox
# 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 = "2024"
name = "mho"
version = "0.1.0"
authors = ["ahaoboy"]
build = false
include = [
    "/src",
    "/Cargo.toml",
    "/README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust port of ShellCrash - A tool for managing proxy cores like Clash/Mihomo/SingBox"
readme = "README.md"
license = "MIT"
repository = "https://github.com/ahaoboy/mho"

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

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

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

[dependencies.clap_complete]
version = "4"

[dependencies.const-str]
version = "1"

[dependencies.easy-install]
version = "1"
features = ["tar-gz"]
default-features = false

[dependencies.fs4]
version = "1"

[dependencies.git-version]
version = "0.3"

[dependencies.github-proxy]
version = "0.1"
features = ["serde"]

[dependencies.guess-target]
version = "0.1"
features = ["serde"]

[dependencies.humansize]
version = "2"

[dependencies.humantime]
version = "2"

[dependencies.is-admin]
version = "0.1"

[dependencies.local-ip-address]
version = "0.6"

[dependencies.public-ip-address]
version = "0.4"
features = ["rustls-tls"]
default-features = false

[dependencies.reqwest]
version = "0.13"
features = [
    "gzip",
    "rustls-native-certs",
]
default-features = false

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

[dependencies.serde-mihomo]
version = "0.1"

[dependencies.serde-saphyr]
version = "1"

[dependencies.serde_json]
version = "1"

[dependencies.strum]
version = "0.28"
features = ["derive"]

[dependencies.strum_macros]
version = "0.28"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "time",
]
default-features = false

[dependencies.which]
version = "8"

[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.61"
features = [
    "Win32_System_Console",
    "Win32_Foundation",
]

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[profile.bloaty]
lto = false
debug = 2
inherits = "release"
strip = false

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