Cargo Features

[dependencies]
papyrus = { version = "0.17.2", default-features = false, features = ["format", "racer-completion", "runnable", "test-runnable"] }
default = format, racer-completion, runnable

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

format default

format snippets with rustfmt binary

Affects papyrus::fmt

racer-completion default = racer

add code completion using racer, requires nightly

Affects complete::code

runnable default = crossterm

allows to just run the repl

Affects papyrus::run

Required by the binary

test-runnable

extra interface tests that won't work with CI

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.

crossterm runnable

Enables crossterm ^0.17

racer racer-completion