File tree Expand file tree Collapse file tree 4 files changed +4
-20
lines changed Expand file tree Collapse file tree 4 files changed +4
-20
lines changed Original file line number Diff line number Diff line change 18
18
- 0.10.1
19
19
- 0.11.0
20
20
- 0.12.3
21
- - 0.13.1
22
21
runs-on : ubuntu-24.04
23
22
env :
24
23
LIBSTROPHE_VERSION : ${{ matrix.libstrophe-version }}
Original file line number Diff line number Diff line change @@ -33,11 +33,10 @@ names = "0.14"
33
33
trybuild = " 1"
34
34
35
35
[features ]
36
- default = [" rust-log" , " libstrophe-0_13 " ]
36
+ default = [" rust-log" , " libstrophe-0_12_0 " ]
37
37
buildtime_bindgen = [" sys/buildtime_bindgen" ]
38
38
libstrophe-0_9_3 = []
39
39
libstrophe-0_10_0 = [" libstrophe-0_9_3" ]
40
40
libstrophe-0_11_0 = [" libstrophe-0_10_0" ]
41
41
libstrophe-0_12_0 = [" libstrophe-0_11_0" ]
42
- libstrophe-0_13 = [" libstrophe-0_12_0" ]
43
42
rust-log = [" log" ]
Original file line number Diff line number Diff line change @@ -25,13 +25,7 @@ if verlte "0.11.0" "$LIBSTROPHE_VERSION"; then
25
25
cargo test -v $ARGS --release -- --test-threads=1
26
26
fi
27
27
28
- if verlte " 0.12.1" " $LIBSTROPHE_VERSION " ; then
29
- ARGS=" --no-default-features --features=buildtime_bindgen,libstrophe-0_12_0"
30
- cargo test -v $ARGS -- --test-threads=1
31
- cargo test -v $ARGS --release -- --test-threads=1
32
- fi
33
-
34
- if verlte " 0.13.0" " $LIBSTROPHE_VERSION " ; then
28
+ if verlte " 0.12.0" " $LIBSTROPHE_VERSION " ; then
35
29
cargo test -v -- --test-threads=1
36
30
cargo test -v --release -- --test-threads=1
37
31
cargo test -v --features=buildtime_bindgen -- --test-threads=1
Original file line number Diff line number Diff line change @@ -448,11 +448,7 @@ fn zero_sized_handlers() {
448
448
. unwrap ( ) ;
449
449
ctx. run ( ) ;
450
450
}
451
- if cfg ! ( feature = "libstrophe-0_13" ) {
452
- assert_eq ! ( i. load( Ordering :: Relaxed ) , 0 ) ;
453
- } else {
454
- assert_eq ! ( i. load( Ordering :: Relaxed ) , 1 ) ;
455
- }
451
+ assert_eq ! ( i. load( Ordering :: Relaxed ) , 1 ) ;
456
452
457
453
// non zero sized handlers are called
458
454
i. store ( 0 , Ordering :: Relaxed ) ;
@@ -941,11 +937,7 @@ fn handler() {
941
937
. expect ( "Can't add handler" ) ;
942
938
let ctx = conn. connect_client ( None , None , default_con_handler) . unwrap ( ) ;
943
939
ctx. run ( ) ;
944
- if cfg ! ( feature = "libstrophe-0_13" ) {
945
- assert_eq ! ( i. load( Ordering :: Relaxed ) , 0 ) ;
946
- } else {
947
- assert_eq ! ( i. load( Ordering :: Relaxed ) , 1 ) ;
948
- }
940
+ assert_eq ! ( i. load( Ordering :: Relaxed ) , 1 ) ;
949
941
}
950
942
951
943
// handler call stanza name not existent
You can’t perform that action at this time.
0 commit comments