sapling/lib/commitcloudsubscriber/Cargo.toml
Hugh Harris 99a1b993c3 Add secrets authentication for commitcloud in scm_daemon
Summary: If the daemon can't find the token file, it will try to read from secrets_tool on unix-like systems. Integrates well with people who have enabled the secrets_token option as their token file will have been deleted.

Reviewed By: liubov-dmitrieva

Differential Revision: D9029795

fbshipit-source-id: b364d9e8885ee0473b8d1effd6ee0b2e86a699f9
2018-08-02 12:06:47 -07:00

31 lines
938 B
TOML

[package]
name = "commitcloudsubscriber"
version = "0.1.0"
description = """ \
Cross platform client for subscribing to Commit Cloud eventsource (http server-sent events) \
The workflow is the following: \
* define 'subscription' as a unique [repo_name, workspace] pair \
* read set of 'subscribers', defined as [repo_name, workspace, repo_root] \
* runs a Commit Cloud eventsource listener in a separate thread for every 'subscription' \
(and a set of 'subscribers' (repo_roots)) \
* triggers `hg cloud sync` command on notifications in all 'subscribers' (repo_roots) \
for a given 'subscription' \
* the library also contains a module to find OAuth token, \
this logic should be in sync with `hg cloud auth` command. \
"""
[dependencies]
eventsource = "*"
failure = "*"
lazy_static = "*"
log = "*"
serde = "*"
serde_derive = "*"
serde_json = "*"
reqwest = "*"
rust-ini = "*"
regex = "*"
[dev-dependencies]
tempfile = "*"