Skip to content

Commit

Permalink
Sort Cargo.toml contents
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyBF committed Nov 19, 2023
1 parent 1c9fdce commit 4d99891
Show file tree
Hide file tree
Showing 8 changed files with 87 additions and 80 deletions.
26 changes: 16 additions & 10 deletions ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ algebra = { path = "crates/algebra", default-features = false, features = [
"json",
] }
bivec = { path = "crates/bivec" }
chart = { path = "crates/chart" }
fp = { path = "crates/fp", default-features = false }
once = { path = "crates/once" }
query = { path = "crates/query" }
sseq = { path = "crates/sseq", default-features = false }
adler = "1"

adler = "1"
anyhow = "1.0.0"
rayon = { version = "1.5", optional = true }
rustc-hash = "1.1.0"
serde_json = { version = "1.0.0", features = ["preserve_order"] }
byteorder = "1.4.3"
dashmap = "4.0.0"
itertools = { version = "0.10.0", default-features = false, features = [
"use_alloc",
] }
chart = { path = "crates/chart" }
dashmap = "4.0.0"
byteorder = "1.4.3"
rayon = { version = "1.5", optional = true }
rustc-hash = "1.1.0"
serde_json = { version = "1.0.0", features = ["preserve_order"] }

zstd = { version = "0.9.0", optional = true }

Expand All @@ -41,8 +41,8 @@ ctrlc = { version = "3", features = ["termination"] }

[dev-dependencies]
expect-test = "1.1.0"
rstest = "0.17.0"
iai = "0.1.1"
rstest = "0.17.0"
tempfile = "3.0.0"

[lib]
Expand All @@ -51,7 +51,13 @@ crate-type = ["cdylib", "rlib"]
[features]
default = ["odd-primes"]
cache-multiplication = ["algebra/cache-multiplication"]
concurrent = ["rayon", "once/concurrent", "fp/concurrent", "algebra/concurrent", "sseq/concurrent"]
concurrent = [
"algebra/concurrent",
"fp/concurrent",
"once/concurrent",
"sseq/concurrent",
"rayon",
]
odd-primes = ["fp/odd-primes", "algebra/odd-primes", "sseq/odd-primes"]
logging = []
nassau = []
Expand All @@ -60,9 +66,9 @@ nassau = []
members = [
"crates/algebra",
"crates/bivec",
"crates/chart",
"crates/fp",
"crates/once",
"crates/chart",
"crates/sseq",
]

Expand Down
90 changes: 45 additions & 45 deletions ext/crates/algebra/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
[package]
name = "algebra"
version = "0.1.0"
authors = [
"Hood Chatham <[email protected]>",
"Dexter Chua <[email protected]>",
]
edition = "2021"

[lib]
crate-type = ["cdylib", "rlib"]

[dependencies]
anyhow = "1.0.0"
serde_json = { version = "1.0.0", optional = true }
serde = { version = "1.0.0", features = ["derive"], optional = true }
itertools = { version = "0.10.0", default-features = false, features = [
"use_alloc",
] }
nom = { version = "7.0.0", default-features = false, features = ["alloc"] }
rustc-hash = "1.1.0"
hashbrown = "0.11.0"
auto_impl = "1.0.0"

bivec = { path = "../bivec" }
fp = { path = "../fp", default-features = false }
once = { path = "../once" }

rayon = { version = "1.5", optional = true }

[dev-dependencies]
rstest = "0.17.0"
bencher = "0.1.5"
expect-test = "1.1.0"

[features]
default = ["odd-primes", "json"]
json = ["serde", "serde_json", "bivec/json", "fp/json"]
odd-primes = ["fp/odd-primes"]
concurrent = ["rayon", "fp/concurrent"]
cache-multiplication = []

[[bench]]
name = "milnor"
harness = false
[package]
name = "algebra"
version = "0.1.0"
authors = [
"Hood Chatham <[email protected]>",
"Dexter Chua <[email protected]>",
]
edition = "2021"

[lib]
crate-type = ["cdylib", "rlib"]

[dependencies]
bivec = { path = "../bivec" }
fp = { path = "../fp", default-features = false }
once = { path = "../once" }

anyhow = "1.0.0"
auto_impl = "1.0.0"
hashbrown = "0.11.0"
itertools = { version = "0.10.0", default-features = false, features = [
"use_alloc",
] }
nom = { version = "7.0.0", default-features = false, features = ["alloc"] }
rustc-hash = "1.1.0"
serde = { version = "1.0.0", features = ["derive"], optional = true }
serde_json = { version = "1.0.0", optional = true }

