Skip to content

Commit

Permalink
Rename to quick-serve
Browse files Browse the repository at this point in the history
  • Loading branch information
joaofl committed Jan 8, 2024
1 parent 6d3cde0 commit 2d5bc39
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 78 deletions.
45 changes: 0 additions & 45 deletions .vscode/launch.json

This file was deleted.

48 changes: 24 additions & 24 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package]
authors = ["João Loureiro"]
name = "any-serve"
name = "quick-serve"
version = "0.1.0"
edition = "2021"

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[![Build Status](https://github.com/joaofl/any-serve/actions/workflows/rust.yml/badge.svg)](https://github.com/joaofl/any-serve/actions/workflows/rust.yml)
![](https://tokei.rs/b1/github/joaofl/any-serve?category=code)
[![](https://deps.rs/repo/github/joaofl/any-serve/status.svg)](https://deps.rs/repo/github/joaofl/any-serve)
[![Build Status](https://github.com/joaofl/quick-serve/actions/workflows/rust.yml/badge.svg)](https://github.com/joaofl/quick-serve/actions/workflows/rust.yml)
![](https://tokei.rs/b1/github/joaofl/quick-serve?category=code)
[![](https://deps.rs/repo/github/joaofl/quick-serve/status.svg)](https://deps.rs/repo/github/joaofl/quick-serve)


# Any-serve
# Quick-serve
No setup, zero-config, multi-platform, multi-protocol, standalone server for developers or whoever wants to promptly
serve some files over the network.

Expand Down
Binary file added logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ extern crate ctrlc;
extern crate core;

#[derive(Parser, Debug)]
#[command(author, version, about = "Any-serve", long_about = "Instant file serving made easy")]
#[command(author, version, about = "Quick-serve", long_about = "Instant file serving made easy")]
struct Cli {

#[arg(
Expand Down Expand Up @@ -196,8 +196,8 @@ mod tests {

#[test]
fn test_cli_help() {
let mut cmd = Command::cargo_bin("any-serve").unwrap();
let mut cmd = Command::cargo_bin("quick-serve").unwrap();
cmd.arg("--help");
cmd.assert().success().stdout(predicate::str::contains("Usage: any-serve"));
cmd.assert().success().stdout(predicate::str::contains("Usage: quick-serve"));
}
}
2 changes: 1 addition & 1 deletion src/tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub mod tests {
let dir_path_c = dir_path.clone();

let server = thread::spawn(move || {
let mut cmd = Command::cargo_bin("any-serve").unwrap();
let mut cmd = Command::cargo_bin("quick-serve").unwrap();
let arg_str = format!("-p={} -b=127.0.0.1 -v --{}={}", dir_path.to_str().unwrap(), proto.to_string(), port);
println!("Running cmd: {}", arg_str);
cmd.timeout(Duration::from_secs(2));
Expand Down

0 comments on commit 2d5bc39

Please sign in to comment.