mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Add derive(Serialize, Deserialize) to FrozenModule
This commit is contained in:
1 file changed
+1
@@ -658,6 +658,7 @@ impl fmt::Debug for CodeObject {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct FrozenModule {
|
||||
pub code: CodeObject,
|
||||
pub package: bool,
|
||||
|
||||
Reference in new issue
Block a user