From 906af1587144dd4b3caecacdff5ea834012cffa4 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Sun, 28 Mar 2021 22:41:07 +0200 Subject: Refuse to start without explicit path if not attached to interactive terminal --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index d02617e..56ccd1e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,6 +48,7 @@ mime = "0.3" httparse = "1" http = "0.2.3" bytes = "1" +atty = "0.2" [dev-dependencies] assert_cmd = "1" -- cgit v1.2.3 From 9b278a471a7c9f0587ee421335a2f675afe90eb7 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Sun, 28 Mar 2021 22:46:32 +0200 Subject: Bump deps --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 56ccd1e..2bc1481 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ panic = 'abort' [dependencies] yansi = "0.5" actix-web = "3" -simplelog = "0.9" +simplelog = "0.10" percent-encoding = "2" port_check = "0.1" bytesize = "1.0.0" -- cgit v1.2.3 From 4f060be689942f4b9b226e997da6a678f05d5442 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Sun, 28 Mar 2021 22:52:12 +0200 Subject: Don't explicitly specify all the patch versions This should in theory allow us to have more overlaps between sub-dependencies and thus reduce binary size. --- Cargo.toml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 2bc1481..0c685c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,31 +22,31 @@ actix-web = "3" simplelog = "0.10" percent-encoding = "2" port_check = "0.1" -bytesize = "1.0.0" +bytesize = "1" nanoid = "0.3" alphanumeric-sort = "1" structopt = "0.3" -chrono = "0.4.19" -chrono-humanize = "0.1.2" -maud = { version = "0.22.2", features = ["actix-web"] } +chrono = "0.4" +chrono-humanize = "0.1" +maud = { version = "0.22", features = ["actix-web"] } serde = { version = "1", features = ["derive"] } -tar = "0.4.33" -futures = "0.3.13" +tar = "0.4" +futures = "0.3" libflate = "1" thiserror = "1" -log = "0.4.14" -strum = "0.20.0" -strum_macros = "0.20.1" +log = "0.4" +strum = "0.20" +strum_macros = "0.20" sha2 = "0.9" -hex = "0.4.3" +hex = "0.4" zip = "0.5.11" qrcodegen = "1" actix-files = "0.5" -actix-multipart = "0.3.0" -actix-web-httpauth = "0.5.1" +actix-multipart = "0.3" +actix-web-httpauth = "0.5" mime = "0.3" httparse = "1" -http = "0.2.3" +http = "0.2" bytes = "1" atty = "0.2" @@ -61,4 +61,4 @@ pretty_assertions = "0.7" url = "2" [build-dependencies] -grass = "0.10.4" +grass = "0.10" -- cgit v1.2.3 From ae54ca44f52651e5931641aba1a5074218905c96 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Sun, 28 Mar 2021 23:16:22 +0200 Subject: (cargo-release) version 0.13.0 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 0c685c5..f2e54bc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "miniserve" -version = "0.12.2-alpha.0" +version = "0.13.0" description = "For when you really just want to serve some files over HTTP right now!" authors = ["Sven-Hendrik Haase ", "Boastful Squirrel "] repository = "https://github.com/svenstaro/miniserve" -- cgit v1.2.3 From 4719779182d6dcec2f3134436b57a9f0832a4a20 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Sun, 28 Mar 2021 23:17:00 +0200 Subject: (cargo-release) start next development iteration 0.13.1-alpha.0 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index f2e54bc..1a5f83e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "miniserve" -version = "0.13.0" +version = "0.13.1-alpha.0" description = "For when you really just want to serve some files over HTTP right now!" authors = ["Sven-Hendrik Haase ", "Boastful Squirrel "] repository = "https://github.com/svenstaro/miniserve" -- cgit v1.2.3 From fd50bff64652767ceef08c3fdcfdc53def1111c7 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Wed, 7 Apr 2021 04:16:30 +0000 Subject: Bump nanoid from 0.3.0 to 0.4.0 Bumps [nanoid](https://github.com/nikolay-govorov/nanoid) from 0.3.0 to 0.4.0. - [Release notes](https://github.com/nikolay-govorov/nanoid/releases) - [Changelog](https://github.com/nikolay-govorov/nanoid/blob/master/CHANGELOG.md) - [Commits](https://github.com/nikolay-govorov/nanoid/compare/v0.3.0...v0.4.0) Signed-off-by: dependabot-preview[bot] --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 1a5f83e..0a73dc1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ simplelog = "0.10" percent-encoding = "2" port_check = "0.1" bytesize = "1" -nanoid = "0.3" +nanoid = "0.4" alphanumeric-sort = "1" structopt = "0.3" chrono = "0.4" -- cgit v1.2.3 From c11ff4e9a72248a8a8131bd7d4cb25bd6ae05841 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Sun, 18 Apr 2021 04:52:22 +0200 Subject: Group actix deps together --- Cargo.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 0a73dc1..cc264ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,8 +17,12 @@ codegen-units = 1 panic = 'abort' [dependencies] -yansi = "0.5" actix-web = "3" +actix-files = "0.5" +actix-multipart = "0.3" +actix-web-httpauth = "0.5" +maud = { version = "0.22", features = ["actix-web"] } +yansi = "0.5" simplelog = "0.10" percent-encoding = "2" port_check = "0.1" @@ -28,7 +32,6 @@ alphanumeric-sort = "1" structopt = "0.3" chrono = "0.4" chrono-humanize = "0.1" -maud = { version = "0.22", features = ["actix-web"] } serde = { version = "1", features = ["derive"] } tar = "0.4" futures = "0.3" @@ -41,9 +44,6 @@ sha2 = "0.9" hex = "0.4" zip = "0.5.11" qrcodegen = "1" -actix-files = "0.5" -actix-multipart = "0.3" -actix-web-httpauth = "0.5" mime = "0.3" httparse = "1" http = "0.2" -- cgit v1.2.3