通过查阅文档,发现Rust中已经提供了使用leveldb的接口。 ... fs::create_dir_all(dir).unwrap(); let path = path_buf.as_path(); let mut options = Options::new(); ...
確定! 回上一頁