Merge pull request #214126 from NickCao/ss-rust
shadowsocks-rust: enable more optional features
This commit is contained in:
commit
7cd7146780
@ -18,8 +18,17 @@ rustPlatform.buildRustPackage rec {
|
||||
buildInputs = lib.optionals stdenv.isLinux [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ Security CoreServices ];
|
||||
|
||||
cargoBuildFlags = [
|
||||
"--features=aead-cipher-extra,local-dns,local-http-native-tls,local-redir,local-tun"
|
||||
cargoBuildFeatures = [
|
||||
"trust-dns"
|
||||
"local-http-native-tls"
|
||||
"local-tunnel"
|
||||
"local-socks4"
|
||||
"local-redir"
|
||||
"local-dns"
|
||||
"local-tun"
|
||||
"aead-cipher-extra"
|
||||
"aead-cipher-2022"
|
||||
"aead-cipher-2022-extra"
|
||||
];
|
||||
|
||||
# all of these rely on connecting to www.example.com:80
|
||||
|
Loading…
Reference in New Issue
Block a user