java-manager 0.4.0-2b

A Rust library for managing and locating Java installations
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 = "2024"
name = "java-manager"
version = "0.4.0-2b"
authors = ["TaimWay <taimway@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for managing and locating Java installations"
documentation = "https://docs.rs/java-manager"
readme = "Readme.md"
keywords = [
    "java",
    "locator",
    "manager",
    "jvm",
]
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/TaimWay/java-manager"

[features]
default = []
download = [
    "reqwest",
    "tokio",
    "futures-util",
    "flume",
    "zip",
    "flate2",
    "tar",
]
everything = ["everything-sdk"]
parallel = ["rayon"]

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

[[example]]
name = "download"
path = "examples/download.rs"

[[example]]
name = "execute"
path = "examples/execute.rs"

[[example]]
name = "java-home"
path = "examples/java-home.rs"

[[example]]
name = "quick-start"
path = "examples/quick-start.rs"

[[example]]
name = "search"
path = "examples/search.rs"

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

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

[dependencies.glob]
version = "0.3.3"

[dependencies.is_executable]
version = "1.0.5"

[dependencies.log]
version = "0.4"

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.reqwest]
version = "0.12"
features = ["stream"]
optional = true
default-features = false

[dependencies.shell-words]
version = "1.1.1"

[dependencies.tokio]
version = "1"
features = [
    "fs",
    "io-util",
    "rt",
    "macros",
    "rt-multi-thread",
]
optional = true

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

[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies.flate2]
version = "1"
optional = true

[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies.tar]
version = "0.4"
optional = true

[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies.walkdir]
version = "2"

[target.'cfg(target_os = "windows")'.dependencies.everything-sdk]
version = "0.0.6"
optional = true

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62.2"
features = [
    "Win32_Foundation",
    "Win32_UI_WindowsAndMessaging",
]

[target.'cfg(target_os = "windows")'.dependencies.winreg]
version = "0.55.0"

[target.'cfg(target_os = "windows")'.dependencies.zip]
version = "2"
optional = true