sapling/lib/Cargo.toml
Arun Kulshreshtha 365352a0ba mononokeapi: client library for mononoke api server
Summary:
This diff adds a new `mononokeapi` crate, which is a Rust client library for the Mononoke API server. The crate is intended for use beyond Mercurial, and as such attempts to expose functionality in a reasonably generic way.

Right now, the only method supported by this crate is `/health_check`, which is the API server's health check endpoint that simply returns the string "I_AM_ALIVE" on success. Future diffs will expand this crate to include more of the API server's actual functionality. For now, this version serves as a proof of concept of how all the crate will be structured.

The crate currently uses the `hyper` crate for its HTTP client, with `native-tls` for TLS support. Given that the client credentials required for mutual authentication with the Mononoke VIP are encoded in a format that `native-tls` does not understand, some credential format conversion via the `openssl` crate is necessary.

Reviewed By: DurhamG

Differential Revision: D13055687

fbshipit-source-id: cc944abd579ce49928776646c0dcce567f99c3b6
2018-12-03 17:46:51 -08:00

27 lines
433 B
TOML

[workspace]
members = [
"argparse",
"bookmarkstore",
"commitcloudsubscriber",
"configparser",
"encoding",
"hg_watchman_client",
"indexedlog",
"lz4-pyframe",
"minibench",
"mononokeapi",
"mpatch-sys",
"mpatch",
"pathmatcher",
"radixbuf",
"revisionstore",
"treestate",
"types",
"vlqencoding",
"watchman_client",
"zstdelta",
]
[profile.release]
lto = true