sapling/eden/scm/lib/commitcloudsubscriber/Cargo.toml
Adam Simpkins ab3a7cb21f Move fb-mercurial sources into an eden/scm subdirectory.
Summary:
In preparation for merging fb-mercurial sources to the Eden repository,
move everything from the top-level directory into an `eden/scm`
subdirectory.
2019-11-13 16:04:48 -08:00

31 lines
1011 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. \
"""
edition = "2018"
[dependencies]
eventsource = "0.3.0"
failure = "0.1.3"
lazy_static = "1.2.0"
log = "0.4.6"
serde = { version = "1.0.80", features = ["derive"] }
serde_json = "1.0.33"
reqwest = "0.9.4"
rust-ini = "*"
regex = "1.0.6"
[dev-dependencies]
tempfile = "3.0.4"