20 Commits

Author SHA1 Message Date
tottoto
e7e2bb8522 ci: update to actions/checkout@v5 (#1145) 2025-10-18 11:46:27 -04:00
tottoto
eaf00ef8b6 docs: replace doc_auto_cfg config with doc_cfg (#1142)
* docs: replace doc_auto_cfg config with doc_cfg

* ci: enable docsrs only on rustdoc

* ci: Use cargo doc to detect missing documentation on building document

* ci: Remove graceful document to check

* Revert "ci: Remove graceful document to check"

This reverts commit 86f3ea044f.
2025-10-18 06:34:03 -04:00
tottoto
f4d8e08b8b ci: update to actions/checkout v4 (#1131) 2025-08-09 07:57:08 -04:00
Sean McArthur
53bc811f68 docs: ensure Server methods have docs (#1125) 2025-08-06 13:05:10 -04:00
Sean McArthur
d67e3e2bb0 feat: put Server behind an optional feature (#1122)
Breaking changes:

- `serve` requires the `server` feature, not enabled by default.
- `multipart` and `websocket` features no longer enabled by default.
- The `warp::test` helpers require a `test` feature, not enabled by default.
2025-08-05 09:07:43 -04:00
Sean McArthur
52c70edea0 feat: upgrade to hyper v1 (#1121)
This upgrades to hyper v1 from v0.14. That in itself causes some breaking changes. But besides that obvious, some of warp's API was changed to better accommodate the upgrade:

- The `tls` feature has been removed (it could be added again, but this was simpler for now.)
- The `Server` type had many of its methods removed in favor of a few simple ones. If you want to customize the behavior significantly, you are better off creating your own custom accept loop. The main selling point of warp is the `Filter` system, not the `Server` type.
- The `warp::addr` module was disabled (will also affect logs) (and the related `Transport` trait).

Closes #1088
2025-08-04 17:16:23 -04:00
Sean McArthur
b7d97a3b24 ci: single required job (#1098) 2024-04-05 14:17:49 -04:00
nickelc
99bd129d31 Replace unmaintained/outdated github actions (#1020)
The toolchain is now installed with `dtolnay/rust-toolchain`.

Co-authored-by: Sean McArthur <sean@seanmonstar.com>
2023-03-20 11:41:21 -04:00
masklinn
91853f20d0 Convert "question" template to contact_links (#788)
It's what Rust uses, and seems more adequate.
2021-01-25 15:17:32 -08:00
Arve Knudsen
ffefea0805 Upgrade to Tokio 1.0 (#753)
Co-authored-by: janpetschexain <58227040+janpetschexain@users.noreply.github.com>
Co-authored-by: João Oliveira <hello@jxs.pt>
Co-authored-by: Paolo Barbolini <paolo@paolo565.org>
Co-authored-by: Muhammad Hamza <muhammadhamza1311@gmail.com>
Co-authored-by: teenjuna <53595243+teenjuna@users.noreply.github.com>
2021-01-15 10:00:45 -08:00
nickelc
2ceef6935e ci: fix warnings for doc build (#734) 2020-11-01 11:37:59 +00:00
João Oliveira
9ca48a213a add issue templates (#671) 2020-07-23 02:31:33 +01:00
Sean McArthur
8eec33b387 Create FUNDING.yml 2020-04-14 15:18:38 -07:00
Parker Timmerman
63c506a217 Add Compression Filters (#472)
* initial commit, adding a gzip filter

* adding deflate and brotli filters, cleaning up the documentation

* cleaning up the implemenation and the comments

* feature gating compression, adding an example, updating README

* responding to feedback, and making CompressableBody a bit more generic

* move some thing around for visibility reasons

* hide irrelevant docs, add small comment to compression filters, add config to CI to make sure we can build with this feature enabled
2020-03-12 09:53:17 -07:00
Sean McArthur
86246d71c5 Add docs check to CI 2020-01-23 14:28:32 -08:00
Zsombor
e367f7f2c4 Fix lifetime on unix_socket example, and adjust github workflow to test domain sockets too (#369) 2020-01-08 12:07:40 -08:00
João Oliveira
cbc8f472a6 - fix known_enum macro to allow attributes such as features, fixes #352 (#353)
- add step test for --no-default-features
- remove no longer used travis badge
2019-12-28 13:12:35 -08:00
Sean McArthur
8b8c995026 Run rustfmt and enforce via CI (#346) 2019-12-20 16:25:25 -08:00
Sean McArthur
5c7ed94636 Remove Travis CI (#344) 2019-12-20 13:37:16 -08:00
nickelc
b6cbcca091 Add GitHub workflow for CI (#335) 2019-12-16 10:58:20 -08:00