# 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" rust-version = "1.64" name = "pling" version = "0.5.0" authors = ["EdJoPaTo "] build = false include = [ "examples/**/*", "src/**/*", "LICENSE", "README.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Send notifications via Slack, Telegram, ..." readme = "README.md" keywords = [ "notification", "notify", "telegram", "slack", ] categories = [ "command-line-interface", "network-programming", "web-programming::http-client", ] license = "MIT" repository = "https://github.com/EdJoPaTo/pling" [package.metadata.docs.rs] all-features = true [lib] name = "pling" path = "src/lib.rs" [[example]] name = "clap" path = "examples/clap.rs" required-features = [ "ureq", "clap", ] [dependencies.anyhow] version = "1.0.16" [dependencies.clap] version = "4.0.0" features = [ "derive", "env", ] optional = true [dependencies.reqwest] version = "0.12.0" features = [ "rustls-tls", "socks", ] optional = true default-features = false [dependencies.ureq] version = "2.0.0" optional = true [dependencies.url] version = "2.2.0" [features] clap = ["dep:clap"] reqwest = ["dep:reqwest"] ureq = ["dep:ureq"] [lints.clippy] nursery = "warn" pedantic = "warn" [lints.rust] unsafe_code = "forbid"