# 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.70" name = "pass-it-on" version = "0.16.1" authors = ["Kevin Wheelans "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A library that provides a simple notification client and server that receives messages and passes them on to endpoints" homepage = "https://github.com/kwheelans/pass-it-on" documentation = "https://docs.rs/crate/pass-it-on" readme = "README.md" keywords = [ "notify", "notification", "server", "client", ] license = "MIT" repository = "https://github.com/kwheelans/pass-it-on" [package.metadata.docs.rs] all-features = true [profile.release] lto = true codegen-units = 1 [lib] name = "pass_it_on" path = "src/lib.rs" doctest = false [[bin]] name = "pass-it-on-server" path = "src/bin/pass-it-on-server.rs" required-features = ["server-bin-minimal"] [[example]] name = "simple_client" path = "examples/simple_client.rs" required-features = [ "client", "http-client", "parse-cfg", ] [[test]] name = "client_configuration_tests" path = "tests/client_configuration_tests.rs" required-features = [ "client", "parse-cfg", ] [[test]] name = "server_configuration_tests" path = "tests/server_configuration_tests.rs" required-features = [ "server", "http-server", "parse-cfg", "file", ] [dependencies.async-trait] version = "0.1" optional = true [dependencies.axum] version = "0.7" optional = true [dependencies.axum-server] version = "0.7" features = ["tls-rustls"] optional = true [dependencies.blake3] version = "1" [dependencies.clap] version = "4.4" features = [ "derive", "cargo", ] optional = true [dependencies.directories] version = "5.0" optional = true [dependencies.dyn-clone] version = "1.0" optional = true [dependencies.futures-util] version = "0.3" optional = true [dependencies.mail-send] version = "0.4" optional = true [dependencies.matrix-sdk] version = "0.7" features = [ "automatic-room-key-forwarding", "e2e-encryption", "rustls-tls", "sqlite", ] optional = true default-features = false [dependencies.nix] version = "0.29.0" features = [ "fs", "net", ] optional = true default-features = false [dependencies.reqwest] version = "0.12" features = [ "charset", "http2", "macos-system-configuration", "json", "rustls-tls", ] optional = true default-features = false [dependencies.rustls] version = "0.23.13" optional = true [dependencies.serde] version = "1" features = [ "default", "derive", ] [dependencies.serde_json] version = "1" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = [ "sync", "macros", "rt-multi-thread", ] optional = true default-features = false [dependencies.toml] version = "0.8" features = ["parse"] optional = true default-features = false [dependencies.tracing] version = "0.1" optional = true [dependencies.tracing-subscriber] version = "0.3.18" optional = true [dependencies.typetag] version = "0.2" optional = true [dependencies.url] version = "2.5" features = ["serde"] optional = true [features] bundled-sqlite = ["matrix-sdk?/bundled-sqlite"] client = [ "interfaces", "tokio", "tokio/signal", "tokio/time", "dep:tracing", ] default = [ "server-bin-full", "client", ] discord = [ "endpoints", "dep:tracing", "reqwest", ] email = [ "endpoints", "dep:tracing", "dep:mail-send", ] endpoints = [ "dep:async-trait", "dep:dyn-clone", "dep:typetag", ] file = [ "endpoints", "dep:tracing", "tokio/io-util", ] http = [ "http-client", "http-server", ] http-client = [ "interfaces", "reqwest", "dep:url", "dep:tracing", ] http-server = [ "interfaces", "dep:url", "dep:axum", "dep:axum-server", "dep:tracing", "dep:rustls", ] interfaces = [ "dep:async-trait", "dep:dyn-clone", "dep:typetag", ] matrix = [ "endpoints", "dep:tracing", "dep:matrix-sdk", "dep:futures-util", "dep:url", ] parse-cfg = ["dep:toml"] pipe = [ "pipe-client", "pipe-server", ] pipe-client = [ "interfaces", "dep:tracing", "dep:nix", "tokio/io-util", ] pipe-server = [ "interfaces", "dep:tracing", "dep:nix", "tokio/io-util", ] rustls-tls-native-roots = ["reqwest?/rustls-tls-native-roots"] server = [ "interfaces", "endpoints", "tokio", "tokio/signal", "tokio/time", "dep:tracing", ] server-bin-full = [ "server-bin-minimal", "pipe", "http", "file", "matrix", "discord", "email", ] server-bin-minimal = [ "server", "parse-cfg", "dep:clap", "dep:directories", "dep:tracing-subscriber", ]