Skip to content

Commit

Permalink
update version number, attempt to fix top-level crate documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mhogrefe committed Apr 12, 2024
1 parent d6a95b8 commit 9cba0f6
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 25 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ members = ['malachite', 'malachite-base', 'malachite-float', 'malachite-nz', 'ma
resolver = "2"

[workspace.dependencies]
malachite-base = { version = "0.4.6", path = 'malachite-base' }
malachite-nz = { version = "0.4.6", path = 'malachite-nz', default_features = false }
malachite-q = { version = "0.4.6", path = 'malachite-q' }
malachite-float = { version = "0.4.6", path = 'malachite-float' }
malachite-base = { version = "0.4.7", path = 'malachite-base' }
malachite-nz = { version = "0.4.7", path = 'malachite-nz', default_features = false }
malachite-q = { version = "0.4.7", path = 'malachite-q' }
malachite-float = { version = "0.4.7", path = 'malachite-float' }

[profile.release]
lto = true
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ Malachite uses `no_std`, unless the `random`, `test_build`, or `bin_build` featu
To use Malachite, add the following to your project's `Cargo.toml` file:
```yaml
[dependencies.malachite]
version = "0.4.6"
version = "0.4.7"
```

By default, all of Malachite's features are included, but you can opt out of some of them. For
example, if you want to use `Natural` and `Integer` but not `Rational`, you can instead use
```yaml
[dependencies.malachite]
version = "0.4.6"
version = "0.4.7"
default-features = false
features = [ "naturals_and_integers" ]
```
Expand Down
2 changes: 1 addition & 1 deletion malachite-base/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "malachite-base"
version = "0.4.6"
version = "0.4.7"
authors = ["Mikhail Hogrefe <[email protected]>"]
rust-version = "1.61.0"
edition = "2021"
Expand Down
6 changes: 3 additions & 3 deletions malachite-criterion-bench/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "malachite-criterion-bench"
version = "0.4.6"
version = "0.4.7"
authors = ["Mikhail Hogrefe <[email protected]>"]
autobenches = false
edition = "2021"

[dependencies]
malachite-base = { version = "0.4.6" }
malachite-nz = { version = "0.4.6", default_features = false }
malachite-base = { version = "0.4.7" }
malachite-nz = { version = "0.4.7", default_features = false }
num = "0.4.1"
rug = { version = "1.21.0", default-features = false, features = ["integer", "serde"] }

Expand Down
8 changes: 4 additions & 4 deletions malachite-float/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "malachite-float"
version = "0.4.6"
version = "0.4.7"
authors = ["Mikhail Hogrefe <[email protected]>"]
rust-version = "1.61.0"
edition = "2021"
Expand All @@ -22,9 +22,9 @@ path = "src/bin.rs"

[dependencies]
itertools = { version = "0.11.0", default-features = false, features = ["use_alloc"] }
malachite-base = { version = "0.4.6", default-features = false }
malachite-nz = { version = "0.4.6", default-features = false, features = ["float_helpers"] }
malachite-q = { version = "0.4.6", default-features = false }
malachite-base = { version = "0.4.7", default-features = false }
malachite-nz = { version = "0.4.7", default-features = false, features = ["float_helpers"] }
malachite-q = { version = "0.4.7", default-features = false }
serde = { version = "1.0.188", optional = true, default_features = false, features = ["alloc", "derive"] }

serde_json = { version = "1.0.105", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions malachite-nz/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "malachite-nz"
version = "0.4.6"
version = "0.4.7"
authors = ["Mikhail Hogrefe <[email protected]>"]
rust-version = "1.61.0"
edition = "2021"
Expand All @@ -23,7 +23,7 @@ path = "src/bin.rs"
[dependencies]
itertools = { version = "0.11.0", default-features = false, features = ["use_alloc"] }
libm = { version = "0.2.8", default-features = false }
malachite-base = { version = "0.4.6", default-features = false }
malachite-base = { version = "0.4.7", default-features = false }
serde = { version = "1.0.188", optional = true, default-features = false, features = ["alloc", "derive"] }

serde_json = { version = "1.0.105", optional = true }
Expand Down
6 changes: 3 additions & 3 deletions malachite-q/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "malachite-q"
version = "0.4.6"
version = "0.4.7"
authors = ["Mikhail Hogrefe <[email protected]>"]
rust-version = "1.61.0"
edition = "2021"
Expand All @@ -22,8 +22,8 @@ path = "src/bin.rs"

[dependencies]
itertools = { version = "0.11.0", default-features = false, features = ["use_alloc"] }
malachite-base = { version = "0.4.6", default-features = false }
malachite-nz = { version = "0.4.6", default-features = false }
malachite-base = { version = "0.4.7", default-features = false }
malachite-nz = { version = "0.4.7", default-features = false }
serde = { version = "1.0.188", optional = true, default-features = false, features = ["alloc", "derive"] }

serde_json = { version = "1.0.105", optional = true }
Expand Down
13 changes: 7 additions & 6 deletions malachite/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "malachite"
version = "0.4.6"
version = "0.4.7"
authors = ["Mikhail Hogrefe <[email protected]>"]
rust-version = "1.61.0"
edition = "2021"
Expand All @@ -13,11 +13,12 @@ keywords = ["mathematics", "math", "numerics", "bignum"]
categories = ["mathematics"]

[dependencies]
malachite-base = { version = "0.4.6", default_features = false }
malachite-nz = { version = "0.4.6", default_features = false, optional = true }
malachite-q = { version = "0.4.6", default_features = false, optional = true }
malachite-float = { version = "0.4.6", default_features = false, optional = true }
malachite-base = { version = "0.4.7", default_features = false }
malachite-nz = { version = "0.4.7", default_features = false, optional = true }
malachite-q = { version = "0.4.7", default_features = false, optional = true }
malachite-float = { version = "0.4.7", default_features = false, optional = true }
serde = { version = "1.0.188", optional = true, features = ["derive"] }
embed-doc-image = { version = "0.1.4", optional = true }

[features]
default = [ "naturals_and_integers", "rationals" ]
Expand All @@ -32,5 +33,5 @@ floats = [ "malachite-float" ]
[package.metadata.docs.rs]
# docs.rs uses a nightly compiler, so by instructing it to use our `doc-images` feature we
# ensure that it will render any images that we may have in inner attribute documentation.
features = ["malachite-nz/doc-images", "random"]
features = ["embed-doc-image", "random"]
rustdoc-args = [ "--html-in-header", "katex-header.html" ]

0 comments on commit 9cba0f6

Please sign in to comment.