# 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 = "bar-rubble" version = "0.5.2" description = "Quickly generate output for viewing in swaybar or similar" documentation = "https://docs.rs/bar-rubble" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://gitlab.com/matt400/rubble" [lib] name = "rubblets" path = "src/rubblets/lib.rs" [[bin]] name = "bar-rubble" path = "src/main.rs" [dependencies.clap] version = "4.3.24" features = ["derive"] [dependencies.glob] version = "0.3.1" optional = true [dependencies.handlebars] version = "4.4.0" [dependencies.ipnetwork] version = "0.20.0" optional = true [dependencies.local-ip-address] version = "0.5.4" optional = true [dependencies.mpris] version = "2.0.1" optional = true [dependencies.pnet] version = "0.34.0" optional = true [dependencies.pnet_datalink] version = "0.34.0" optional = true [dependencies.reqwest] version = "0.11.20" optional = true [dependencies.serde_json] version = "1.0.106" [dependencies.systemstat] version = "0.2.3" optional = true [dependencies.tokio] version = "1.32.0" features = ["full"] [dependencies.whoami] version = "1.4.1" optional = true [features] default = [ "device", "ip", "mail", "mpris", "network", "razor", "weather", "wireguard", ] device = ["dep:systemstat"] ip = ["dep:local-ip-address"] mail = [ "dep:glob", "dep:whoami", ] mpris = ["dep:mpris"] network = [] razor = ["dep:glob"] weather = ["dep:reqwest"] wireguard = [ "dep:ipnetwork", "dep:pnet", "dep:pnet_datalink", ]