Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,24 @@ on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
fmt:
name: Fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
override: true
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all --check
clippy:
name: Clippy
permissions: write-all
Expand Down Expand Up @@ -36,8 +53,10 @@ jobs:
publish:
name: Publish
needs:
- fmt
- test
- clippy
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/target
/Cargo.lock
.DS_Store
2 changes: 1 addition & 1 deletion packages/actix-web-helmet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
actix-web-helmet = "0.1"
actix-web-helmet = "1.0.0"
```

## Example
Expand Down
7 changes: 3 additions & 4 deletions packages/axum-helmet/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "axum-helmet"
version = "1.0.0"
version = "1.0.1"
edition = "2021"
authors = ["Daniel Kovacs <kovacsemod@gmail.com>"]
description = "HTTP security headers middleware core for axum web framework"
Expand All @@ -18,14 +18,13 @@ categories = [
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
axum = "0.8"
helmet-core = { path = "../helmet-core", version = "1.0.0" }
tower = "0.5"
tower-service = "0.3"
http = "1.4"
pin-project-lite = "0.2"
tokio = "1.50"

[dev-dependencies]
axum = "0.8"
axum-test = "19"
tokio = { version = "1.50", features = ["rt-multi-thread"] }
tokio = { version = "1.50", features = ["macros", "rt-multi-thread"] }
2 changes: 1 addition & 1 deletion packages/axum-helmet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
axum-helmet = "0.1"
axum-helmet = "1.0.1"
```

## Example
Expand Down
2 changes: 1 addition & 1 deletion packages/helmet-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
helmet-core = "0.1"
helmet-core = "1.0.0"
```

Implementing the middleware is different for each framework. See the README for your framework of choice to see how to use it.
Expand Down
2 changes: 1 addition & 1 deletion packages/ntex-helmet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
ntex-helmet = "0.1"
ntex-helmet = "1.0.0"
```

## Example
Expand Down
Loading