rayon = { version = "1.5", optional = true }

[dev-dependencies]
bencher = "0.1.5"
expect-test = "1.1.0"
rstest = "0.17.0"

[features]
default = ["odd-primes", "json"]
cache-multiplication = []
concurrent = ["rayon", "fp/concurrent"]
json = ["serde", "serde_json", "bivec/json", "fp/json"]
odd-primes = ["fp/odd-primes"]

[[bench]]
name = "milnor"
harness = false
5 changes: 4 additions & 1 deletion ext/crates/bivec/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[package]
name = "bivec"
version = "0.1.0"
authors = ["Hood Chatham <[email protected]>", "Dexter Chua <[email protected]>"]
authors = [
"Hood Chatham <[email protected]>",
"Dexter Chua <[email protected]>",
]
edition = "2021"

[dependencies]
Expand Down
1 change: 0 additions & 1 deletion ext/crates/chart/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name = "chart"
version = "0.1.0"
authors = ["Dexter Chua <[email protected]>"]
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dev-dependencies]
Expand Down
20 changes: 9 additions & 11 deletions ext/crates/fp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,34 @@ name = "fp"
version = "0.1.0"
authors = ["Dexter Chua <[email protected]>"]
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
serde_json = { version = "1.0.0", optional = true }
serde = { version = "1.0.0", optional = true }
itertools = { version = "0.10.0", default-features = false }
cfg-if = "1.0.0"
build_const = "0.2.2"
byteorder = "1.4.3"
cfg-if = "1.0.0"
itertools = { version = "0.10.0", default-features = false }
serde = { version = "1.0.0", optional = true }
serde_json = { version = "1.0.0", optional = true }

rayon = { version = "1.5", optional = true }

[dev-dependencies]
rand = "0.8.4"
rstest = "0.17.0"
criterion = { version = "0.3.5", features = ["html_reports"] }
iai = "0.1.1"
expect-test = "1.1.0"
iai = "0.1.1"
proptest = "1.2"
rand = "0.8.4"
rstest = "0.17.0"

[build-dependencies]
build_const = "0.2.2"

[features]
default = ["odd-primes"]

odd-primes = []
json = ["serde_json", "serde"]
concurrent = ["rayon"]
json = ["serde_json", "serde"]
odd-primes = []

[[bench]]
name = "criterion"
Expand Down
9 changes: 6 additions & 3 deletions ext/crates/once/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
[package]
name = "once"
version = "0.1.0"
authors = ["Hood Chatham <[email protected]>", "Dexter Chua <[email protected]>"]
authors = [
"Hood Chatham <[email protected]>",
"Dexter Chua <[email protected]>",
]
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bivec = { path = "../bivec"}
bivec = { path = "../bivec" }

rayon = { version = "1", optional = true }

[dev-dependencies]
Expand Down
1 change: 0 additions & 1 deletion ext/crates/query/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name = "query"
version = "0.1.0"
authors = ["Hood Chatham <[email protected]>", "Dexter Chua <[email protected]>"]
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
15 changes: 7 additions & 8 deletions ext/crates/sseq/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,25 @@ name = "sseq"
version = "0.1.0"
authors = ["Dexter Chua <[email protected]>"]
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
fp = { path = "../fp/", default-features = false }
algebra = { path = "../algebra/", default-features = false }
bivec = { path = "../bivec/" }
once = { path = "../once/" }
chart = { path = "../chart/" }
algebra = { path = "../algebra/", default-features = false }
fp = { path = "../fp/", default-features = false }
once = { path = "../once/" }

serde_json = { version = "1.0.0", optional = true }
serde = { version = "1.0.0", optional = true }
rayon = { version = "1.5", optional = true }
serde = { version = "1.0.0", optional = true }
serde_json = { version = "1.0.0", optional = true }

[dev-dependencies]
expect-test = "1.1.0"
rand = "0.8"

[features]
default = ["odd-primes"]
odd-primes = ["fp/odd-primes"]
json = ["serde_json", "serde"]
concurrent = ["rayon"]
json = ["serde_json", "serde"]
odd-primes = ["fp/odd-primes"]

0 comments on commit 4d99891

Please sign in to comment.