Compare commits
8 Commits
postcard
...
postcard_c
| Author | SHA1 | Date | |
|---|---|---|---|
| 6424041198 | |||
| 9934825a93 | |||
|
6a21543890
|
|||
|
cb5bd7a628
|
|||
|
069a6e22fe
|
|||
| f1aed09319 | |||
|
af9f5d8f24
|
|||
|
67e7d4daef
|
14
Cargo.lock
generated
14
Cargo.lock
generated
@@ -215,9 +215,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
||||
|
||||
[[package]]
|
||||
name = "bitflags"
|
||||
version = "2.3.3"
|
||||
version = "2.4.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42"
|
||||
checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635"
|
||||
|
||||
[[package]]
|
||||
name = "block-buffer"
|
||||
@@ -228,6 +228,12 @@ dependencies = [
|
||||
"generic-array",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bstringify"
|
||||
version = "0.1.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bd769563b4ea2953e2825c9e6b7470a5f55f67e0be00030bf3e390a2a6071f64"
|
||||
|
||||
[[package]]
|
||||
name = "bumpalo"
|
||||
version = "3.13.0"
|
||||
@@ -330,6 +336,8 @@ dependencies = [
|
||||
"async-compression 0.4.1",
|
||||
"async-stream",
|
||||
"async_zip",
|
||||
"bitflags 2.4.0",
|
||||
"bstringify",
|
||||
"fmmap",
|
||||
"futures",
|
||||
"futures-core",
|
||||
@@ -1403,7 +1411,7 @@ version = "0.38.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0a962918ea88d644592894bc6dc55acc6c0956488adcebbfb6e273506b7fd6e5"
|
||||
dependencies = [
|
||||
"bitflags 2.3.3",
|
||||
"bitflags 2.4.0",
|
||||
"errno 0.3.1",
|
||||
"libc",
|
||||
"linux-raw-sys 0.4.3",
|
||||
|
||||
@@ -6,7 +6,7 @@ extern crate serde_json;
|
||||
extern crate tempfile;
|
||||
|
||||
use chgk_ledb_lib::db::{Reader, Writer, WriterOpts};
|
||||
use chgk_ledb_lib::questions::{binary::Question, QuestionsConverter};
|
||||
use chgk_ledb_lib::questions::{Question, QuestionsConverter};
|
||||
use chgk_ledb_lib::source::ReadSourceQuestionsBatches;
|
||||
|
||||
use std::path::Path;
|
||||
|
||||
@@ -10,7 +10,7 @@ use chgk_ledb_lib::db;
|
||||
use chgk_ledb_lib::questions;
|
||||
use chgk_ledb_lib::source;
|
||||
|
||||
use crate::questions::{binary::Question, QuestionsConverter};
|
||||
use crate::questions::{Question, QuestionsConverter};
|
||||
use crate::source::ReadSourceQuestionsBatches;
|
||||
use chgk_ledb_lib::util::ErrorToString;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ extern crate tempfile;
|
||||
|
||||
use async_compression::Level;
|
||||
use chgk_ledb_lib::async_db::{Reader, Writer, WriterOpts};
|
||||
use chgk_ledb_lib::questions::{binary::Question, QuestionsConverterAsyncForStream};
|
||||
use chgk_ledb_lib::questions::{Question, QuestionsConverterAsyncForStream};
|
||||
use chgk_ledb_lib::source::ReadSourceQuestionsBatchesAsync;
|
||||
use futures::pin_mut;
|
||||
use futures::StreamExt;
|
||||
|
||||
@@ -16,7 +16,7 @@ use tokio::{fs, io};
|
||||
use tokio_stream::wrappers::UnboundedReceiverStream;
|
||||
|
||||
use chgk_ledb_lib::async_db;
|
||||
use chgk_ledb_lib::questions::binary::Question;
|
||||
use chgk_ledb_lib::questions::Question;
|
||||
use chgk_ledb_lib::questions::QuestionsConverterAsyncForStream;
|
||||
use chgk_ledb_lib::source::ReadSourceQuestionsBatchesAsync;
|
||||
use chgk_ledb_lib::util::ErrorToString;
|
||||
|
||||
@@ -47,6 +47,8 @@ zstd = { version = "^0.12", default-features = false, optional = true }
|
||||
memmap = { version = "0.7.0", optional = true }
|
||||
pin-project = { version = "1.1.3", optional = true }
|
||||
postcard = { version = "1.0.6", default-features = false }
|
||||
bitflags = "2.4.0"
|
||||
bstringify = "0.1.2"
|
||||
|
||||
[dev-dependencies]
|
||||
insta = { version = "1.31.0", features = ["yaml"] }
|
||||
|
||||
1067
lib/src/questions.rs
1067
lib/src/questions.rs
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user