Skip to content

Provide deflate native module? #1

@jonnor

Description

@jonnor

For decompression support, this library relies on the deflate module being available. And for compression, the deflate library must additionally have been built with compression enabled - which is not the default on even the bigger port configurations like ESP32 or Unix.

However, it seems that there is a native module available for deflate - at https://github.com/micropython/micropython/blob/master/examples/natmod/deflate/deflate.c
So it would seem to be possible to build that into .mpy modules that can be installed at runtime, without having to rebuild and reflash a device. Ideally, this kind of downloadable module would be provided by upstream MicroPython. But as a workaround, it could be relevant to provide it here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions