commit bed37676000cf3e810b2e89db83eec51ffac818e
parent a47a42ad892614ac00b9a576d8c40176c9ed2de9
Author: Zack Newman <zack@philomathiclife.com>
Date: Fri, 21 Nov 2025 19:42:25 -0700
minor readme and cargo.toml changes
Diffstat:
2 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
@@ -10,7 +10,7 @@ name = "zfc"
readme = "README.md"
repository = "https://git.philomathiclife.com/repos/zfc/"
rust-version = "1.86.0"
-version = "0.4.4"
+version = "0.4.5"
[lints.rust]
ambiguous_negative_literals = { level = "deny", priority = -1 }
@@ -86,7 +86,19 @@ single_char_lifetime_names = "allow"
[package.metadata.docs.rs]
all-features = true
-rustdoc-args = ["--cfg", "docsrs"]
+default-target = "x86_64-unknown-linux-gnu"
+targets = [
+ "aarch64-apple-darwin",
+ "aarch64-pc-windows-msvc",
+ "aarch64-unknown-linux-gnu",
+ "i686-pc-windows-msvc",
+ "i686-unknown-linux-gnu",
+ "x86_64-pc-windows-gnu",
+ "x86_64-pc-windows-msvc",
+ "x86_64-unknown-freebsd",
+ "x86_64-unknown-linux-musl",
+ "x86_64-unknown-netbsd"
+]
[dependencies]
num-bigint = { version = "0.4.6", default-features = false }
diff --git a/README.md b/README.md
@@ -34,9 +34,13 @@ at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you,
as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
-Before any PR is sent, `cargo clippy` and `cargo t` should be run for both `--no-default-features` and
-`--all-features`. Additionally `RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features` should be run to
-ensure documentation can be built.
+Before any PR is sent, `cargo clippy --all-targets`, `cargo test --all-targets`, and `cargo test --doc` should be
+run _for each possible combination of "features"_ using the stable and MSRV toolchains. One easy way to achieve this
+is by invoking [`ci-cargo`](https://crates.io/crates/ci-cargo) as `ci-cargo clippy --all-targets test --all-targets`
+in the `priv_sep` directory.
+
+Last, `RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features` should be run to ensure documentation can be
+built on non-OpenBSD platforms; otherwise `cargo doc --all-features` should be run.
### Status