Skip to content

Commit

Permalink
add pyo3
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-1991 committed Dec 23, 2024
1 parent 8bbe192 commit 73d44f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/markdown/position.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 73d44f0

Please sign in to comment.