diff --git a/ext/Cargo.toml b/ext/Cargo.toml index affc3f973..9d677dd26 100644 --- a/ext/Cargo.toml +++ b/ext/Cargo.toml @@ -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 } @@ -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] @@ -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 = [] @@ -60,9 +66,9 @@ nassau = [] members = [ "crates/algebra", "crates/bivec", + "crates/chart", "crates/fp", "crates/once", - "crates/chart", "crates/sseq", ] diff --git a/ext/crates/algebra/Cargo.toml b/ext/crates/algebra/Cargo.toml index 47bfdd547..1f54e50d0 100644 --- a/ext/crates/algebra/Cargo.toml +++ b/ext/crates/algebra/Cargo.toml @@ -1,45 +1,45 @@ -[package] -name = "algebra" -version = "0.1.0" -authors = [ - "Hood Chatham ", - "Dexter Chua ", -] -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 ", + "Dexter Chua ", +] +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 diff --git a/ext/crates/bivec/Cargo.toml b/ext/crates/bivec/Cargo.toml index 1fd9e72ac..4ff8b3164 100644 --- a/ext/crates/bivec/Cargo.toml +++ b/ext/crates/bivec/Cargo.toml @@ -1,7 +1,10 @@ [package] name = "bivec" version = "0.1.0" -authors = ["Hood Chatham ", "Dexter Chua "] +authors = [ + "Hood Chatham ", + "Dexter Chua ", +] edition = "2021" [dependencies] diff --git a/ext/crates/chart/Cargo.toml b/ext/crates/chart/Cargo.toml index 939cdc10b..6722ea71c 100644 --- a/ext/crates/chart/Cargo.toml +++ b/ext/crates/chart/Cargo.toml @@ -3,7 +3,6 @@ name = "chart" version = "0.1.0" authors = ["Dexter Chua "] edition = "2021" - # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dev-dependencies] diff --git a/ext/crates/fp/Cargo.toml b/ext/crates/fp/Cargo.toml index 17150f2c2..30cb2209c 100644 --- a/ext/crates/fp/Cargo.toml +++ b/ext/crates/fp/Cargo.toml @@ -3,36 +3,34 @@ name = "fp" version = "0.1.0" authors = ["Dexter Chua "] 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" diff --git a/ext/crates/once/Cargo.toml b/ext/crates/once/Cargo.toml index e8ad21949..c320ba4f3 100644 --- a/ext/crates/once/Cargo.toml +++ b/ext/crates/once/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "once" version = "0.1.0" -authors = ["Hood Chatham ", "Dexter Chua "] +authors = [ + "Hood Chatham ", + "Dexter Chua ", +] 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] diff --git a/ext/crates/query/Cargo.toml b/ext/crates/query/Cargo.toml index 0dab021ce..4ce324a8d 100644 --- a/ext/crates/query/Cargo.toml +++ b/ext/crates/query/Cargo.toml @@ -3,7 +3,6 @@ name = "query" version = "0.1.0" authors = ["Hood Chatham ", "Dexter Chua "] edition = "2021" - # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] diff --git a/ext/crates/sseq/Cargo.toml b/ext/crates/sseq/Cargo.toml index bc7b90b97..e6d4f2f6d 100644 --- a/ext/crates/sseq/Cargo.toml +++ b/ext/crates/sseq/Cargo.toml @@ -3,19 +3,18 @@ name = "sseq" version = "0.1.0" authors = ["Dexter Chua "] 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" @@ -23,6 +22,6 @@ 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"]