sapling/edenscm/hgext/remotefilelog/lz4wrapper.py
Mark Thomas ae0a81f2c2 rust: move bindings to a single python extension
Summary:
Move all Rust bindings to a single python extension, `bindings`.  This should
improve compilation time and make things simpler.

Reviewed By: quark-zju

Differential Revision: D13923866

fbshipit-source-id: 560592b5a6c0c4f1b836c755ef123666a1059164
2019-02-01 17:53:22 -08:00

14 lines
349 B
Python

# Copyright 2017 Facebook, Inc.
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
from __future__ import absolute_import
from edenscm.mercurial.rust.bindings import lz4
lz4compress = lz4.compress
lz4compresshc = lz4.compresshc
lz4decompress = lz4.decompress