From 44ac6fe4bee22b4ed677196a09e81e357c097a11 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 11 Sep 2024 12:59:22 -0700 Subject: [PATCH] fixed_wide: no default features --- fixed_wide/Cargo.toml | 2 +- linear_ops/Cargo.lock | 8 -------- linear_ops/Cargo.toml | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/fixed_wide/Cargo.toml b/fixed_wide/Cargo.toml index 7b025ab..40d6321 100644 --- a/fixed_wide/Cargo.toml +++ b/fixed_wide/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [features] -default=["deferred-division","zeroes","wide-mul"] +default=[] deferred-division=["dep:ratio_ops"] wide-mul=[] zeroes=["dep:arrayvec"] diff --git a/linear_ops/Cargo.lock b/linear_ops/Cargo.lock index 6a24c51..3f34821 100644 --- a/linear_ops/Cargo.lock +++ b/linear_ops/Cargo.lock @@ -2,12 +2,6 @@ # It is not intended for manual editing. version = 3 -[[package]] -name = "arrayvec" -version = "0.7.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50" - [[package]] name = "bnum" version = "0.11.0" @@ -18,10 +12,8 @@ checksum = "3e31ea183f6ee62ac8b8a8cf7feddd766317adfb13ff469de57ce033efd6a790" name = "fixed_wide" version = "0.1.0" dependencies = [ - "arrayvec", "bnum", "paste", - "ratio_ops", ] [[package]] diff --git a/linear_ops/Cargo.toml b/linear_ops/Cargo.toml index c2a73c3..885f45f 100644 --- a/linear_ops/Cargo.toml +++ b/linear_ops/Cargo.toml @@ -12,4 +12,4 @@ deferred-division=["dep:ratio_ops"] ratio_ops = { path = "../ratio_ops", optional = true } [dev-dependencies] -fixed_wide = { version = "0.1.0", path = "../fixed_wide" } +fixed_wide = { version = "0.1.0", path = "../fixed_wide", features = ["wide-mul"] }