[package] name = "pipitor" version = "0.3.0-alpha.15" authors = ["Daiki Mizukami "] edition = "2021" description = """ A Twitter bot that gathers, filters and Retweets Tweets automatically. """ documentation = "https://docs.rs/pipitor/0.3.0-alpha.15/pipitor/" readme = "README.md" repository = "https://github.com/tesaguri/pipitor" license = "AGPL-3.0-only" keywords = ["twitter", "bot"] categories = ["command-line-utilities"] include = [ "LICENSE", "/README.md", "/migrations/*/", "/src/", "/tests/", ] [[bin]] name = "pipitor" path = "src/bin/pipitor/main.rs" [dependencies] anyhow = "1" atoi = "0.4" atom = { version = "0.11", package = "atom_syndication", default-features = false } auto_enums = "0.7" base64 = "0.13" bytes = "1" cfg-if = "1" diesel = { version = "1.4.7", default-features = false, features = ["r2d2", "sqlite"] } diesel_migrations = { version = "1", default-features = false, features = ["sqlite"] } dotenv = "0.15" env_logger = "0.9" flate2 = "1" fs2 = "0.4" futures = { version = "0.3", default-features = false, features = ["async-await", "std"] } hex = "0.4" hmac = "0.11" http = "0.2.5" http-body = "0.4.2" http-serde = "1" hyper = { version = "0.14", features = ["client", "http1", "http2", "server", "stream"] } itoa = "0.4" json = { version = "1", package = "serde_json" } listenfd = "0.3" log = "0.4.6" mime = "0.3" oauth1 = { version = "0.5", package = "oauth1-request" } oauth-credentials = { version = "0.3", features = ["serde"] } pin-project = "1" rand = "0.8" regex = "1.0.3" rss = { version = "2", default-features = false } serde = { version = "1.0.34", features = ["derive", "rc"] } serde_derive = "1.0.34" serde_urlencoded = "0.7" sha-1 = "0.9" smallvec = { version = "1", features = ["serde"] } string = { version = "0.2", default-features = false } structopt = "0.3" thiserror = "1.0.29" tokio = { version = "1", features = ["io-std", "io-util", "macros", "net", "rt-multi-thread", "signal", "time"] } tower = { version = "0.4", default-features = false, features = ["util"] } tower-http = { version = "0.1.2", features = ["decompression-br", "decompression-gzip"] } tower-service = "0.3" toml = "0.5" twitter-client = "0.0.1" twitter-stream = { version = "0.13", default-features = false } serde_dhall = { version = "0.10", optional = true } hyper-rustls = { version = "0.22", optional = true } hyper-tls = { version = "0.5", optional = true } native-tls-pkg = { version = "0.2.7", package = "native-tls", optional = true } libsqlite3-sys = { version = ">=0.20.1, <0.23.0", optional = true } [target.'cfg(unix)'.dependencies] tokio-stream = { version = "0.1.2", features = ["net"] } [[test]] name = "example_manifest" # XXX: `native-tls` is included because Cargo automatically builds the `bin` target, # which requires a TLS backend. required-features = ["dhall", "native-tls"] [features] default = ["native-tls"] dhall = ["serde_dhall"] native-tls = ["hyper-tls", "native-tls-pkg/alpn"] openssl-vendored = ["hyper-tls/vendored"] rustls = ["hyper-rustls/native-tokio"] sqlite-bundled = ["libsqlite3-sys/bundled"] winsqlite3 = ["libsqlite3-sys/winsqlite3"] [dev-dependencies] hyper = { version = "0.14", default-features = false, features = ["tcp"] } tokio = { version = "1", features = ["macros"] } tokio-test = "0.4" tower-test = "0.4"