Skip to content

Commit 1c1eb03

Browse files
committed
Revert "used taplo fmt to clean up .toml files"
This reverts commit 15874dd.
1 parent 15874dd commit 1c1eb03

File tree

6 files changed

+36
-38
lines changed

6 files changed

+36
-38
lines changed

Cargo.toml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ name = "ndarray"
44
version = "0.17.2"
55
edition = "2021"
66
rust-version = "1.64"
7-
authors = ["Ulrik Sverdrup \"bluss\"", "Jim Turner"]
7+
authors = [
8+
"Ulrik Sverdrup \"bluss\"",
9+
"Jim Turner"
10+
]
811
license = "MIT OR Apache-2.0"
912
readme = "README-crates.io.md"
1013

@@ -17,12 +20,12 @@ keywords = ["array", "data-structure", "multidimensional", "matrix", "blas"]
1720
categories = ["data-structures", "science"]
1821

1922
include = [
20-
"/src/**/*.rs",
21-
"LICENSE-MIT",
22-
"LICENSE-APACHE",
23-
"RELEASES.md",
24-
"README.rst",
25-
"README-quick-start.md",
23+
"/src/**/*.rs",
24+
"LICENSE-MIT",
25+
"LICENSE-APACHE",
26+
"RELEASES.md",
27+
"README.rst",
28+
"README-quick-start.md"
2629
]
2730
resolver = "2"
2831

@@ -43,13 +46,9 @@ rayon = { version = "1.10.0", optional = true }
4346
cblas-sys = { workspace = true, optional = true }
4447
libc = { version = "0.2.82", optional = true }
4548

46-
matrixmultiply = { version = "0.3.2", default-features = false, features = [
47-
"cgemm",
48-
] }
49+
matrixmultiply = { version = "0.3.2", default-features = false, features=["cgemm"] }
4950

50-
serde = { version = "1.0", optional = true, default-features = false, features = [
51-
"alloc",
52-
] }
51+
serde = { version = "1.0", optional = true, default-features = false, features = ["alloc"] }
5352
rawpointer = { version = "0.2" }
5453

5554
[dev-dependencies]
@@ -78,17 +77,20 @@ portable-atomic-critical-section = ["portable-atomic/critical-section"]
7877

7978
[target.'cfg(not(target_has_atomic = "ptr"))'.dependencies]
8079
portable-atomic = { version = "1.6.0" }
81-
portable-atomic-util = { version = "0.2.0", features = ["alloc"] }
80+
portable-atomic-util = { version = "0.2.0", features = [ "alloc" ] }
8281

8382
[workspace]
84-
members = ["ndarray-rand", "crates/*"]
83+
members = [
84+
"ndarray-rand",
85+
"crates/*",
86+
]
8587
default-members = [
86-
".",
87-
"ndarray-rand",
88-
"crates/ndarray-gen",
89-
"crates/numeric-tests",
90-
"crates/serialization-tests",
91-
# exclude blas-tests and blas-mock-tests that activate "blas" feature
88+
".",
89+
"ndarray-rand",
90+
"crates/ndarray-gen",
91+
"crates/numeric-tests",
92+
"crates/serialization-tests",
93+
# exclude blas-tests and blas-mock-tests that activate "blas" feature
9294
]
9395

9496
[workspace.dependencies]
@@ -103,9 +105,7 @@ approx = { version = "0.5", default-features = false }
103105
quickcheck = { version = "1.0", default-features = false }
104106
rand = { version = "0.9.0", features = ["small_rng"] }
105107
rand_distr = { version = "0.5.0" }
106-
itertools = { version = "0.13.0", default-features = false, features = [
107-
"use_std",
108-
] }
108+
itertools = { version = "0.13.0", default-features = false, features = ["use_std"] }
109109
cblas-sys = { version = "0.1.4", default-features = false }
110110

111111
[profile.bench]

crates/blas-tests/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ accelerate = ["blas-src", "blas-src/accelerate"]
3939
# Config for cargo-release
4040
[package.metadata.release]
4141
release = false
42+

crates/ndarray-gen/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ num-traits = { workspace = true }
1111
# Config for cargo-release
1212
[package.metadata.release]
1313
release = false
14+

crates/numeric-tests/Cargo.toml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,8 @@ approx = { workspace = true }
1818
rand = { workspace = true }
1919
rand_distr = { workspace = true }
2020

21-
blas-src = { optional = true, version = "0.10", default-features = false, features = [
22-
"openblas",
23-
] }
24-
openblas-src = { optional = true, version = ">=0.10.11", default-features = false, features = [
25-
"cblas",
26-
"system",
27-
] }
21+
blas-src = { optional = true, version = "0.10", default-features = false, features = ["openblas"] }
22+
openblas-src = { optional = true, version = ">=0.10.11", default-features = false, features = ["cblas", "system"] }
2823

2924
[dev-dependencies]
3025
num-traits = { workspace = true }

ndarray-rand/Cargo.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ description = "Constructors for randomized arrays. `rand` integration for `ndarr
1414
keywords = ["multidimensional", "matrix", "rand", "ndarray"]
1515

1616
include = [
17-
"/src/**/*.rs",
18-
"LICENSE-MIT",
19-
"LICENSE-APACHE",
20-
"RELEASES.md",
21-
"README.rst",
17+
"/src/**/*.rs",
18+
"LICENSE-MIT",
19+
"LICENSE-APACHE",
20+
"RELEASES.md",
21+
"README.rst"
2222
]
2323

2424
[dependencies]
@@ -34,3 +34,4 @@ quickcheck = { workspace = true }
3434

3535
[package.metadata.release]
3636
tag-name = "ndarray-rand-{{version}}"
37+

rustfmt.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ fn_call_width = 100
55
max_width = 120
66
brace_style = "AlwaysNextLine"
77
control_brace_style = "AlwaysSameLine"
8-
fn_params_layout = "Compressed" # ?
8+
fn_params_layout = "Compressed" # ?
99
format_macro_bodies = false
1010
imports_granularity = "Preserve"
1111
imports_indent = "Block"
@@ -16,7 +16,7 @@ match_arm_blocks = false
1616
match_arm_leading_pipes = "Preserve"
1717
merge_derives = false
1818
overflow_delimited_expr = true
19-
reorder_modules = false # impacts rustdoc order
19+
reorder_modules = false # impacts rustdoc order
2020
short_array_element_width_threshold = 32
2121
skip_macro_invocations = ["*"]
2222
unstable_features = true

0 commit comments

Comments
 (0)