Skip to content

Commit 81aea33

Browse files
committed
Export PythonizeDefault for external crates
this is needed to make Pythonizer work in other crates
1 parent e6ba670 commit 81aea33

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,6 @@ mod ser;
4343
pub use crate::de::{depythonize, Depythonizer};
4444
pub use crate::error::{PythonizeError, Result};
4545
pub use crate::ser::{
46-
pythonize, pythonize_custom, PythonizeDictType, PythonizeListType, PythonizeTypes, Pythonizer,
46+
pythonize, pythonize_custom, PythonizeDefault, PythonizeDictType, PythonizeListType,
47+
PythonizeTypes, Pythonizer,
4748
};

src/ser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ impl PythonizeListType for PyList {
5151
}
5252
}
5353

54-
struct PythonizeDefault;
54+
pub struct PythonizeDefault;
5555

5656
impl PythonizeTypes for PythonizeDefault {
5757
type Map = PyDict;

0 commit comments

Comments
 (0)