We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18d622d commit 4f28a92Copy full SHA for 4f28a92
1 file changed
content/bridging-python-and-rust.md
@@ -35,6 +35,7 @@ pngme-python/
35
├── Cargo.toml
36
├── pyproject.toml
37
├── README.md
38
+
39
```
40
41
- **pngme/src/lib.rs**: The original Rust code with PNG manipulation functionality, that we want to expose as a Python library
@@ -158,6 +159,7 @@ features = ["pyo3/extension-module"]
158
159
Building is as simple as:
160
161
```bash
162
163
maturin develop
164
165
@@ -186,6 +188,7 @@ def test_pngme_encode():
186
188
PyO3 lets you map Rust errors to Python exceptions, so Python users get idiomatic error messages as shown below:
187
189
190
```python
191
192
import pytest
193
194
def test_pngme_unknown_file():
0 commit comments