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

Update license information #178

Merged
merged 2 commits into from
Oct 31, 2023
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
7 changes: 6 additions & 1 deletion .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
name: rust
version: 0.4.0
version: 0.4.1
schema: 1
scm: github.com/pubnub/rust
files: []
changelog:
- date: 2023-10-31
version: 0.4.1
changes:
- type: improvement
text: "Update license information."
- date: 2023-10-16
version: 0.4.0
changes:
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "pubnub"
version = "0.4.0"
version = "0.4.1"
edition = "2021"
license = "MIT"
license = "PubNub Software Development Kit License"
license-file = "LICENSE"
authors = ["PubNub <[email protected]>"]
description = "PubNub SDK for Rust"
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ Add `pubnub` to your Rust project in the `Cargo.toml` file:
```toml
# default features
[dependencies]
pubnub = "0.4.0"
pubnub = "0.4.1"

# all features
[dependencies]
pubnub = { version = "0.4.0", features = ["full"] }
pubnub = { version = "0.4.1", features = ["full"] }
```

### Example
Expand Down Expand Up @@ -132,11 +132,11 @@ disable them in the `Cargo.toml` file, like so:
```toml
# only blocking and access + default features
[dependencies]
pubnub = { version = "0.4.0", features = ["blocking", "access"] }
pubnub = { version = "0.4.1", features = ["blocking", "access"] }

# only parse_token + default features
[dependencies]
pubnub = { version = "0.4.0", features = ["parse_token"] }
pubnub = { version = "0.4.1", features = ["parse_token"] }
```

### Available features
Expand Down Expand Up @@ -175,7 +175,7 @@ you need, for example:

```toml
[dependencies]
pubnub = { version = "0.4.0", default-features = false, features = ["serde", "publish",
pubnub = { version = "0.4.1", default-features = false, features = ["serde", "publish",
"blocking"] }
```

Expand Down
8 changes: 8 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,17 @@ allow-osi-fsf-free = "neither"
default = "deny"
confidence-threshold = 0.8
exceptions = [
{ allow = ["LicenseRef-PubNub-Software-Development-Kit-License"], name = "pubnub" },
#{ allow = ["Zlib"], name = "adler32", version = "*" },
]


[[licenses.clarify]]
name = "pubnub"
expression = "LicenseRef-PubNub-Software-Development-Kit-License"
license-files = [ { path = "LICENSE", hash = 0x48826f13 }, ]


[licenses.private]
ignore = false
registries = [
Expand Down
10 changes: 5 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
//! ```toml
//! # default features
//! [dependencies]
//! pubnub = "0.4.0"
//! pubnub = "0.4.1"
//!
//! # all features
//! [dependencies]
//! pubnub = { version = "0.4.0", features = ["full"] }
//! pubnub = { version = "0.4.1", features = ["full"] }
//! ```
//!
//! ### Example
Expand Down Expand Up @@ -135,11 +135,11 @@
//! ```toml
//! # only blocking and access + default features
//! [dependencies]
//! pubnub = { version = "0.4.0", features = ["blocking", "access"] }
//! pubnub = { version = "0.4.1", features = ["blocking", "access"] }
//!
//! # only parse_token + default features
//! [dependencies]
//! pubnub = { version = "0.4.0", features = ["parse_token"] }
//! pubnub = { version = "0.4.1", features = ["parse_token"] }
//! ```
//!
//! ### Available features
Expand Down Expand Up @@ -178,7 +178,7 @@
//!
//! ```toml
//! [dependencies]
//! pubnub = { version = "0.4.0", default-features = false, features = ["serde", "publish",
//! pubnub = { version = "0.4.1", default-features = false, features = ["serde", "publish",
//! "blocking"] }
//! ```
//!
Expand Down
Loading