Cargo Features

[dependencies]
re2 = { version = "0.0.8", default-features = false, features = ["dynamic", "static"] }
default = dynamic

The dynamic feature is set by default whenever re2 is added without default-features = false somewhere in the dependency tree.

dynamic default

Enables dynamic of re2-sys

static

Enables static of re2-sys

RE2 has 3 features without comments.