mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
0eb9d79a46
Summary: The 0.3 version (currently being used only in one crate eden/scm/lib/commitcloudsubscriber) is using an old openssl crate which doesn't work with openssl library installed on most machines (Both in FB and on GitHub Actions). Reviewed By: mitrandir77 Differential Revision: D22430649 fbshipit-source-id: b8fa930841dbcdd4c085d8c9488d768b3526e1c4
32 lines
1.0 KiB
TOML
32 lines
1.0 KiB
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]
|
|
anyhow = "1.0.20"
|
|
eventsource = "0.5"
|
|
lazy_static = "1.2.0"
|
|
log = "0.4.6"
|
|
serde = { version = "1.0.80", features = ["derive"] }
|
|
serde_json = "1.0.33"
|
|
reqwest = "0.10"
|
|
rust-ini = "*"
|
|
regex = "1.0.6"
|
|
thiserror = "1.0.5"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.0.4"
|