Upgrade primal and pyo3 dependencies

This commit is contained in:
Christopher Berner 2020-10-24 10:58:56 -07:00
parent 30bfeaf273
commit 4bf46ec16b
2 changed files with 3 additions and 3 deletions

@ -14,11 +14,11 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
serde = {version = "1.0.102", features=["std", "derive"], optional = true}
pyo3 = {version = "0.11.1", features=["extension-module"], optional = true }
pyo3 = {version = "0.12", features=["extension-module"], optional = true }
[dev-dependencies]
criterion = "0.3"
primal = "0.2"
primal = "0.3"
rand = "0.7"
threadpool = "1.7"

@ -144,7 +144,7 @@ impl Encoder {
}
pub fn get_config(&self) -> ObjectTransmissionInformation {
self.config.clone()
self.config
}
pub fn get_encoded_packets(&self, repair_packets_per_block: u32) -> Vec<EncodingPacket> {