From 73d44f05a62d7ffe05f4735a854bd592106d841f Mon Sep 17 00:00:00 2001 From: Jan Range Date: Mon, 23 Dec 2024 14:38:46 +0100 Subject: [PATCH] add pyo3 --- src/markdown/position.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/markdown/position.rs b/src/markdown/position.rs index 0b1e3ec..c0fb31c 100644 --- a/src/markdown/position.rs +++ b/src/markdown/position.rs @@ -23,6 +23,9 @@ use serde::{Deserialize, Serialize}; +#[cfg(feature = "python")] +use pyo3::prelude::*; + #[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Eq)] #[cfg_attr(feature = "python", pyclass(get_all))] pub struct Position {