Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/master.yaml → .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: master
name: main
on:
push:
branches:
- master
- main
schedule:
- cron: '0 0 * * 0' # 00:00 Sunday

Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ libm = [
]

rand = [
"num-bigint/rand",
"num-bigint?/rand",
"num-complex/rand",
]

serde = [
"num-bigint/serde",
"num-bigint?/serde",
"num-complex/serde",
"num-rational/serde",
]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![crate](https://img.shields.io/crates/v/num.svg)](https://crates.io/crates/num)
[![documentation](https://docs.rs/num/badge.svg)](https://docs.rs/num)
[![minimum rustc 1.60](https://img.shields.io/badge/rustc-1.60+-red.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
[![build status](https://github.com/rust-num/num/workflows/master/badge.svg)](https://github.com/rust-num/num/actions)
[![build status](https://github.com/rust-num/num/actions/workflows/main.yaml/badge.svg)](https://github.com/rust-num/num/actions/workflows/main.yaml)

A collection of numeric types and traits for Rust.

Expand Down
12 changes: 6 additions & 6 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ dependencies in your own crates, it is not a breaking change to move to `num`
A few common changes are listed below, but most of the development happens in
the individual sub-crates. Please consult their release notes for more details
about recent changes:
[`num-bigint`](https://github.com/rust-num/num-bigint/blob/master/RELEASES.md),
[`num-complex`](https://github.com/rust-num/num-complex/blob/master/RELEASES.md),
[`num-integer`](https://github.com/rust-num/num-integer/blob/master/RELEASES.md),
[`num-iter`](https://github.com/rust-num/num-iter/blob/master/RELEASES.md),
[`num-rational`](https://github.com/rust-num/num-rational/blob/master/RELEASES.md),
and [`num-traits`](https://github.com/rust-num/num-traits/blob/master/RELEASES.md).
[`num-bigint`](https://github.com/rust-num/num-bigint/blob/HEAD/RELEASES.md),
[`num-complex`](https://github.com/rust-num/num-complex/blob/HEAD/RELEASES.md),
[`num-integer`](https://github.com/rust-num/num-integer/blob/HEAD/RELEASES.md),
[`num-iter`](https://github.com/rust-num/num-iter/blob/HEAD/RELEASES.md),
[`num-rational`](https://github.com/rust-num/num-rational/blob/HEAD/RELEASES.md),
and [`num-traits`](https://github.com/rust-num/num-traits/blob/HEAD/RELEASES.md).

### Enhancements

Expand Down
10 changes: 9 additions & 1 deletion ci/test_full.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ check_version() {
]]
}

export CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS=fallback
generate_lockfile() {
cargo generate-lockfile
if ! check_version 1.85 ; then
cargo +stable update
fi
}

echo "Testing $CRATE on rustc $RUST_VERSION"
if ! check_version $MSRV ; then
echo "The minimum for $CRATE is rustc $MSRV"
Expand All @@ -34,7 +42,7 @@ echo "Testing supported features: ${STD_FEATURES[*]}"
echo " alloc supported features: ${ALLOC_FEATURES[*]}"
echo " no_std supported features: ${NO_STD_FEATURES[*]}"

cargo generate-lockfile
generate_lockfile

set -x

Expand Down
Loading