[package] name = "stblib" version = "0.6.4" edition = "2021" authors = ["Juliandev02 ", "Paddyk45", "matteodev8"] description = "stblib is a simple library that takes over and simplifies important and useful tasks." license = "AGPL-3.0-only" repository = "https://github.com/Strawberry-Foundations/stblib-rust" keywords = ["notifications", "strawberry-chat", "network", "colors", "localization"] categories = ["localization", "network-programming"] [package.metadata.docs.rs] features = ["stbchat", "stbchat-scapi", "notifications", "email", "plugin"] default-target = "x86_64-unknown-linux-gnu" targets = ["x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] reqwest = { version = "0.12.8", features = ["blocking"] } serde = { version = "1.0.210", features = ["derive"] } serde_json = "1.0.129" serde_yaml = "0.9.34" chrono = "0.4.38" regex = "1.11.0" lettre = { version = "0.11.9", optional = true } shellwords = "1.1.0" rmp-serde = { version = "1.3.0", optional = true} tokio = { version = "1.40.0", optional = true, features = ["rt", "rt-multi-thread", "macros"] } socket2 = { version = "0.5.7", optional = true} thiserror = "1.0.64" eyre = "0.6.12" num-traits = "0.2.19" os_info = "3.8.2" dirs = "5.0.1" [target.'cfg(unix)'.dependencies] dbus = { version = "0.6.5", optional = true } [target.'cfg(windows)'.dependencies] winrt-notification = { version = "0.5.1", optional = true } [features] stbchat = ["dep:tokio", "dep:rmp-serde", "dep:socket2"] stbchat-sync = ["stbchat"] stbchat-scapi = ["stbchat"] notifications = ["dep:dbus", "dep:winrt-notification"] email = ["dep:lettre"] plugin = [] full = ["stbchat", "stbchat-scapi", "notifications", "email", "plugin"]