Cargo Features

[dependencies]
pubnub-core = { version = "0.1.0", default-features = false, features = ["nightly", "mock"] }
default = mock

The mock feature is set by default whenever pubnub-core is added without default-features = false somewhere in the dependency tree.

nightly = mock

Enables nightly of mockall ^0.6

mockall:

Extra features for the nightly compiler only

mock default nightly? = mockall

Affects pubnub-core::mock

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

mockall mock nightly?

Enables mockall ^0.6