File tree 4 files changed +7
-8
lines changed
4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change
1
+ #[ cfg( feature = "malachite-bigint" ) ]
2
+ pub use malachite_bigint:: { BigInt , Sign } ;
3
+ #[ cfg( feature = "num-bigint" ) ]
4
+ pub use num_bigint:: { BigInt , Sign } ;
Original file line number Diff line number Diff line change 1
1
//! Implementation of Printf-Style string formatting
2
2
//! as per the [Python Docs](https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting).
3
+ use crate :: bigint:: { BigInt , Sign } ;
3
4
use bitflags:: bitflags;
4
- #[ cfg( feature = "malachite-bigint" ) ]
5
- use malachite_bigint:: { BigInt , Sign } ;
6
- #[ cfg( feature = "num-bigint" ) ]
7
- use num_bigint:: { BigInt , Sign } ;
8
5
use num_traits:: Signed ;
9
6
use rustpython_literal:: { float, format:: Case } ;
10
7
use std:: {
Original file line number Diff line number Diff line change
1
+ use crate :: bigint:: { BigInt , Sign } ;
1
2
use itertools:: { Itertools , PeekingNext } ;
2
- #[ cfg( feature = "malachite-bigint" ) ]
3
- use malachite_bigint:: { BigInt , Sign } ;
4
- #[ cfg( feature = "num-bigint" ) ]
5
- use num_bigint:: { BigInt , Sign } ;
6
3
use num_traits:: FromPrimitive ;
7
4
use num_traits:: { cast:: ToPrimitive , Signed } ;
8
5
use rustpython_literal:: float;
Original file line number Diff line number Diff line change
1
+ mod bigint;
1
2
pub mod cformat;
2
3
mod format;
3
4
You can’t perform that action at this time.
0 commit comments