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 ^0.71.0

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 ^0.71.0

gix:

Enable all features required for performance. Currently, this is equivalent to max-control, as gix always uses zlib-rs.

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