[package] name = "playit-gg" version = "0.1.1" edition = "2018" repository = "https://github.com/TheBotlyNoob/playit.gg-rust" description = "Unofficial Rust wrapper for https://playit.gg" license = "MIT" resolver = "2" include = ["src/**/*", "README.md"] authors = ["Jay Jackson "] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] reqwest = { version = "0.11", features = ["json", "blocking"] } url = "2.2" serde_json = "1.0" cfg-if = "1.0" serde = { version = "1.0", features = ["derive"] } owo-colors = { version = "3.1", optional = true } crossterm = { version = "0.22", optional = true } iced = { version = "0.3", optional = true } # { version = "0.3", optional = true } [target.'cfg(target_os = "macos")'.dependencies] zip = { version = "0.5", default-features = false, features = ["deflate"] } [lib] path = "src/lib.rs" [[bin]] path = "src/main.rs" name = "playit" required-features = ["cli"] [[bin]] path = "src/gui.rs" name = "playit-gui" required-features = ["gui"] [features] disable-tunnels = [] enable-tunnels = ["disable-tunnels"] package = ["enable-tunnels", "disable-tunnels"] cli = ["owo-colors"] gui = ["full", "iced"] full = ["enable-tunnels", "disable-tunnels"]