Cargo Features

libp2p-community-tor has no features set by default.

[dependencies]
libp2p-community-tor = { version = "0.3.0-alpha", features = ["tokio", "async-std", "native-tls", "rustls"] }
tokio

Enables tokio, tokio of arti-client ^0.8

Affects provider::TokioTorStream, libp2p-community-tor::TokioNativeTlsTorTransport, libp2p-community-tor::TokioRustlsTorTransport

async-std

Enables async-std and async-std of arti-client ^0.8

arti-client:

* Features that are experimental or unstable
* Features that are testing-only
* Features which are select a particular implementation or build flag and
which therefore are not strictly additive.
* Features which may introduce unnecessary licensing restrictions.

Affects provider::AsyncStdTorStream, libp2p-community-tor::AsyncStdNativeTlsTorTransport, libp2p-community-tor::AsyncStdRustlsTorTransport

native-tls

Enables native-tls of arti-client ^0.8

Affects libp2p-community-tor::AsyncStdNativeTlsTorTransport, libp2p-community-tor::TokioNativeTlsTorTransport

rustls

Enables rustls of arti-client ^0.8

arti-client:

This is not nonadditive from a software POV, but we mark it as such because it includes code licensed under the old OpenSSL license (which was 4-clause BSD),
which in turn introduces a GPL-incompatibility.

Affects libp2p-community-tor::AsyncStdRustlsTorTransport, libp2p-community-tor::TokioRustlsTorTransport