Cargo Features

[dependencies]
deeplx = { version = "1.4.0", default-features = false, features = ["impersonate", "server", "mimalloc", "rpmalloc", "snmalloc", "tikv-jemallocator"] }
default = mimalloc, server

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

impersonate

Enables rquest

server default

Enables thiserror

error handling

and tokio

async runtime

and tower-http

web stuff

and glob and notify

glob:

hot reload config

and tracing and tracing-subscriber

tracing:

logging & tracing

and axum, axum-extra, clap, and config

clap:

cli

Required by the binary

mimalloc default

Enables mimalloc

memory allocator

rpmalloc

Enables rpmalloc

snmalloc

Enables snmalloc-rs

tikv-jemallocator

Enables tikv-jemallocator