Cargo Features

vegafusion-common has no features set by default.

[dependencies]
vegafusion-common = { version = "1.6.7", features = ["pyarrow", "json", "prettyprint", "base64", "datafusion-proto", "jni", "object_store", "sqlparser"] }
pyarrow = pyo3

Enables pyarrow of arrow ^50.0.0

json = chrono

Enables json of arrow ^50.0.0 and preserve_order of serde_json

serde_json:

Make serde_json::Map use a representation which maintains insertion order.
This allows data to be read into a Value and written back to a JSON string while preserving the order of map keys in the input.

Affects data::json_writer, scalar::ScalarValueHelpers.from_json, scalar::ScalarValueHelpers.to_json

prettyprint

Enables prettyprint of arrow ^50.0.0

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.

base64 implicit feature

Enables base64 ^0.21.2

base64:

encodes and decodes base64 as bytes or utf8

datafusion-proto implicit feature

Enables datafusion-proto ^36.0.0

datafusion-proto:

Protobuf serialization of DataFusion logical plan expressions

jni implicit feature

Enables jni

jni:

Rust bindings to the JNI

object_store implicit feature

Enables object_store ^0.9.0

sqlparser implicit feature

Enables sqlparser ^0.41.0

sqlparser:

Extensible SQL Lexer and Parser with support for ANSI SQL:2011

chrono json?
pyo3 pyarrow?

Enables pyo3 ^0.20.0

serde_json json?