Cargo Features

xdot has no features set by default.

[dependencies]
xdot = { version = "0.2.3", features = ["layout", "extension-module", "pyo3", "document-features"] }
layout = graphviz-rust, thiserror

The layout feature allows to parse xdot attributes from [graphviz_rust]’s Graphs using [draw_graph].

extension-module = pyo3

The extension-module feature enables using the crate from Python.

Enables extension-module of pyo3 ^0.18.2

pyo3 extension-module?

The pyo3 module is for testing Python features.

Enables pyo3 ^0.18.2

Affects xdot::pymodule, draw::pymodule, shapes::pymodule, xdot_parse::parse_py

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.

document-features implicit feature

Enables document-features

document-features:

Extract documentation for the feature flags from comments in Cargo.toml

graphviz-rust layout?

Enables graphviz-rust ^0.6.1

thiserror layout?

Enables thiserror ^1.0.38