1bbea64642
update
2025-01-02 17:54:55 +01:00
ac9a3b01dc
update
build test lint / build (nightly) (push) Failing after 1s
build test lint / build (stable) (push) Failing after 1s
2025-01-02 17:51:58 +01:00
b35017f8a4
change sort
2024-11-10 01:52:33 +01:00
ecd5b9368b
update cargo.toml
2024-11-08 04:23:24 +01:00
0e054b83df
unused imports
2024-11-07 15:06:28 +01:00
37cfeaebec
remove favicon
2024-11-07 15:03:49 +01:00
91fee3387a
Update readme
2024-11-07 14:30:50 +01:00
1a5cee437c
Some small changes to make it work for my uses
2024-11-07 14:16:29 +01:00
Дамјан Георгиевски
ba6c98a314
cargo update
2024-05-17 18:49:52 +02:00
Дамјан Георгиевски
d5c19a901f
update checkout action to v4
2024-05-17 18:49:41 +02:00
Дамјан Георгиевски
97d01abfc6
fix release workflow
2024-03-30 23:59:59 +01:00
Дамјан Георгиевски
3fcc5e33a2
update dependencies
...
and release v0.13.2
2024-03-30 23:32:58 +01:00
Дамјан Георгиевски
ac2f55f457
Implement cosign signing of release builds
...
references:
- https://github.com/sigstore/cosign/blob/main/doc/cosign_sign-blob.md
- https://github.blog/2022-10-25-why-were-excited-about-the-sigstore-general-availability/
- https://github.com/marketplace/actions/cosign-installer
2024-03-30 23:32:57 +01:00
dependabot[bot]
36aab2a7d2
Bump tokio from 1.21.2 to 1.24.2 ( #13 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.21.2 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 12:46:57 +01:00
Дамјан Георгиевски
55f97e8638
cargo update ( #12 )
2022-11-03 00:49:12 +01:00
Дамјан Георгиевски
106b67742e
clippy: single-character string constant used as pattern
...
https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
2022-09-09 15:03:27 +02:00
Дамјан Георгиевски
0736d656a4
bump dependencies and version
2022-09-09 14:54:05 +02:00
Дамјан Георгиевски
0deb014225
cargo.toml profiles support strip = true
...
so use that in the release profile,
no need to run the explicit strip command now
also `codegen-units = 1` for more optimizations
2022-09-09 14:45:44 +02:00
Дамјан Георгиевски
84599e5d82
cargo fmt
2022-03-01 14:40:41 +01:00
Дамјан Георгиевски
24ee4f3f09
Actix v4 ( #11 )
...
Updated to:
* actix-web 4.0.0
* actix-files 0.6.0
* clap 3.1.0
* rust edition 2021
2022-03-01 14:33:21 +01:00
Дамјан Георгиевски
d3fd28461c
stream_tar_in_thread will take a Path now
...
it's more common for functions to receive the immutable Path as input argument,
as opposed to a PathBuf
2020-09-20 19:11:49 +02:00
Дамјан Георгиевски
9ce64f88fa
test for directory name + .tar, not just directory name
2020-09-20 18:58:53 +02:00
Дамјан Георгиевски
67195c4b11
add a newline to 404 body, looks better in curl
2020-09-20 18:58:08 +02:00
Дамјан Георгиевски
2281406f98
let's use longer names :)
2020-09-20 18:57:16 +02:00
Дамјан Георгиевски
665f86af45
remove custom event for release action
...
instead, trigger on all tags beginning with v*
like v0.10.0 or v0.12.0, etc
also add asset_name to the release action, and make and upload a fixed zip release
file
use 7zip on windows
2020-09-20 04:42:35 +02:00
Дамјан Георгиевски
570c4003c1
update build-status badge to github actions
2020-09-20 03:59:52 +02:00
Дамјан Георгиевски
682ad97a07
bump v_htmlescape to 0.10
...
same one used by actix-files, so we don't have 2 copies
2020-09-20 03:59:52 +02:00
Дамјан Георгиевски
97267717e6
bump Cargo.lock too
2020-09-20 03:59:52 +02:00
Дамјан Георгиевски
cef26c79fd
bump version
2020-09-20 03:03:39 +02:00
Дамјан Георгиевски
ed16068909
recreate the old directory listing
...
using nice tables with links to the .tar archives
2020-09-20 02:39:52 +02:00
Дамјан Георгиевски
375d8aa62b
silence some warnings about unchecked Result/Err
...
alternatively I should find a way to propagate the errors back to the
writter
2020-09-20 01:43:30 +02:00
Дамјан Георгиевски
d33810da52
fix some clippy warnings
2020-09-20 01:37:00 +02:00
Дамјан Георгиевски
4fcfe1e5da
move from travis to github actions
2020-09-20 01:29:50 +02:00
Дамјан Георгиевски
a671e47edf
rename to src/directory_listing.rs
2020-09-20 00:53:31 +02:00
Дамјан Георгиевски
98fbec274c
enable the .tar handler
2020-09-14 23:44:00 +02:00
Дамјан Георгиевски
070a878c75
re-implement io::Write for StreamWriter
...
since the `.wait()` has been removed from futures 0.1 sink::Sink trait,
use futures 0.3 `executor::block_on` function to run an async block in
the sync environment of `write`.
https://docs.rs/futures/0.1.29/futures/sink/trait.Sink.html#method.wait
https://docs.rs/futures/0.3.5/futures/executor/fn.block_on.html
2020-09-14 23:37:25 +02:00
Дамјан Георгиевски
4b25b26bb2
update bytes to be compatible with actix_web::Bytes
2020-09-14 23:36:39 +02:00
Дамјан Георгиевски
cce8560bd5
Begin port to actix-web 3.0
...
* actix-files is quite easy to use now
* uses futures 0.3 now, and async/await. the streaming archiver is not
ported yet.
0.11.x versions will be dev versions until the port is done
2020-09-12 04:28:20 +02:00
Дамјан Георгиевски
ec93e016bf
cargo update
2020-01-16 13:05:55 +01:00
Дамјан Георгиевски
cd71dc8bee
let's actually commit Cargo.lock
2019-09-21 21:25:43 +02:00
Дамјан Георгиевски
da69d3de6f
clippy and rustfmt anoyances
2019-09-21 21:24:44 +02:00
Дамјан Георгиевски
c68cf3a3e8
improve cli help text
...
and add a `-w` as short for `--chdir`
2019-09-21 21:24:41 +02:00
Дамјан Георгиевски
9c6ff4eddf
rename channel to threaded_archiver
...
I think that reflects its purpose much better
2019-09-21 21:17:39 +02:00
Дамјан Георгиевски
90e834722c
travis: use standard cargo cache on travis
...
https://changelog.travis-ci.com/rust-caching-improvements-106581
seems to have been improved/fixed
2019-09-14 15:33:55 +02:00
Дамјан Георгиевски
302df9eff2
let's track binary sizes
2019-08-29 01:40:08 +02:00
Дамјан Георгиевски
6fbe1b22ea
update percent-encoding and htmlescape
...
* percent-encoding 1.0 to 2.0
* actualy move from htmlescape to v_htmlescape
code updated for some api changes too
2019-08-28 19:44:22 +02:00
Дамјан Георгиевски
6cdc2b2ada
travis: windows releases work now
...
* on windows the target has a .exe suffix
we need the file name to add to the release zip
* install zip on windows with choco
* also remove tests - since there aren't any
no code changes
2019-06-16 23:56:10 +02:00
Дамјан Георгиевски
acedfa2a6c
remove some actix_web:: prefixes
2019-06-16 18:03:26 +02:00
Дамјан Георгиевски
85f1df81a1
refactor with actix-web 1.0.0
...
* actix-web 1.0.0 brought some changes in how associated data is accessed, and how
handlers are written.
* static files are now a separate crate `actix-files`.
* web::run now creates the App and the Server and runs the server. they really want to
have HttpServer::new and App::new in the same scope
(I couldn't find a proper signature for the create_app function)
* replace .trim_right_matches (depreceated in rust 1.33) with .trim_end_matches
https://github.com/actix/actix-web/blob/web-v1.0.0/MIGRATION.md
2019-06-16 17:27:09 +02:00
Дамјан Георгиевски
6e76b4c5df
update README with a note about zip and a similar project
2019-06-10 12:41:03 +02:00