sapling/lib/Cargo.toml
Jun Wu 3a7f54dffe lib: rename hgpython to hgcommands
Summary:
Upcoming patches will move hg command implementations from exec/hgmain to
lib/hgcommands. That has two benefits:

- The `bindings` crate can use `hgcommands` to call Rust commands from Python.
- Solve a link issue about CPython APIs. Right now, if `hgmain` depend
  on *multiple* libraries that depend on `cpython`, there will be a link error
  with `cargo build` complaining about lots of CPython APIs do not exist.
  With this change, `hgcommands` will be the only crate that `hgmain` depends
  on, therefore no such link issues.

Reviewed By: farnz

Differential Revision: D16713538

fbshipit-source-id: 3b0def6eec4870858cdb74ad1b3099dc4cbc42b2
2019-08-08 22:54:09 -07:00

40 lines
664 B
TOML

[workspace]
members = [
"blackbox",
"blackbox/serde_alt",
"bookmarkstore",
"clidispatch",
"cliparser",
"commitcloudsubscriber",
"configparser",
"cpython-ext",
"cpython-failure",
"dag",
"drawdag",
"edenapi",
"encoding",
"hgcommands",
"hg_watchman_client",
"indexedlog",
"lz4-pyframe",
"manifest",
"minibench",
"mpatch-sys",
"mpatch",
"mutationstore",
"nodemap",
"pathmatcher",
"procinfo",
"radixbuf",
"revisionstore",
"stackdesc",
"treestate",
"types",
"vlqencoding",
"watchman_client",
"zstdelta",
]
[profile.release]
lto = "thin"