# 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 = "update-informer" version = "1.1.0" authors = ["Mikhail Grachev "] include = [ "/src", "README.md", ] description = "Update informer for CLI applications" homepage = "https://github.com/mgrachev/update-informer" documentation = "https://docs.rs/update-informer" readme = "README.md" keywords = [ "cli", "update", "informer", "notifier", "github", ] categories = ["command-line-interface"] license = "MIT" repository = "https://github.com/mgrachev/update-informer" [[example]] name = "github" path = "examples/github.rs" required-features = ["github"] [[example]] name = "npm" path = "examples/npm.rs" required-features = ["npm"] [[example]] name = "pypi" path = "examples/pypi.rs" required-features = ["pypi"] [dependencies.directories] version = "5.0" [dependencies.reqwest] version = "0.11" features = [ "blocking", "json", ] optional = true default-features = false [dependencies.semver] version = "1.0" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.ureq] version = "2.4" features = [ "gzip", "json", ] optional = true default-features = false [dev-dependencies.colored] version = "2.0" [dev-dependencies.isahc] version = "1.7" features = ["json"] [dev-dependencies.mockito] version = "0.32" [dev-dependencies.once_cell] version = "1.10" [features] crates = [] default = [ "crates", "ureq", "rustls-tls", ] github = [] native-tls = [ "ureq?/native-tls", "reqwest?/native-tls", ] npm = [] pypi = [] reqwest = ["dep:reqwest"] rustls-tls = [ "ureq?/tls", "reqwest?/rustls-tls", ] ureq = ["dep:ureq"]