1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#![doc(
html_logo_url = "https://raw.githubusercontent.com/RustSec/logos/master/rustsec-logo-lg.png",
html_root_url = "https://docs.rs/cargo-lock/0.1.0"
)]
#![forbid(unsafe_code)]
#![warn(missing_docs, rust_2018_idioms, unused_qualifications)]
#[macro_use]
pub mod error;
#[cfg(feature = "dependency-graph")]
pub mod dependency_graph;
pub mod lockfile;
pub mod metadata;
pub mod package;
pub use self::{error::Error, lockfile::Lockfile, package::Package};
#[cfg(feature = "dependency-graph")]
pub use self::dependency_graph::DependencyGraph;