sapling/eden/scm/edenscmnative/bindings/Cargo.toml
Jun Wu 08093da71d pybytes: convert Rust Bytes to Python buffer or memoryview
Summary:
This will be used by the next change.

The reason we use a `buffer` or `memoryview` instead of Python `bytes` is to expose
the buffer in a zero-copy way. That is important for startup performance.

Reviewed By: DurhamG

Differential Revision: D22303306

fbshipit-source-id: 3f7c8dff3575b998e025cd5940faa0c183b11626
2020-06-30 10:19:03 -07:00

55 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 = { version = "0.5", default-features = false }
cpython-ext = { path = "../../lib/cpython-ext", default-features = false }
pyblackbox = { path = "modules/pyblackbox" }
pybytes = { path = "modules/pybytes" }
pybookmarkstore = { path = "modules/pybookmarkstore" }
pycliparser = { path = "modules/pycliparser" }
pyconfigparser = { path = "modules/pyconfigparser" }
pydag = { path = "modules/pydag" }
pydiffhelpers = { path = "modules/pydiffhelpers" }
pydirs = { path = "modules/pydirs" }
pydynamicconfig = { path = "modules/pydynamicconfig" }
pyedenapi = { path = "modules/pyedenapi" }
pyerror = { path = "modules/pyerror" }
pyfs = { path = "modules/pyfs" }
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" }
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" }