Skip to content

Commit

Permalink
RenetNetcode: add missing license in cargo
Browse files Browse the repository at this point in the history
Update github deny workflow
  • Loading branch information
lucaspoffo committed Nov 9, 2024
1 parent f793ce6 commit a69ef2b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 23 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Check dependencies
uses: EmbarkStudios/cargo-deny-action@v1
uses: EmbarkStudios/cargo-deny-action@v2
31 changes: 10 additions & 21 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -1,37 +1,26 @@
[advisories]
unmaintained = "deny"
yanked = "deny"
notice = "deny"

[licenses]
copyleft = "deny"
allow-osi-fsf-free = "either"
allow = [
"MIT",
"MIT-0",
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"Unicode-DFS-2016",
"Unicode-3.0",
"Zlib",
"ISC",
"CC0-1.0",
"BSL-1.0",
]

[[licenses.clarify]]
name = "stretch"
expression = "MIT"
license-files = []

[[licenses.exceptions]]
# https://github.com/emilk/egui/issues/2321
allow = ["LicenseRef-UFL-1.0"]
allow = ["LicenseRef-UFL-1.0", "OFL-1.1"]
name = "epaint"

[bans]
multiple-versions = "allow"
wildcards = "allow"

[sources]
unknown-registry = "deny"
unknown-git = "deny"

allow-git = [
# Unreleased version for steamworks, need release with PR https://github.com/Noxime/steamworks-rs/pull/134
"https://github.com/Noxime/steamworks-rs"
]
[bans]
multiple-versions = "allow"
4 changes: 4 additions & 0 deletions renet_netcode/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
name = "renet_netcode"
version = "0.0.1"
edition = "2021"
keywords = ["gamedev", "networking", "transport"]
description = "netcode transport for the renet crate: Server/Client network library for multiplayer games"
repository = "https://github.com/lucaspoffo/renet"
license = "MIT OR Apache-2.0"

[features]
bevy = ["dep:bevy_ecs"]
Expand Down

0 comments on commit a69ef2b

Please sign in to comment.