citahub/cita_trie

Problems when import cita-trie crate

Closed this issue · 0 comments

Add cita_trie = "0.1.3" in Cargo.toml dependencies will cause compile problems. I checked this problem in the simple test project.

error: this file contains an un-closed delimiter
  --> /home/wpf/.cargo/registry/src/github.com-1ecc6299db9ec823/cita_trie-0.1.3/src/db.rs:93:3
   |
8  | pub trait DB: Send + Sync + Debug {
   |                                   - un-closed delimiter
9  |     type Error: Error;
10 |  State {
   |        - this delimiter might not be properly closed...
...
16 | }
   | - ...as it matches this but it has different indentation
...
93 | }
...
...
...

while add cita_trie = { git = "https://github.com/cryptape/cita-trie.git", branch = "master" }, it's ok.
Is there a problem with the crate posted to crate.io?