Skip to content

Commit

Permalink
Moves losetup to a subcrate
Browse files Browse the repository at this point in the history
This removes the dependencies on rustc-serialize and docopts from the
library.
  • Loading branch information
mdaffin committed Apr 30, 2017
1 parent 6f6af4b commit e2b15aa
Show file tree
Hide file tree
Showing 5 changed files with 262 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
target
Cargo.lock
target/
/Cargo.lock
4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "loopdev"
description = "Setup and control loop devices"
version = "0.1.1"
version = "0.1.2"
authors = ["Michael Daffin <[email protected]>"]
license = "MIT"
documentation = "https://disconnected.systems/loopdev/loopdev/"
Expand All @@ -13,5 +13,3 @@ keywords = ["loop", "losetup"]
[dependencies]
errno = "0.1"
libc = "0.2"
docopt = "0.6"
rustc-serialize = "0.3"
247 changes: 247 additions & 0 deletions losetup/Cargo.lock

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

12 changes: 12 additions & 0 deletions losetup/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
authors = ["Michael Daffin <[email protected]>"]
name = "losetup"
version = "0.1.1"

[dependencies]
docopt = "0.7.0"
rustc-serialize = "0.3.24"

[dependencies.loopdev]
optional = false
path = ".."
File renamed without changes.

0 comments on commit e2b15aa

Please sign in to comment.