@@ -1474,8 +1474,11 @@ mod tests {
1474
1474
cached_headers : & mut None ,
1475
1475
req_method : & mut method,
1476
1476
h1_parser_config : Default :: default ( ) ,
1477
+ #[ cfg( feature = "runtime" ) ]
1477
1478
h1_header_read_timeout : None ,
1479
+ #[ cfg( feature = "runtime" ) ]
1478
1480
h1_header_read_timeout_fut : & mut None ,
1481
+ #[ cfg( feature = "runtime" ) ]
1479
1482
h1_header_read_timeout_running : & mut false ,
1480
1483
preserve_header_case : false ,
1481
1484
h09_responses : false ,
@@ -1504,8 +1507,11 @@ mod tests {
1504
1507
cached_headers : & mut None ,
1505
1508
req_method : & mut Some ( crate :: Method :: GET ) ,
1506
1509
h1_parser_config : Default :: default ( ) ,
1510
+ #[ cfg( feature = "runtime" ) ]
1507
1511
h1_header_read_timeout : None ,
1512
+ #[ cfg( feature = "runtime" ) ]
1508
1513
h1_header_read_timeout_fut : & mut None ,
1514
+ #[ cfg( feature = "runtime" ) ]
1509
1515
h1_header_read_timeout_running : & mut false ,
1510
1516
preserve_header_case : false ,
1511
1517
h09_responses : false ,
@@ -1529,8 +1535,11 @@ mod tests {
1529
1535
cached_headers : & mut None ,
1530
1536
req_method : & mut None ,
1531
1537
h1_parser_config : Default :: default ( ) ,
1538
+ #[ cfg( feature = "runtime" ) ]
1532
1539
h1_header_read_timeout : None ,
1540
+ #[ cfg( feature = "runtime" ) ]
1533
1541
h1_header_read_timeout_fut : & mut None ,
1542
+ #[ cfg( feature = "runtime" ) ]
1534
1543
h1_header_read_timeout_running : & mut false ,
1535
1544
preserve_header_case : false ,
1536
1545
h09_responses : false ,
@@ -1552,8 +1561,11 @@ mod tests {
1552
1561
cached_headers : & mut None ,
1553
1562
req_method : & mut Some ( crate :: Method :: GET ) ,
1554
1563
h1_parser_config : Default :: default ( ) ,
1564
+ #[ cfg( feature = "runtime" ) ]
1555
1565
h1_header_read_timeout : None ,
1566
+ #[ cfg( feature = "runtime" ) ]
1556
1567
h1_header_read_timeout_fut : & mut None ,
1568
+ #[ cfg( feature = "runtime" ) ]
1557
1569
h1_header_read_timeout_running : & mut false ,
1558
1570
preserve_header_case : false ,
1559
1571
h09_responses : true ,
@@ -1577,8 +1589,11 @@ mod tests {
1577
1589
cached_headers : & mut None ,
1578
1590
req_method : & mut Some ( crate :: Method :: GET ) ,
1579
1591
h1_parser_config : Default :: default ( ) ,
1592
+ #[ cfg( feature = "runtime" ) ]
1580
1593
h1_header_read_timeout : None ,
1594
+ #[ cfg( feature = "runtime" ) ]
1581
1595
h1_header_read_timeout_fut : & mut None ,
1596
+ #[ cfg( feature = "runtime" ) ]
1582
1597
h1_header_read_timeout_running : & mut false ,
1583
1598
preserve_header_case : false ,
1584
1599
h09_responses : false ,
@@ -1606,8 +1621,11 @@ mod tests {
1606
1621
cached_headers : & mut None ,
1607
1622
req_method : & mut Some ( crate :: Method :: GET ) ,
1608
1623
h1_parser_config,
1624
+ #[ cfg( feature = "runtime" ) ]
1609
1625
h1_header_read_timeout : None ,
1626
+ #[ cfg( feature = "runtime" ) ]
1610
1627
h1_header_read_timeout_fut : & mut None ,
1628
+ #[ cfg( feature = "runtime" ) ]
1611
1629
h1_header_read_timeout_running : & mut false ,
1612
1630
preserve_header_case : false ,
1613
1631
h09_responses : false ,
@@ -1632,8 +1650,11 @@ mod tests {
1632
1650
cached_headers : & mut None ,
1633
1651
req_method : & mut Some ( crate :: Method :: GET ) ,
1634
1652
h1_parser_config : Default :: default ( ) ,
1653
+ #[ cfg( feature = "runtime" ) ]
1635
1654
h1_header_read_timeout : None ,
1655
+ #[ cfg( feature = "runtime" ) ]
1636
1656
h1_header_read_timeout_fut : & mut None ,
1657
+ #[ cfg( feature = "runtime" ) ]
1637
1658
h1_header_read_timeout_running : & mut false ,
1638
1659
preserve_header_case : false ,
1639
1660
h09_responses : false ,
@@ -1653,8 +1674,11 @@ mod tests {
1653
1674
cached_headers : & mut None ,
1654
1675
req_method : & mut None ,
1655
1676
h1_parser_config : Default :: default ( ) ,
1677
+ #[ cfg( feature = "runtime" ) ]
1656
1678
h1_header_read_timeout : None ,
1679
+ #[ cfg( feature = "runtime" ) ]
1657
1680
h1_header_read_timeout_fut : & mut None ,
1681
+ #[ cfg( feature = "runtime" ) ]
1658
1682
h1_header_read_timeout_running : & mut false ,
1659
1683
preserve_header_case : true ,
1660
1684
h09_responses : false ,
@@ -1695,8 +1719,11 @@ mod tests {
1695
1719
cached_headers : & mut None ,
1696
1720
req_method : & mut None ,
1697
1721
h1_parser_config : Default :: default ( ) ,
1722
+ #[ cfg( feature = "runtime" ) ]
1698
1723
h1_header_read_timeout : None ,
1724
+ #[ cfg( feature = "runtime" ) ]
1699
1725
h1_header_read_timeout_fut : & mut None ,
1726
+ #[ cfg( feature = "runtime" ) ]
1700
1727
h1_header_read_timeout_running : & mut false ,
1701
1728
preserve_header_case : false ,
1702
1729
h09_responses : false ,
@@ -1718,8 +1745,11 @@ mod tests {
1718
1745
cached_headers : & mut None ,
1719
1746
req_method : & mut None ,
1720
1747
h1_parser_config : Default :: default ( ) ,
1748
+ #[ cfg( feature = "runtime" ) ]
1721
1749
h1_header_read_timeout : None ,
1750
+ #[ cfg( feature = "runtime" ) ]
1722
1751
h1_header_read_timeout_fut : & mut None ,
1752
+ #[ cfg( feature = "runtime" ) ]
1723
1753
h1_header_read_timeout_running : & mut false ,
1724
1754
preserve_header_case : false ,
1725
1755
h09_responses : false ,
@@ -1950,8 +1980,11 @@ mod tests {
1950
1980
cached_headers: & mut None ,
1951
1981
req_method: & mut Some ( Method :: GET ) ,
1952
1982
h1_parser_config: Default :: default ( ) ,
1983
+ #[ cfg( feature = "runtime" ) ]
1953
1984
h1_header_read_timeout: None ,
1985
+ #[ cfg( feature = "runtime" ) ]
1954
1986
h1_header_read_timeout_fut: & mut None ,
1987
+ #[ cfg( feature = "runtime" ) ]
1955
1988
h1_header_read_timeout_running: & mut false ,
1956
1989
preserve_header_case: false ,
1957
1990
h09_responses: false ,
@@ -1973,8 +2006,11 @@ mod tests {
1973
2006
cached_headers : & mut None ,
1974
2007
req_method : & mut Some ( m) ,
1975
2008
h1_parser_config : Default :: default ( ) ,
2009
+ #[ cfg( feature = "runtime" ) ]
1976
2010
h1_header_read_timeout : None ,
2011
+ #[ cfg( feature = "runtime" ) ]
1977
2012
h1_header_read_timeout_fut : & mut None ,
2013
+ #[ cfg( feature = "runtime" ) ]
1978
2014
h1_header_read_timeout_running : & mut false ,
1979
2015
preserve_header_case : false ,
1980
2016
h09_responses : false ,
@@ -1996,8 +2032,11 @@ mod tests {
1996
2032
cached_headers : & mut None ,
1997
2033
req_method : & mut Some ( Method :: GET ) ,
1998
2034
h1_parser_config : Default :: default ( ) ,
2035
+ #[ cfg( feature = "runtime" ) ]
1999
2036
h1_header_read_timeout : None ,
2037
+ #[ cfg( feature = "runtime" ) ]
2000
2038
h1_header_read_timeout_fut : & mut None ,
2039
+ #[ cfg( feature = "runtime" ) ]
2001
2040
h1_header_read_timeout_running : & mut false ,
2002
2041
preserve_header_case : false ,
2003
2042
h09_responses : false ,
@@ -2496,8 +2535,11 @@ mod tests {
2496
2535
cached_headers : & mut None ,
2497
2536
req_method : & mut Some ( Method :: GET ) ,
2498
2537
h1_parser_config : Default :: default ( ) ,
2538
+ #[ cfg( feature = "runtime" ) ]
2499
2539
h1_header_read_timeout : None ,
2540
+ #[ cfg( feature = "runtime" ) ]
2500
2541
h1_header_read_timeout_fut : & mut None ,
2542
+ #[ cfg( feature = "runtime" ) ]
2501
2543
h1_header_read_timeout_running : & mut false ,
2502
2544
preserve_header_case : false ,
2503
2545
h09_responses : false ,
@@ -2583,8 +2625,11 @@ mod tests {
2583
2625
cached_headers : & mut headers,
2584
2626
req_method : & mut None ,
2585
2627
h1_parser_config : Default :: default ( ) ,
2628
+ #[ cfg( feature = "runtime" ) ]
2586
2629
h1_header_read_timeout : None ,
2630
+ #[ cfg( feature = "runtime" ) ]
2587
2631
h1_header_read_timeout_fut : & mut None ,
2632
+ #[ cfg( feature = "runtime" ) ]
2588
2633
h1_header_read_timeout_running : & mut false ,
2589
2634
preserve_header_case : false ,
2590
2635
h09_responses : false ,
@@ -2626,8 +2671,11 @@ mod tests {
2626
2671
cached_headers : & mut headers,
2627
2672
req_method : & mut None ,
2628
2673
h1_parser_config : Default :: default ( ) ,
2674
+ #[ cfg( feature = "runtime" ) ]
2629
2675
h1_header_read_timeout : None ,
2676
+ #[ cfg( feature = "runtime" ) ]
2630
2677
h1_header_read_timeout_fut : & mut None ,
2678
+ #[ cfg( feature = "runtime" ) ]
2631
2679
h1_header_read_timeout_running : & mut false ,
2632
2680
preserve_header_case : false ,
2633
2681
h09_responses : false ,
0 commit comments