Cargo Features

[dependencies]
serde-generate = { version = "0.27.0", default-features = false, features = ["cpp", "csharp", "dart", "golang", "java", "ocaml", "python3", "rust", "swift", "typescript"] }
default = cpp, csharp, dart, golang, java, ocaml, python3, rust, swift, typescript

These default features are set whenever serde-generate is added without default-features = false somewhere in the dependency tree.

cpp default

Affects serde-generate::cpp

csharp default = include_dir

Affects serde-generate::csharp

dart default = include_dir

Affects serde-generate::dart

golang default

Affects serde-generate::golang

java default = include_dir

Affects serde-generate::java

ocaml default = include_dir, phf

Affects serde-generate::ocaml

python3 default

Affects serde-generate::python3

rust default

Affects serde-generate::rust

swift default = include_dir

Affects serde-generate::swift

typescript default = include_dir

Affects serde-generate::typescript

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.

include_dir csharp dart java ocaml swift typescript

Enables include_dir ^0.6.0

phf ocaml

Enables phf ^0.10