Use bytes crate for zerocopy and memory re-use (#182)
* Use bytes. Not yet zerocopy everywhere but compiles * Actually zerocopy * Actually zerocopy * Not actually storing the torrent on disk now
This commit is contained in:
parent
3cc9e444b1
commit
c7ed475f54
20 changed files with 182 additions and 95 deletions
|
|
@ -12,3 +12,4 @@ readme = "README.md"
|
|||
[dependencies]
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
clone_to_owned = { path = "../clone_to_owned", package = "librqbit-clone-to-owned", version = "2.2.1" }
|
||||
bytes = "1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue