Skip to content

Commit

Permalink
restore source code
Browse files Browse the repository at this point in the history
  • Loading branch information
Parsa-JF committed Jun 2, 2023
1 parent 577c7de commit cbc7264
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ repository = "https://github.com/sigoden/dufs"
categories = ["command-line-utilities", "web-programming::http-server"]
keywords = ["static", "file", "server", "webdav", "cli"]

[lib]
name = "dufs"
path = "src/main.rs"

[dependencies]
clap = { version = "4", features = ["wrap_help", "env"] }
clap_complete = "4"
Expand Down
1 change: 1 addition & 0 deletions inject/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub mod utils;
1 change: 1 addition & 0 deletions mayhem/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ RUN cargo install -f cargo-fuzz
ADD . /dufs
WORKDIR /dufs

RUN mv inject/lib.rs src/lib.rs
RUN cd ./fuzz && cargo +nightly fuzz build

# Move Fuzzers to a clean image
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mod streamer;
mod tls;
#[cfg(unix)]
mod unix;
pub mod utils;
mod utils;

#[macro_use]
extern crate log;
Expand Down

0 comments on commit cbc7264

Please sign in to comment.