Cargo Features

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

The git feature is set by default whenever jj-lib is added without default-features = false somewhere in the dependency tree.

git default testing?

Enables git2 ^0.19.0 and gix ^0.68.0

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

gix-max-performance

Enables max-performance of gix ^0.68.0

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

watchman

Enables tokio and watchman_client

Affects fsmonitor::watchman

testing = git

Affects jj-lib::secret_backend