mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 10:44:36 +08:00
Merge pull request #2271 from RustPython/frozen-serde
Add derive(Serialize, Deserialize) to FrozenModule
This commit is contained in:
1 file changed
+1
@@ -660,6 +660,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