Add a small data set
This commit is contained in:
parent
9f0f25b98d
commit
5d2dee258c
3 changed files with 53 additions and 0 deletions
3
src/data.rs
Normal file
3
src/data.rs
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
mod small;
|
||||||
|
|
||||||
|
pub use small::SMALL;
|
48
src/data/small.rs
Normal file
48
src/data/small.rs
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
use crate::Task;
|
||||||
|
|
||||||
|
pub const SMALL: &[Task] = &[
|
||||||
|
Task {
|
||||||
|
data: b"eb17a235c386039c41c65bf5",
|
||||||
|
cost: 5_000,
|
||||||
|
},
|
||||||
|
Task {
|
||||||
|
data: b"df33fd171cd4d311775ebe76",
|
||||||
|
cost: 1_000,
|
||||||
|
},
|
||||||
|
Task {
|
||||||
|
data: b"cf36fbab1baf290999d01083",
|
||||||
|
cost: 3_000,
|
||||||
|
},
|
||||||
|
Task {
|
||||||
|
data: b"6310911f1151900d02b5ce42",
|
||||||
|
cost: 8_000_000,
|
||||||
|
},
|
||||||
|
Task {
|
||||||
|
data: b"aefe69a5e5bf22265a14466e",
|
||||||
|
cost: 7_000,
|
||||||
|
},
|
||||||
|
Task {
|
||||||
|
data: b"ed7a38491b5162b875361990",
|
||||||
|
cost: 280_000,
|
||||||
|
},
|
||||||
|
Task {
|
||||||
|
data: b"b935794a8003079c952c3b49",
|
||||||
|
cost: 5_000_000,
|
||||||
|
},
|
||||||
|
Task {
|
||||||
|
data: b"7e2ba11508bd056b3941e4c1",
|
||||||
|
cost: 2_000_000,
|
||||||
|
},
|
||||||
|
Task {
|
||||||
|
data: b"6e1ca1926f4188f1f84eca25",
|
||||||
|
cost: 15_000,
|
||||||
|
},
|
||||||
|
Task {
|
||||||
|
data: b"1ef7ae40e42ae05e8ce9c750",
|
||||||
|
cost: 1_000_000,
|
||||||
|
},
|
||||||
|
Task {
|
||||||
|
data: b"ea6c5b4b03da5bf66e8262b5",
|
||||||
|
cost: 42_000,
|
||||||
|
},
|
||||||
|
];
|
|
@ -1,3 +1,5 @@
|
||||||
|
mod data;
|
||||||
|
|
||||||
use pbkdf2::pbkdf2_hmac;
|
use pbkdf2::pbkdf2_hmac;
|
||||||
use sha2::Sha256;
|
use sha2::Sha256;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue