Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ loginutils = [
"getty"
]

mount = ["libmesabox/mount"]
# FIXME: this is only like this because we can't rename dependencies and we use the same macro in
# the tests that libmesabox uses to build
tar_util = ["libmesabox/tar_util"]
lsb = [
"mount",
"tar_util"
]

Expand Down
3 changes: 3 additions & 0 deletions libmesabox/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ loginutils = [
"getty"
]

mount = ["libc", "lazy_static"]
# XXX: temporary until renaming dependencies is supported
tar_util = ["tar", "globset"]
lsb = [
"mount",
"tar"
]

Expand Down Expand Up @@ -100,6 +102,7 @@ kernel32-sys = "0.2.2"
winapi = { version = "0.3.5", features = ["namedpipeapi"] }
nix = "0.10.0"

lazy_static = { version = "1.0.1", optional = true }
libc = { version = "0.2.40", optional = true }
platform-info = { version = "0.0.1", optional = true }
uucore = { git = "https://github.com/uutils/coreutils", features = ["encoding", "fs", "mode", "parse_time"], optional = true }
Expand Down
3 changes: 3 additions & 0 deletions libmesabox/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ extern crate fnv;
extern crate globset;
#[cfg(feature = "libc")]
extern crate libc;
#[cfg(feature = "lazy_static")]
#[macro_use]
extern crate lazy_static;
#[cfg(feature = "mio")]
extern crate mio;
#[cfg(feature = "pnet")]
Expand Down
Loading