# 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 = "juliaup"
version = "1.19.9"
authors = ["David Anthoff <anthoff@berkeley.edu>"]
build = "build.rs"
exclude = [
    ".github/**",
    ".vscode/**",
    ".wix/**",
    "deploy/**",
    "devdocs/**",
    "scripts/**",
    "download_bundled_julia.ps1",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "juliaup"
description = "Julia installer and version multiplexer"
readme = "README.md"
keywords = ["julia"]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/julialang/juliaup"

[package.metadata.msix.winstoremsix]
file = "deploy/msix/PackagingLayout.xml"

[[package.metadata.msix.winstoremsix.variables]]
name = "FlatBundle"
value = "false"

[[package.metadata.msix.winstoremsix.variables]]
name = "PublisherDisplayName"
value = "JuliaHub, Inc."

[[package.metadata.msix.winstoremsix.variables]]
name = "IdentityPublisher"
value = "CN=7FB784C5-4411-4067-914E-A7B06CC00FFC"

[package.metadata.msix.winappinstallermsix]
file = "deploy/msix/PackagingLayout.xml"

[[package.metadata.msix.winappinstallermsix.variables]]
name = "FlatBundle"
value = "true"

[[package.metadata.msix.winappinstallermsix.variables]]
name = "PublisherDisplayName"
value = "JuliaHub, Inc."

[[package.metadata.msix.winappinstallermsix.variables]]
name = "IdentityPublisher"
value = "CN=&quot;JuliaHub, Inc.&quot;, O=&quot;JuliaHub, Inc.&quot;, L=CAMBRIDGE, S=Massachusetts, C=US"

[package.metadata.winappinstaller]
winappinstaller = "deploy/winappinstaller/Julia.appinstaller"

[package.metadata.winres]

[features]
binjuliainstaller = []
binjulialauncher = []
dummy = []
selfupdate = []
windowsappinstaller = []
windowsstore = []
winpkgidentityext = []

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

[[bin]]
name = "julia"
path = "src/bin/julialauncher.rs"

[[bin]]
name = "juliainstaller"
path = "src/bin/juliainstaller.rs"
required-features = ["binjuliainstaller"]

[[bin]]
name = "julialauncher"
path = "src/bin/julialauncher.rs"
required-features = ["binjulialauncher"]

[[bin]]
name = "juliaup"
path = "src/bin/juliaup.rs"

[[test]]
name = "channel_selection"
path = "tests/channel_selection.rs"

[[test]]
name = "command_add"
path = "tests/command_add.rs"

[[test]]
name = "command_api_test"
path = "tests/command_api_test.rs"

[[test]]
name = "command_completions_test"
path = "tests/command_completions_test.rs"

[[test]]
name = "command_default"
path = "tests/command_default.rs"

[[test]]
name = "command_gc"
path = "tests/command_gc.rs"

[[test]]
name = "command_initial_setup_from_launcher_test"
path = "tests/command_initial_setup_from_launcher_test.rs"

[[test]]
name = "command_link"
path = "tests/command_link.rs"

[[test]]
name = "command_list_test"
path = "tests/command_list_test.rs"

[[test]]
name = "command_override_test"
path = "tests/command_override_test.rs"

[[test]]
name = "command_remove"
path = "tests/command_remove.rs"

[[test]]
name = "command_status_test"
path = "tests/command_status_test.rs"

[[test]]
name = "command_update"
path = "tests/command_update.rs"

[[test]]
name = "utils"
path = "tests/utils.rs"

[[test]]
name = "version_selection"
path = "tests/version_selection.rs"

[dependencies.anyhow]
version = "1"

[dependencies.bstr]
version = "1"

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

[dependencies.clap]
version = "4"
features = [
    "derive",
    "color",
    "wrap_help",
]

[dependencies.clap_complete]
version = "4"

[dependencies.clap_complete_nushell]
version = "4"

[dependencies.cli-table]
version = "0.5"

[dependencies.cluFlock]
version = "1"

[dependencies.console]
version = "0.16"

[dependencies.ctrlc]
version = "3"

[dependencies.dialoguer]
version = "0.12"

[dependencies.dirs]
version = "6"

[dependencies.dunce]
version = "1"

[dependencies.env_logger]
version = "0.11"

[dependencies.env_proxy]
version = "0.4"

[dependencies.flate2]
version = "1"

[dependencies.fs_extra]
version = "1"

[dependencies.human-panic]
version = "2"

[dependencies.indicatif]
version = "0.18"

[dependencies.indoc]
version = "2"

[dependencies.is-terminal]
version = "0.4"

[dependencies.itertools]
version = "0.14"

[dependencies.log]
version = "0.4"

[dependencies.normpath]
version = "1"

[dependencies.numeric-sort]
version = "0.1"

[dependencies.path-absolutize]
version = "3"

[dependencies.regex]
version = "1"

[dependencies.retry]
version = "2"

[dependencies.semver]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.shellexpand]
version = "3"

[dependencies.tar]
version = "0.4"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "0.9"

[dependencies.url]
version = "2"

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

[dev-dependencies.assert_fs]
version = "1"

[dev-dependencies.indoc]
version = "2"

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

[build-dependencies.anyhow]
version = "1"

[build-dependencies.built]
version = "0.8"

[build-dependencies.itertools]
version = "0.14"

[build-dependencies.semver]
version = "1"

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

[build-dependencies.serde_json]
version = "1"

[target.'cfg(all(not(target_os = "macos"),not(windows)))'.dependencies.reqwest]
version = "0.13"
features = [
    "blocking",
    "http2",
    "rustls",
    "rustls-native-certs",
    "socks",
]
default-features = false

[target."cfg(not(windows))".dependencies.nix]
version = "0.31"
features = ["process"]

[target.'cfg(target_os = "macos")'.dependencies.reqwest]
version = "0.13"
features = [
    "blocking",
    "http2",
    "native-tls",
    "socks",
]
default-features = false

[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
    "Win32_Foundation",
    "Win32_UI_Shell",
    "Win32_Security",
    "Win32_System_JobObjects",
    "Win32_System_Console",
    "Win32_System_Threading",
    "Services_Store",
    "Foundation",
    "Foundation_Collections",
    "Web_Http",
    "Web_Http_Headers",
    "Storage_Streams",
    "Management_Deployment",
]

[target."cfg(windows)".build-dependencies.winres]
version = "0.1"

[profile.release]
lto = true
codegen-units = 1
