# 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 = "2018" name = "telog" version = "0.1.1" authors = ["Triet Trinh "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Aggregate logs from various sources and send real-time notifications to Telegram for easy monitoring." homepage = "https://trinhminhtriet.com" readme = "README.md" keywords = [ "logging", "monitoring", "telegram", "notifications", "utility", ] categories = ["development-tools"] license = "MIT" repository = "https://github.com/trinhminhtriet/telog" [package.metadata.deb] assets = [ [ "target/release/telog", "usr/bin/", "755", ], [ "README.md", "usr/share/doc/telog/README", "644", ], [ "assets/config.yaml", "etc/telog.yaml", "644", ], ] conf-files = ["/etc/telog.yaml"] depends = "$auto" features = [ "bin_core", "ls_counter", "ls_filesystem", "ls_journald", "ls_docker", ] maintainer-scripts = "assets/scripts/" section = "utility" [package.metadata.deb.systemd-units] enable = false start = false [[package.metadata.generate-rpm.assets]] dest = "/usr/bin/telog" mode = "0755" source = "target/release/telog" [[package.metadata.generate-rpm.assets]] config = true dest = "/etc/telog.yaml" mode = "0644" source = "assets/config.yaml" [[package.metadata.generate-rpm.assets]] dest = "/lib/systemd/system/telog.service" mode = "0644" source = "assets/scripts/telog.service" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/doc/telog/LICENSE" doc = true mode = "0644" source = "LICENSE" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/doc/telog/README.md" doc = true mode = "0644" source = "README.md" [lib] name = "telog" path = "src/lib/mod.rs" [[bin]] name = "telog" path = "src/main.rs" doctest = false doc = false required-features = ["bin_core"] [dependencies.anyhow] version = "1.0" [dependencies.bollard] version = "0.9" optional = true [dependencies.cfg-if] version = "1.0" optional = true [dependencies.chrono] version = "0.4" optional = true [dependencies.clap] version = "2.33" optional = true [dependencies.futures] version = "0.3" optional = true [dependencies.hostname] version = "0.3" optional = true [dependencies.log] version = "0.4" features = ["std"] [dependencies.notify] version = "4.0" optional = true [dependencies.reqwest] version = "0.10" features = [ "blocking", "json", "socks", ] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_yaml] version = "0.8" optional = true [dependencies.systemd] version = "0.7" optional = true [dependencies.teloxide] version = "0.3" optional = true [dependencies.tokio] version = "0.2" features = [ "rt-threaded", "macros", "time", "blocking", ] optional = true [features] bin_core = [ "clap", "serde_yaml", "teloxide", "tokio", "chrono", "futures", "hostname", "cfg-if", ] ls_counter = [] ls_docker = ["bollard"] ls_filesystem = ["notify"] ls_journald = ["systemd"]