logoalt Hacker News

math-hiyokolast Thursday at 9:25 AM0 repliesview on HN

No, the library itself does not use unsafe Rust at all. The Python bindings are built using PyO3, which internally uses unsafe (as required to interface with the CPython C API), but that is fully encapsulated within PyO3. The core data structure and algorithms remain purely safe Rust.