Cargo Features

[dependencies]
inrust = { version = "0.3.8", default-features = false, features = ["debug", "cxx", "dhat-heap", "pprof", "ahash", "num-bigint", "num-rational", "serde", "cc"] }
debug
cxx = cxx-build

implied by optional dependency

Enables cxx

default = ahash, cc

"cc", "cxx", "serde", "num-rational", "num-bigint",

dhat-heap = dhat

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.

'cargo tree', to visualize the dependency graph

dhat dhat-heap?
pprof implicit feature

Enables pprof ^0.12

pprof:

An internal perf tools for rust programs

ahash default

Enables ahash

https://github.com/tkaitchuck/aHash

num-bigint implicit feature

Enables num-bigint

num-bigint:

Big integer implementation for Rust

Affects inrust::misc.calc_pi

num-rational implicit feature

Enables num-rational

num-rational:

Rational numbers implementation for Rust

Affects calc24::Rational

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

cxx-build build cxx?
cc build default

Affects calc24::calc24_coll_cffi