mirror of
https://github.com/rust-unofficial/awesome-rust.git
synced 2025-01-03 05:10:17 +02:00
Merge branch 'master' into patch-1
This commit is contained in:
commit
bdc2e109aa
@ -179,7 +179,7 @@ See also [Rust — Production](https://www.rust-lang.org/production) organizatio
|
||||
|
||||
### Database
|
||||
|
||||
* [Databend](https://github.com/datafuselabs/databend) - A Modern Real-Time Data Processing & Analytics DBMS with Cloud-Native Architecture [![Build](https://github.com/datafuselabs/databend/actions/workflows/databend-build.yml/badge.svg)](https://github.com/datafuselabs/databend/actions/workflows/databend-build.yml)
|
||||
* [Databend](https://github.com/datafuselabs/databend) - A Modern Real-Time Data Processing & Analytics DBMS with Cloud-Native Architecture [![Build](https://github.com/datafuselabs/databend/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/datafuselabs/databend/actions/workflows/unit-tests.yml)
|
||||
* [indradb](https://crates.io/crates/indradb) — Rust based graph database [![build badge](https://api.travis-ci.org/indradb/indradb.svg?branch=master)](https://travis-ci.org/indradb/indradb)
|
||||
* [Lucid](https://github.com/lucid-kv/lucid) — High performance and distributed KV store accessible through a HTTP API. [![Build Status](https://github.com/lucid-kv/lucid/workflows/Lucid/badge.svg?branch=master)](https://github.com/lucid-kv/lucid/actions?workflow=Lucid)
|
||||
* [Materialize](https://github.com/MaterializeInc/materialize) - Streaming SQL database powered by Timely Dataflow :heavy_dollar_sign: [![Build status](https://badge.buildkite.com/97d6604e015bf633d1c2a12d166bb46f3b43a927d3952c999a.svg?branch=main)](https://buildkite.com/materialize/tests)
|
||||
|
@ -420,7 +420,6 @@ async fn main() -> Result<(), Error> {
|
||||
|
||||
#[derive(Debug)]
|
||||
struct ListInfo {
|
||||
location: usize,
|
||||
data: Vec<String>,
|
||||
}
|
||||
|
||||
@ -436,7 +435,7 @@ async fn main() -> Result<(), Error> {
|
||||
let mut last_level: u32 = 0;
|
||||
let mut star_override_level: Option<u32> = None;
|
||||
|
||||
for (event, range) in parser.into_offset_iter() {
|
||||
for (event, _range) in parser.into_offset_iter() {
|
||||
match event {
|
||||
Event::Start(tag) => {
|
||||
match tag {
|
||||
@ -505,10 +504,7 @@ async fn main() -> Result<(), Error> {
|
||||
list_items.last_mut().unwrap().data.push(list_item.clone());
|
||||
in_list_item = false;
|
||||
}
|
||||
list_items.push(ListInfo {
|
||||
location: range.start,
|
||||
data: Vec::new(),
|
||||
});
|
||||
list_items.push(ListInfo { data: Vec::new() });
|
||||
}
|
||||
Tag::Item => {
|
||||
if in_list_item && list_item.len() > 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user