[package] name = "minecraft-essentials" version = "0.2.11" keywords = ["Minecraft", "MinecraftClient"] authors = ["Eveeifyeve "] description = "A Package that gives all Minecraft client launchers essentials." homepage = "https://minecraft-essentials.github.io" repository = "https://github.com/minecraft-essentials/minecraft-essentials" documentation = "https://docs.rs/minecraft-essentials" license-file = "LICENSE" edition = "2021" [build] rustdocflags = ["--theme=ayu"] [[bin]] name = "minecraft-essentials" path = "src/main.rs" [package.metadata.binstall] pkg-url = "{ repo }/releases/download/v{ version }/{ name }-cli" bin-dir = "{ name }-{ target }-v{ version }/{ bin }{ binary-ext }" pkg-fmt = "tgz" [dependencies] tokio = { version = "1.37.0", features = ["rt-multi-thread", "macros", "sync"] } reqwest = { version = "0.12.4", features = ["json"], optional = true } serde = { version = "1.0.198", features = ["derive"], optional = true } clap = { version = "4.5.4", optional = true, features = ["derive"] } serde_urlencoded = { version = "0.7.1", optional = true } serde_json = { version = "1.0.116", optional = true } base64 = { version = "0.22.0", optional = true } ring = { version = "0.17.8", optional = true } rand = { version = "0.8.5", optional = true } hex = { version = "0.4.3", optional = true } url = { version = "2.5.0", optional = true} displaydoc = "0.2.4" thiserror = "1.0.58" [dev-dependencies] dotenv = { version = "0.15.0" } [features] default = ["custom-auth", "custom-launch", "cli"] custom-auth = [ "dep:serde_urlencoded", "dep:serde_json", "dep:reqwest", "dep:serde", "dep:rand", "dep:url" ] custom-launch = [] minecraft-auth = ["dep:ring", "dep:hex"] cli = ["default", "dep:clap", "custom-auth", "minecraft-auth", "custom-launch"] deperacted = []