Cargo Features
[dependencies]
torc = { version = "0.23.0", default-features = false, features = ["config", "server", "client", "tui", "plot_resources", "server-bin", "mcp-server", "dash", "openapi-codegen", "slurm-runner", "dist", "cli-docs", "conversion", "hyper-openssl", "hyper-tls", "native-tls"] }
- default = client, plot_resources, tui
-
These default features are set whenever
torcis added withoutsomewhere in the dependency tree.default-features = false - config client dash? server-bin?
-
Enables config, dirs, and toml
config:
Configuration management
Affects
torc::config… - server openapi-codegen? server-bin?
-
Enables anyhow, async-stream, and async-trait
async-trait:
Server dependencies (optional)
and axum, base64, bcrypt, dotenvy, http-body, http-body-util, hyper, hyper-util, jsonwebtoken, lazy_static, mime_guess, parking_lot, percent-encoding, regex, serde_ignored, sha2 ^0.10, sqlx, tokio, tower, and tracing
axum:
Dashboard dependencies (optional)
Affects
torc::server… - client default dash? dist? mcp-server? slurm-runner? tui = config
-
Enables anyhow, clap, clap_complete, env_logger, flate2, hostname, json5, kdl, lazy_static, libc, mime_guess, nvml-wrapper, percent-encoding, rayon, regex, reqwest ^0.12, rpassword, rusqlite ^0.32, serde_repr, serde_with, serde_yaml, sha2 ^0.10, shlex, signal-hook, sysinfo ^0.29, tabled, and tar
rayon:
Client dependencies (optional)
Affects
torc::client,torc::run_jobs_cmd,torc::exec_cmd,torc::cli…Required by the binary
- tui default dist? = client
-
Enables crossterm, petgraph, and ratatui
ratatui:
TUI dependencies (optional)
Affects
torc::tui,torc::tui_runner,torc::cli…Required by the binary
- plot_resources default dist?
-
Enables anyhow, plotly ^0.10, and rusqlite ^0.32
plotly:
Plot-resources dependencies (optional)
Affects
torc::plot_resources_cmd,torc::cli…Required by the binary
- server-bin dist? = config, openapi-codegen, server
-
Enables clap, daemonize, file-rotate ^0.7, hdrhistogram, openssl, rpassword, service-manager ^0.7, tokio-openssl, tracing-appender, tracing-subscriber, tracing-timing, and zxcvbn
tracing-subscriber:
Server binary dependencies (optional)
Affects
server::logging,server::service,server::http_server,server::live_state…Required by torc-htpasswd, torc-openapi and torc-server binaries
- mcp-server dist? = client
-
Enables anyhow, rmcp, schemars, tempfile, tokio, tracing, and tracing-subscriber
rmcp:
MCP server dependencies (optional)
Affects
torc::mcp_server…Required by the torc-mcp-server binary
- dash dist? = client, config
-
Enables anyhow, async-stream, axum, hyper-util, mime_guess, rmcp, rust-embed, tokio, tower, tower-http, tracing, tracing-subscriber, and uuid
Required by the torc-dash binary
- openapi-codegen server-bin? = server
-
Enables axum, serde_yaml, and utoipa
Affects
torc::openapi_spec,server::http_transport,server::live_router,server::http_server,server::live_state… - slurm-runner dist? = client
-
Required by the torc-slurm-job-runner binary
- dist = client, dash, mcp-server, plot_resources, server-bin, slurm-runner, tui
- cli-docs
-
Enables clap-markdown
- conversion = frunk, frunk-enum-core, frunk-enum-derive, frunk_core, frunk_derives
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.
- frunk conversion?
-
Enables frunk
Conversion feature dependencies
- frunk_derives conversion?
- frunk_core conversion?
- frunk-enum-derive conversion?
- frunk-enum-core conversion?
- hyper-openssl not mac win ios implicit feature
-
Enables hyper-openssl
hyper-openssl:
Hyper TLS support via OpenSSL
- hyper-tls mac win ios implicit feature
-
Enables hyper-tls
hyper-tls:
Default TLS implementation for use with hyper
- native-tls mac win ios implicit feature
-
Enables native-tls
native-tls:
A wrapper over a platform's native TLS implementation