@@ -65,58 +65,59 @@ rstest = "0.25.0"
65
65
[features ]
66
66
default = [" sync-sender" , " tls-webpki-certs" , " ring-crypto" ]
67
67
68
- # Sync ILP/TCP + ILP/HTTP Sender
68
+ # # Sync ILP/TCP + ILP/HTTP Sender
69
69
sync-sender = [" sync-sender-tcp" , " sync-sender-http" ]
70
70
71
- # Sync ILP/TCP
71
+ # # Sync ILP/TCP
72
72
sync-sender-tcp = [" _sync-sender" , " _sender-tcp" ]
73
73
74
- # Sync ILP/HTTP
74
+ # # Sync ILP/HTTP
75
75
sync-sender-http = [" _sync-sender" , " _sender-http" , " dep:ureq" , " dep:serde_json" , " dep:rand" ]
76
76
77
- # Async ILP/TCP + ILP/HTTP Sender
77
+ # # Async ILP/TCP + ILP/HTTP Sender
78
78
async-sender = [" _async-sender" , " async-sender-tcp" , " async-sender-http" ]
79
79
80
- # Async ILP/TCP Sender
80
+ # # Async ILP/TCP Sender
81
81
async-sender-tcp = [" _async-sender" , " _sender-tcp" , " dep:tokio" , " dep:tokio-rustls" ]
82
82
83
- # Async ILP/HTTP Sender
83
+ # # Async ILP/HTTP Sender
84
84
async-sender-http = [" _sender-http" , " dep:tokio" , " dep:hyper" ]
85
85
86
- # Compatiblity alias.
86
+ # # Compatiblity alias.
87
87
ilp-over-http = [" sync-sender-tcp" ]
88
88
89
- # Allow use OS-provided root TLS certificates
89
+ # # Allow use OS-provided root TLS certificates
90
90
tls-native-certs = [" dep:rustls-native-certs" ]
91
91
92
- # Allow use of the `webpki-roots` crate to validate TLS certificates.
92
+ # # Allow use of the `webpki-roots` crate to validate TLS certificates.
93
93
tls-webpki-certs = [" dep:webpki-roots" ]
94
94
95
- # Use `aws-lc-rs` as the cryto library.
95
+ # # Use `aws-lc-rs` as the cryto library.
96
96
aws-lc-crypto = [" dep:aws-lc-rs" , " rustls/aws-lc-rs" ]
97
97
98
- # Use `ring` as the crypto library.
98
+ # # Use `ring` as the crypto library.
99
99
ring-crypto = [" dep:ring" , " rustls/ring" ]
100
100
101
- # Allow skipping verification of insecure certificates.
101
+ # # Allow skipping verification of insecure certificates.
102
102
insecure-skip-verify = []
103
103
104
- # Enable code-generation in `build.rs` for additional tests.
104
+ # # Enable code-generation in `build.rs` for additional tests.
105
105
json_tests = []
106
106
107
- # Enable methods to create timestamp objects from chrono::DateTime objects.
107
+ # # Enable methods to create timestamp objects from chrono::DateTime objects.
108
108
chrono_timestamp = [" chrono" ]
109
109
110
110
# Hidden derived features, used in code to enable-disable code sections. Don't use directly.
111
- _sender-tcp = []
112
- _sender-http = []
113
- _sync-sender = []
114
- _async-sender = []
115
-
116
- # The `aws-lc-crypto` and `ring-crypto` features are mutually exclusive,
117
- # thus compiling with `--all-features` will not work.
118
- # Instead compile with `--features almost-all-features`.
119
- # This is useful for quickly running `cargo test` or `cargo clippy`.
111
+ _sender-tcp = [] # equiv of any(sync-sender-tcp, async-sender-tcp)
112
+ _sender-http = [] # equiv of any(sync-sender-http, async-sender-http)
113
+ _sync-sender = [] # equiv of any(sync-sender-tcp, sync-sender-http)
114
+ _async-sender = [] # equiv of any(async-sender-tcp, async-sender-http)
115
+
116
+ # # Enable all cross-compatible features.
117
+ # # The `aws-lc-crypto` and `ring-crypto` features are mutually exclusive,
118
+ # # thus compiling with `--all-features` will not work.
119
+ # # Instead use `--features almost-all-features`.
120
+ # # This is useful for quickly running `cargo test` or `cargo clippy`.
120
121
almost-all-features = [
121
122
" sync-sender" ,
122
123
" async-sender" ,
0 commit comments