Skip to content

Commit 15874dd

Browse files
committed
used taplo fmt to clean up .toml files
1 parent b1f43e4 commit 15874dd

File tree

6 files changed

+38
-36
lines changed

6 files changed

+38
-36
lines changed

Cargo.toml

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

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

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

@@ -46,9 +43,13 @@ rayon = { version = "1.10.0", optional = true }
4643
cblas-sys = { workspace = true, optional = true }
4744
libc = { version = "0.2.82", optional = true }
4845

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

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

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

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

8283
[workspace]
83-
members = [
84-
"ndarray-rand",
85-
"crates/*",
86-
]
84+
members = ["ndarray-rand", "crates/*"]
8785
default-members = [
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
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
9492
]
9593

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

111111
[profile.bench]

crates/blas-tests/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,3 @@ 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: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ num-traits = { workspace = true }
1111
# Config for cargo-release
1212
[package.metadata.release]
1313
release = false
14-

crates/numeric-tests/Cargo.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,13 @@ 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 = ["openblas"] }
22-
openblas-src = { optional = true, version = ">=0.10.11", default-features = false, features = ["cblas", "system"] }
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+
] }
2328

2429
[dev-dependencies]
2530
num-traits = { workspace = true }

ndarray-rand/Cargo.toml

Lines changed: 5 additions & 6 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,4 +34,3 @@ 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)