Skip to content

Commit 196e899

Browse files
update for release
1 parent b1e6ca2 commit 196e899

File tree

6 files changed

+18
-11
lines changed

6 files changed

+18
-11
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1111

1212
* add changes here
1313

14+
## [0.3.0]
15+
16+
### Changed
17+
18+
* Updated dependency versions
19+
1420
## [0.2.0]
1521

1622
### Changed

Cargo.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# See Notices.txt for copyright information
33
[package]
44
name = "algebraics"
5-
version = "0.2.0"
5+
version = "0.3.0"
66
authors = ["Jacob Lifshay <[email protected]>"]
77
edition = "2018"
88
license = "LGPL-2.1-or-later"
@@ -22,12 +22,12 @@ name = "algebraics"
2222
crate-type = ["rlib", "cdylib"]
2323

2424
[dependencies]
25-
num-traits = "0.2"
26-
num-bigint = "0.4"
27-
num-integer = "0.1"
28-
num-rational = "0.4"
29-
rand = "0.5"
30-
rand_pcg = "0.1.1"
25+
num-traits = "0.2.14"
26+
num-bigint = "0.4.3"
27+
num-integer = "0.1.44"
28+
num-rational = "0.4.0"
29+
rand = "0.8.5"
30+
rand_pcg = "0.3.1"
3131
lazy_static = "1.4"
3232

3333
[dependencies.pyo3]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Using algebraics in your own Rust project:
8686

8787
```toml
8888
[dependencies.algebraics]
89-
version = "0.2"
89+
version = "0.3"
9090
```
9191

9292
Developing algebraics:

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: LGPL-2.1-or-later
22
# See Notices.txt for copyright information
33
[build-system]
4-
requires = ["maturin"]
4+
requires = ["maturin>=0.11,<0.12"]
55
build-backend = "maturin"
66

77
[tool.maturin]

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ pub use algebraic_numbers::RealAlgebraicNumber;
2020

2121
macro_rules! doctest {
2222
($x:expr) => {
23+
#[allow(unused_doc_comments)]
2324
#[doc = $x]
2425
extern "C" {}
2526
};

src/quadratic_numbers.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ mod tests {
954954
println!("{}: {}", Polynomial::from(poly.clone()), f);
955955
let rqn = RealQuadraticNumber::new(poly).unwrap();
956956
let num = rqn.to_f64().unwrap();
957-
assert!((num - f).abs() < 1e-10, format!("{} != {}", num, f));
957+
assert!((num - f).abs() < 1e-10, "{} != {}", num, f);
958958
}
959959
}
960960
#[test]
@@ -969,7 +969,7 @@ mod tests {
969969
let rqn = RealQuadraticNumber::new(poly).unwrap();
970970
let num = (-rqn).to_f64().unwrap();
971971
let f = -f;
972-
assert!((num - f).abs() < 1e-10, format!("{} != {}", num, f));
972+
assert!((num - f).abs() < 1e-10, "{} != {}", num, f);
973973
}
974974
}
975975
#[test]

0 commit comments

Comments
 (0)