Cargo Features

[dependencies]
depict = { version = "0.3.0", default-features = false, features = ["desktop", "server", "client", "dioxus", "osqp", "osqp-rust"] }
default = osqp-rust

The osqp-rust feature is set by default whenever depict is added without default-features = false somewhere in the dependency tree.

desktop
server = serde, serde_json

Enables serde-1 of petgraph, derive of serde

Affects depict::rest

client = serde, serde_json

Enables serde-1 of petgraph and derive of serde

server

Affects depict::rest

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.

dioxus implicit feature

Enables dioxus ^0.3

dioxus:

Portable, performant, and ergonomic framework for building cross-platform user interfaces in Rust

Affects graph_drawing::frontend.dioxus

osqp implicit feature

Enables osqp

osqp:

The OSQP (Operator Splitting Quadratic Program) solver

Affects depict::graph_drawing

osqp-rust default

Affects depict::graph_drawing

serde client? server?
serde_json client? server?