Cargo Features

[dependencies]
pbni-rs = { version = "0.1.14", default-features = false, features = ["full", "global_function", "nonvisualobject", "visualobject", "datetime", "decimal", "vm"] }
default = full

The full feature is set by default whenever pbni-rs is added without default-features = false somewhere in the dependency tree.

full default = datetime, decimal, global_function, nonvisualobject, visualobject
global_function full = static_init

Enables global_function of pbni-codegen

feature: global_function, nonvisualobject, visualobject

Affects global_function::GlobalFunction, export::register_global_function

nonvisualobject full = static_init

Enables nonvisualobject of pbni-codegen

Affects bindings::NVOM, export::register_nonvisualobject, object::NonVisualObject, object::UserObject

visualobject full = static_init, winapi

Enables visualobject of pbni-codegen

Affects bindings::VOM, export::register_visualobject, object::VisualObject, object::UserObject

datetime full = chrono
decimal full = rust_decimal
vm = libloading

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.

pbni-codegen global_function? nonvisualobject? visualobject?
static_init global_function? nonvisualobject? visualobject?

Enables static_init

feature: global_function, nonvisualobject, visualobject

winapi visualobject?

Enables winapi

feature: visualobject

chrono datetime?

Enables chrono

feature: datetime

rust_decimal decimal?

Enables rust_decimal

feature: decimal

libloading vm?

Enables libloading ^0.7.0

feature: vm