Cargo Features

[dependencies]
jj-lib = { version = "0.28.2", default-features = false, features = ["git", "git2", "gix-max-performance", "vendored-openssl", "watchman", "testing"] }
default = git, git2

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

git default git2 testing?

Enables gix

Affects jj-lib::git, jj-lib::git_backend

git2 default vendored-openssl? = git

Enables git2

Affects settings::GitSettings.subprocess

gix-max-performance

Enables max-performance of gix

gix:

Activate other features that maximize performance, like usage of threads, zlib-ng and access to caching in object databases. Note that some platforms might suffer from compile failures, which is when max-performance-safe should be used.

vendored-openssl

Enables vendored-openssl of git2

watchman

Enables tokio and watchman_client

Affects fsmonitor::watchman

testing = git

Affects jj-lib::secret_backend, jj-lib::test_signing_backend