Skip to content

Commit 3c71c6c

Browse files
committed
reverting supercrate import changes
1 parent bea1594 commit 3c71c6c

File tree

10 files changed

+40
-60
lines changed

10 files changed

+40
-60
lines changed

Cargo.lock

+14-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ edition = "2021"
77
rust-version = "1.83.0"
88

99
[workspace.dependencies]
10-
malachite-base = { version = "0.4.21", path = 'malachite-base' }
11-
malachite-nz = { version = "0.4.21", path = 'malachite-nz', default_features = false }
12-
malachite-q = { version = "0.4.21", path = 'malachite-q' }
13-
malachite-float = { version = "0.4.21", path = 'malachite-float' }
10+
malachite-base = { version = "0.4.22", path = 'malachite-base' }
11+
malachite-nz = { version = "0.4.22", path = 'malachite-nz', default_features = false }
12+
malachite-q = { version = "0.4.22", path = 'malachite-q' }
13+
malachite-float = { version = "0.4.22", path = 'malachite-float' }
1414

1515
[profile.release]
1616
lto = "fat"

docs/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ Malachite uses `no_std`, unless the `random`, `test_build`, or `bin_build` featu
5555
To use Malachite, add the following to your project's `Cargo.toml` file:
5656
```yaml
5757
[dependencies.malachite]
58-
version = "0.4.21"
58+
version = "0.4.22"
5959
```
6060

6161
By default, all of Malachite's features are included, but you can opt out of some of them. For
6262
example, if you want to use `Natural` and `Integer` but not `Rational`, you can instead use
6363
```yaml
6464
[dependencies.malachite]
65-
version = "0.4.21"
65+
version = "0.4.22"
6666
default-features = false
6767
features = [ "naturals_and_integers" ]
6868
```

malachite-base/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "malachite-base"
3-
version = "0.4.21"
3+
version = "0.4.22"
44
authors = ["Mikhail Hogrefe <mikhailhogrefe@gmail.com>"]
55
rust-version.workspace = true
66
edition.workspace = true

malachite-criterion-bench/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[package]
22
name = "malachite-criterion-bench"
3-
version = "0.4.21"
3+
version = "0.4.22"
44
authors = ["Mikhail Hogrefe <mikhailhogrefe@gmail.com>"]
55
autobenches = false
66
rust-version.workspace = true
77
edition.workspace = true
88

99
[dependencies]
10-
malachite-base = { version = "0.4.21", path = "../malachite-base" }
11-
malachite-nz = { version = "0.4.21", default-features = false, path = "../malachite-nz" }
10+
malachite-base = { version = "0.4.22", path = "../malachite-base" }
11+
malachite-nz = { version = "0.4.22", default-features = false, path = "../malachite-nz" }
1212
num = "0.4.1"
1313
rug = { version = "1.21.0", default-features = false, features = ["integer", "serde"] }
1414

malachite-float/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "malachite-float"
3-
version = "0.4.21"
3+
version = "0.4.22"
44
authors = ["Mikhail Hogrefe <mikhailhogrefe@gmail.com>"]
55
rust-version.workspace = true
66
edition.workspace = true
@@ -22,9 +22,9 @@ path = "src/bin.rs"
2222

2323
[dependencies]
2424
itertools = { version = "0.11.0", default-features = false, features = ["use_alloc"] }
25-
malachite-base = { version = "0.4.21", default-features = false, path = "../malachite-base" }
26-
malachite-nz = { version = "0.4.21", default-features = false, features = ["float_helpers"], path = "../malachite-nz" }
27-
malachite-q = { version = "0.4.21", default-features = false, path = "../malachite-q" }
25+
malachite-base = { version = "0.4.22", default-features = false, path = "../malachite-base" }
26+
malachite-nz = { version = "0.4.22", default-features = false, features = ["float_helpers"], path = "../malachite-nz" }
27+
malachite-q = { version = "0.4.22", default-features = false, path = "../malachite-q" }
2828
serde = { version = "1.0.188", optional = true, default-features = false, features = ["alloc", "derive"] }
2929

3030
serde_json = { version = "1.0.105", optional = true }

malachite-nz/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "malachite-nz"
3-
version = "0.4.21"
3+
version = "0.4.22"
44
authors = ["Mikhail Hogrefe <mikhailhogrefe@gmail.com>"]
55
rust-version.workspace = true
66
edition.workspace = true
@@ -23,7 +23,7 @@ path = "src/bin.rs"
2323
[dependencies]
2424
itertools = { version = "0.11.0", default-features = false, features = ["use_alloc"] }
2525
libm = { version = "0.2.8", default-features = false }
26-
malachite-base = { version = "0.4.21", default-features = false, path = "../malachite-base" }
26+
malachite-base = { version = "0.4.22", default-features = false, path = "../malachite-base" }
2727
serde = { version = "1.0.188", optional = true, default-features = false, features = ["alloc", "derive"] }
2828

