diff rust/hg-pyo3/src/lib.rs @ 52440:a642c0a3860f

rust-pyo3: conversion helpers for Revision objects Although the PyO3 API is indeed nicer and has derive macros, we still need the collection helpers. The `Result` issue is not very relevant any more, however the checking of incoming revisions for Python definitely is.
author Georges Racinet <georges.racinet@cloudcrane.io>
date Sat, 30 Nov 2024 20:30:18 +0100
parents 20c0472b2ab7
children c2480ac4c5e2
line wrap: on
line diff
--- a/rust/hg-pyo3/src/lib.rs	Sat Nov 30 20:27:11 2024 +0100
+++ b/rust/hg-pyo3/src/lib.rs	Sat Nov 30 20:30:18 2024 +0100
@@ -2,6 +2,7 @@
 
 mod dagops;
 mod exceptions;
+mod revision;
 mod util;
 
 #[pymodule]