Cargo Features

[dependencies]
nanofts = { version = "0.6.0", default-features = false, features = ["python", "simd", "mimalloc", "arrow"] }
default = mimalloc

The mimalloc feature is set by default whenever nanofts is added without default-features = false somewhere in the dependency tree.

python = numpy, pyo3

Python bindings feature - enables PyO3 and numpy support

Affects unified_engine::create_engine_py

simd = packed_simd_2
mimalloc default

Enables local_dynamic_tls of mimalloc

内存分配器

arrow

Arrow zero-copy support

Enables arrow ^53, arrow-array ^53, and arrow-buffer ^53

arrow:

Arrow support (可选)

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.

packed_simd_2 simd?

Enables packed_simd_2

SIMD加速

pyo3 python?

Enables pyo3 ^0.22

Python绑定 (可选)

numpy python?

Enables numpy ^0.22