2929
indoc = { version = "2.0.4", optional = true}

malachite-q/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "malachite-q"
3-
version = "0.4.21"
3+
version = "0.4.22"
44
authors = ["Mikhail Hogrefe <mikhailhogrefe@gmail.com>"]
55
rust-version.workspace = true
66
edition.workspace = true
@@ -22,8 +22,8 @@ path = "src/bin.rs"
2222

2323
[dependencies]
2424
itertools = { version = "0.11.0", default-features = false, features = ["use_alloc"] }
25-
malachite-base = { version = "0.4.21", default-features = false, path = "../malachite-base" }
26-
malachite-nz = { version = "0.4.21", default-features = false, path = "../malachite-nz" }
25+
malachite-base = { version = "0.4.22", default-features = false, path = "../malachite-base" }
26+
malachite-nz = { version = "0.4.22", default-features = false, path = "../malachite-nz" }
2727
serde = { version = "1.0.188", optional = true, default-features = false, features = ["alloc", "derive"] }
2828

2929
serde_json = { version = "1.0.105", optional = true }

malachite/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "malachite"
3-
version = "0.4.21"
3+
version = "0.4.22"
44
authors = ["Mikhail Hogrefe <mikhailhogrefe@gmail.com>"]
55
rust-version.workspace = true
66
edition.workspace = true
@@ -13,10 +13,10 @@ keywords = ["mathematics", "math", "numerics", "bignum"]
1313
categories = ["mathematics"]
1414

1515
[dependencies]
16-
malachite-base = { version = "0.4.21", default-features = false, path = "../malachite-base" }
17-
malachite-nz = { version = "0.4.21", default-features = false, optional = true, path = "../malachite-nz" }
18-
malachite-q = { version = "0.4.21", default-features = false, optional = true, path = "../malachite-q" }
19-
malachite-float = { version = "0.4.21", default-features = false, optional = true, path = "../malachite-float" }
16+
malachite-base = { version = "0.4.22", default-features = false, path = "../malachite-base" }
17+
malachite-nz = { version = "0.4.22", default-features = false, optional = true, path = "../malachite-nz" }
18+
malachite-q = { version = "0.4.22", default-features = false, optional = true, path = "../malachite-q" }
19+
malachite-float = { version = "0.4.22", default-features = false, optional = true, path = "../malachite-float" }
2020
serde = { version = "1.0.188", optional = true, features = ["derive"] }
2121
embed-doc-image = { version = "0.1.4", optional = true }
2222

malachite/src/lib.rs

+2-22
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,7 @@
77
// 3 of the License, or (at your option) any later version. See <https://www.gnu.org/licenses/>.
88

99
#![cfg_attr(not(feature = "random"), no_std)]
10-
11-
/// This module contains various functions that support the other crates. This includes many
12-
/// numeric traits and their implementation for primitive numeric types, as well as many functions
13-
/// for exhaustively and randomly generating values of many types.
14-
pub mod base {
15-
pub use malachite_base::*;
16-
}
10+
pub use malachite_base::*;
1711

1812
#[cfg(feature = "naturals_and_integers")]
1913
#[cfg(feature = "rationals")]
@@ -27,18 +21,4 @@ pub use malachite_nz::natural::Natural;
2721
pub use malachite_nz::*;
2822
#[cfg(feature = "naturals_and_integers")]
2923
#[cfg(feature = "rationals")]
30-
/// [`Rational`](rational::Rational), a type representing rational numbers with arbitrarily large
31-
/// numerators and denominators.
32-
pub mod rational {
33-
pub use malachite_q::*;
34-
}
35-
36-
/// Various types and constants dependent on whether Malachite is built using 32-bit limbs or
37-
/// 64-bit limbs. `Limb` is the type such that `Vec`s of limbs are used to represent the bits of a
38-
/// [`Natural`].
39-
pub mod platform {
40-
#[cfg(feature = "32_bit_limbs")]
41-
pub use malachite_nz::platform_32::*;
42-
#[cfg(not(feature = "32_bit_limbs"))]
43-
pub use malachite_nz::platform_64::*;
44-
}
24+
pub use malachite_q::Rational;

0 commit comments

Comments
 (0)