# 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 = "minceraft" version = "0.2.1" description = "A library for minecraft related stuff" license = "MIT OR Apache-2.0" [[example]] name = "login" required-features = [ "net", "auth", ] [[example]] name = "status" required-features = [ "net", "auth", ] [dependencies.aes] version = "0.7" optional = true [dependencies.anyhow] version = "1.0" [dependencies.base64] version = "0.13" optional = true [dependencies.byteorder] version = "1.4" optional = true [dependencies.cfb8] version = "0.7" optional = true [dependencies.chrono] version = "0.4" optional = true [dependencies.flate2] version = "1.0" optional = true [dependencies.hematite-nbt] version = "0.5" optional = true [dependencies.reqwest] version = "0.11" features = [ "blocking", "json", ] optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_derive] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.tokio] version = "1.9" optional = true [dependencies.tokio-byteorder] version = "0.3" optional = true [dependencies.uuid] version = "1.0" optional = true [dev-dependencies.chrono] version = "0.4" [dev-dependencies.rand] version = "0.8" [dev-dependencies.reqwest] version = "0.11" features = [ "blocking", "json", ] [dev-dependencies.rsa_public_encrypt_pkcs1] version = "0.4" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.sha1] version = "0.10" [features] auth = [ "dep:byteorder", "dep:chrono", "dep:reqwest", "dep:serde_json", "dep:serde", "dep:serde_derive", "dep:base64", ] net = [ "dep:aes", "dep:byteorder", "dep:cfb8", "dep:flate2", "dep:hematite-nbt", "dep:uuid", ]