@@ -249,11 +249,10 @@ pub async fn test_file_rust2rust() {
249
249
code_tx. send ( mailbox_connection. code . clone ( ) ) . unwrap ( ) ;
250
250
let wormhole = crate :: Wormhole :: connect ( mailbox_connection) . await ?;
251
251
eyre:: Result :: < _ > :: Ok (
252
- #[ expect( deprecated) ]
253
252
transfer:: send (
254
253
wormhole,
255
254
default_relay_hints ( ) ,
256
- magic_wormhole:: transit:: Abilities :: ALL_ABILITIES ,
255
+ magic_wormhole:: transit:: Abilities :: ALL ,
257
256
offer,
258
257
& log_transit_connection,
259
258
|_sent, _total| { } ,
@@ -281,7 +280,7 @@ pub async fn test_file_rust2rust() {
281
280
/*let transfer::ReceiveRequest::V1(req) = transfer::request(
282
281
wormhole,
283
282
default_relay_hints(),
284
- magic_wormhole::transit::Abilities::ALL_ABILITIES ,
283
+ magic_wormhole::transit::Abilities::ALL ,
285
284
futures::future::pending(),
286
285
)
287
286
.await?
@@ -292,7 +291,7 @@ pub async fn test_file_rust2rust() {
292
291
let req = transfer:: request_file (
293
292
wormhole,
294
293
default_relay_hints ( ) ,
295
- magic_wormhole:: transit:: Abilities :: ALL_ABILITIES ,
294
+ magic_wormhole:: transit:: Abilities :: ALL ,
296
295
futures:: future:: pending ( ) ,
297
296
)
298
297
. await ?
@@ -347,11 +346,10 @@ pub async fn test_send_many() {
347
346
let wormhole = crate :: Wormhole :: connect ( mailbox) . await ?;
348
347
senders. push ( async_std:: task:: spawn_local ( async move {
349
348
eyre:: Result :: Ok (
350
- #[ expect( deprecated) ]
351
349
crate :: transfer:: send (
352
350
wormhole,
353
351
default_relay_hints ( ) ,
354
- magic_wormhole:: transit:: Abilities :: ALL_ABILITIES ,
352
+ magic_wormhole:: transit:: Abilities :: ALL ,
355
353
gen_offer ( ) . await ?,
356
354
& log_transit_connection,
357
355
|_, _| { } ,
@@ -376,11 +374,10 @@ pub async fn test_send_many() {
376
374
let gen_offer = gen_offer. clone ( ) ;
377
375
senders. push ( async_std:: task:: spawn_local ( async move {
378
376
eyre:: Result :: Ok (
379
- #[ expect( deprecated) ]
380
377
crate :: transfer:: send (
381
378
wormhole,
382
379
default_relay_hints ( ) ,
383
- magic_wormhole:: transit:: Abilities :: ALL_ABILITIES ,
380
+ magic_wormhole:: transit:: Abilities :: ALL ,
384
381
gen_offer ( ) . await ?,
385
382
& log_transit_connection,
386
383
|_, _| { } ,
@@ -409,7 +406,7 @@ pub async fn test_send_many() {
409
406
/*let transfer::ReceiveRequest::V1(req) = crate::transfer::request(
410
407
wormhole,
411
408
default_relay_hints(),
412
- magic_wormhole::transit::Abilities::ALL_ABILITIES ,
409
+ magic_wormhole::transit::Abilities::ALL ,
413
410
futures::future::pending(),
414
411
)
415
412
.await?
@@ -420,7 +417,7 @@ pub async fn test_send_many() {
420
417
let req = transfer:: request_file (
421
418
wormhole,
422
419
default_relay_hints ( ) ,
423
- magic_wormhole:: transit:: Abilities :: ALL_ABILITIES ,
420
+ magic_wormhole:: transit:: Abilities :: ALL ,
424
421
futures:: future:: pending ( ) ,
425
422
)
426
423
. await
0 commit comments