You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,7 +138,7 @@ Other optional features provide additional integrations:
138
138
-`ownedbytes`– adds compatibility with [`ownedbytes`](https://crates.io/crates/ownedbytes) and implements its `StableDeref` trait.
139
139
-`mmap`– enables memory-mapped file handling via the `memmap2` crate.
140
140
-`zerocopy`– exposes the [`view`](src/view.rs) module for typed zero-copy access and allows using `zerocopy` types as sources.
141
-
-`pyo3`– builds the [`pybytes`](src/pybytes.rs) module to provide Python bindings for `Bytes`.
141
+
-`pyo3`– builds the [`pyanybytes`](src/pyanybytes.rs) module to provide Python bindings for `Bytes`.
142
142
-`winnow`– implements the [`Stream`](https://docs.rs/winnow/) traits for `Bytes` and offers parsers (`view`, `view_elems(count)`) that return typed `View`s.
143
143
144
144
Enabling the `pyo3` feature requires the Python development headers and libraries
@@ -149,7 +149,7 @@ needs these libraries installed; otherwise disable the feature during testing.
149
149
150
150
-[`examples/quick_start.rs`](examples/quick_start.rs) – the quick start shown above
151
151
-[`examples/try_unwrap_owner.rs`](examples/try_unwrap_owner.rs) – reclaim the owner when uniquely referenced
152
-
-[`examples/pybytes.rs`](examples/pybytes.rs) – demonstrates the `pyo3` feature using `PyBytes`
152
+
-[`examples/pyanybytes.rs`](examples/pyanybytes.rs) – demonstrates the `pyo3` feature using `PyAnyBytes`
153
153
-[`examples/from_python.rs`](examples/from_python.rs) – wrap a Python `bytes` object into `Bytes`
154
154
-[`examples/python_winnow.rs`](examples/python_winnow.rs) – parse Python bytes with winnow
155
155
-[`examples/python_winnow_view.rs`](examples/python_winnow_view.rs) – parse structured data from Python bytes using winnow's `view`
@@ -184,7 +184,7 @@ development iterations.
184
184
-[`ByteSource`](src/bytes.rs)– trait for objects that can provide bytes.
0 commit comments