HomePhabricator

rust-filepatterns: call new Rust implementations from Python

Authored by Alphare.

Description

rust-filepatterns: call new Rust implementations from Python

This change adds the import to the rust-cpython bindings and uses
them when appropriate.

A wrapper function has been defined in the case of _regex to
keep this patch simple.

Differential Revision: https://phab.mercurial-scm.org/D6273