Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new PubNub license #180

Closed
wants to merge 1 commit into from
Closed
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
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
name = "pubnub"
version = "0.4.0"
edition = "2021"
license = "MIT"
license-file = "LICENSE"
authors = ["PubNub <[email protected]>"]
description = "PubNub SDK for Rust"
Expand Down
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,4 +222,24 @@ [email protected].

## License

This project is licensed under the [MIT license](https://github.com/pubnub/rust/blob/master/LICENSE).
This project is licensed under the [PubNub Software Development Kit License Agreement](https://github.com/pubnub/rust/blob/master/LICENSE).

### cargo-deny

Currently our license is not added into the [SPDX license list](https://spdx.org/licenses/) so `cargo-deny` will raise an issue about it.
If you agree on our license you can simply satisfy it by following onfiguration:
```toml
[licenses]
allow = [
#...
"LicenseRef-PubNubSoftwareDevelopmentKitLicenseAgreement"
]

[[licenses.clarify]]
name = "pubnub"
expression = "LicenseRef-PubNubSoftwareDevelopmentKitLicenseAgreement"
license-files = [
{ path = "LICENSE", hash = 0x48826f13 },
]
```

8 changes: 8 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ allow = [
# Before inserting a new license here, please check if it is already in the list of
# licenses that are allowed: https://blueoakcouncil.org/list

"LicenseRef-PubNubSoftwareDevelopmentKitLicenseAgreement",
"MIT",
"Apache-2.0",
"BlueOak-1.0.0",
Expand All @@ -47,6 +48,13 @@ exceptions = [
#{ allow = ["Zlib"], name = "adler32", version = "*" },
]

[[licenses.clarify]]
name = "pubnub"
expression = "LicenseRef-PubNubSoftwareDevelopmentKitLicenseAgreement"
license-files = [
{ path = "LICENSE", hash = 0x48826f13 },
]

[licenses.private]
ignore = false
registries = [
Expand Down
Loading