Cargo Features

[dependencies]
o2o-impl = { version = "0.5.3", default-features = false, features = ["syn2", "syn"] }
default = syn

The syn feature is set by default whenever o2o-impl is added without default-features = false somewhere in the dependency tree.

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.

syn2 implicit feature

Enables syn

syn:

Parser for Rust source code

syn default

Enables syn ^1.0.3