add a feature for things that are simple to cross-compile

This commit is contained in:
Skgland
2026-04-27 21:33:08 +02:00
committed by Bennet Bleßmann
parent e0c491e9f3
commit 550efb8416
2 changed files with 5 additions and 2 deletions

View File

@@ -18,6 +18,9 @@ crate-type = ["cdylib", "rlib"]
[features]
default = ["ffi", "repl", "hostname", "tls", "http", "crypto-full"]
# enables all features that are simple to get working for cross-compliation
# currently all but tls, http as those depend on openssl
all-simple-cross = ["ffi", "repl", "hostname", "crypto-full"]
ffi = ["dep:libffi"]
repl = ["dep:crossterm", "dep:ctrlc", "dep:rustyline"]
hostname = ["dep:hostname"]