mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
31107a525f
Summary: Add Rust wrappers around Mercurial's Python `progress` module, allowing Rust code to create and use Python progress bars. The wrapper types implement the traits from the `progress` crate, so they can be passed to pure Rust crates in `scm/lib`. In typical usage, the Rust bindings will create a `PyProgressFactory`, which will be passed to pure Rust code as a trait object or via generics. Reviewed By: markbt Differential Revision: D23982317 fbshipit-source-id: 4c0fde0b2423b6449c7c5155fdfd98f5da042b0d
57 lines
2.0 KiB
TOML
57 lines
2.0 KiB
TOML
[package]
|
|
name = "bindings"
|
|
version = "0.1.0"
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
name = "bindings"
|
|
|
|
[features]
|
|
default = []
|
|
python2 = ["pybytes/python2", "pytracing/python2", "pyindexes/python2", "pydirs/python2"]
|
|
python3 = ["pybytes/python3", "pytracing/python3", "pyindexes/python3", "pydirs/python3"]
|
|
|
|
[profile.release]
|
|
debug = true
|
|
incremental = true
|
|
lto = false
|
|
|
|
[dependencies]
|
|
cpython-ext = { path = "../../lib/cpython-ext", default-features = false }
|
|
cpython = { version = "0.5", default-features = false }
|
|
pyblackbox = { path = "modules/pyblackbox" }
|
|
pybookmarkstore = { path = "modules/pybookmarkstore" }
|
|
pybytes = { path = "modules/pybytes" }
|
|
pycliparser = { path = "modules/pycliparser" }
|
|
pyconfigparser = { path = "modules/pyconfigparser" }
|
|
pydag = { path = "modules/pydag" }
|
|
pydiffhelpers = { path = "modules/pydiffhelpers" }
|
|
pydirs = { path = "modules/pydirs" }
|
|
pyedenapi = { path = "modules/pyedenapi" }
|
|
pyerror = { path = "modules/pyerror" }
|
|
pyfs = { path = "modules/pyfs" }
|
|
pyhgmetrics = { path = "modules/pyhgmetrics" }
|
|
pyhgtime = { path = "modules/pyhgtime" }
|
|
pyindexes = { path = "modules/pyindexes", default-features = false }
|
|
pylz4 = { path = "modules/pylz4" }
|
|
pymanifest = { path = "modules/pymanifest" }
|
|
pymetalog = { path = "modules/pymetalog" }
|
|
pymutationstore = { path = "modules/pymutationstore" }
|
|
pynodemap = { path = "modules/pynodemap" }
|
|
pypager = { path = "modules/pypager" }
|
|
pypathmatcher = { path = "modules/pypathmatcher" }
|
|
pyprocess = { path = "modules/pyprocess" }
|
|
pyprogress = { path = "modules/pyprogress" }
|
|
pyregex = { path = "modules/pyregex" }
|
|
pyrenderdag = { path = "modules/pyrenderdag" }
|
|
pyrevisionstore = { path = "modules/pyrevisionstore" }
|
|
pyrevlogindex = { path = "modules/pyrevlogindex" }
|
|
pythreading = { path = "modules/pythreading" }
|
|
pytracing = { path = "modules/pytracing", default-features = false }
|
|
pytreestate = { path = "modules/pytreestate" }
|
|
pyvlq = { path = "modules/pyvlq" }
|
|
pyworker = { path = "modules/pyworker" }
|
|
pyworkingcopy = { path = "modules/pyworkingcopy" }
|
|
pyzstd = { path = "modules/pyzstd" }
|
|
pyzstore = { path = "modules/pyzstore" }
|