Skip to content

compilation error: serde private module #4

Description

@mooreniemi

Tried cargo add lsm-engine then cargo run in my crate but hit:

   Compiling lsm_engine v0.1.9
error[E0603]: module `export` is private
   --> /home/alex/.cargo/registry/src/github.com-1ecc6299db9ec823/lsm_engine-0.1.9/src/kv.rs:5:12
    |
5   | use serde::export::TryFrom;
    |            ^^^^^^ private module
    |
note: the module `export` is defined here
   --> /home/alex/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.151/src/lib.rs:299:5
    |
299 | use self::__private as export;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0603`.

System details:

# rustc --version
rustc 1.65.0-nightly (060e47f74 2022-08-23)
# cargo --version
cargo 1.65.0-nightly (9809f8ff3 2022-08-16)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions