1 个不稳定版本
使用旧的 Rust 2015
| 0.0.1 | 2019年4月16日 |
|---|
#20 in #mercurial
57KB
1K SLoC
使用 hg-core 对象的 Python 绑定,通过 cpython crate 实现。编译完成后,生成的单个共享库对象可以直接放入 mercurial 包中,作为 rustext.so 或 rustext.dll。它包含多个模块,因此从 Python 的角度来看,它表现得像 cext 包。
示例
>>> from mercurial.rustext import ancestor
>>> ancestor.__doc__
'Generic DAG ancestor algorithms - Rust implementation'
依赖项
~1MB
~22K SLoC