aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAria <me@aria.rip>2023-10-26 21:31:20 +0100
committerAria <me@aria.rip>2023-10-26 21:31:20 +0100
commite3205e4b1bfc5a58d1951d72431481ae1c9723b3 (patch)
tree34e4e5e014256a1500697869938ffadfdc1c9cf3
parent60024453ffee07df14b9c82f73c14e5555ff5941 (diff)
chore: change default run to cli
-rw-r--r--primrose/Cargo.toml4
-rw-r--r--primrose/crates/candelabra-cli/Cargo.toml1
-rw-r--r--primrose/crates/primrose/Cargo.toml57
3 files changed, 3 insertions, 59 deletions
diff --git a/primrose/Cargo.toml b/primrose/Cargo.toml
index 9297b2d..0904a59 100644
--- a/primrose/Cargo.toml
+++ b/primrose/Cargo.toml
@@ -1,8 +1,8 @@
[workspace]
resolver = "2"
members = [
- "crates/primrose/",
- "crates/primrose-library/",
+ "crates/primrose",
+ "crates/primrose-library",
"crates/candelabra-cli"
]
diff --git a/primrose/crates/candelabra-cli/Cargo.toml b/primrose/crates/candelabra-cli/Cargo.toml
index 53b873d..68b50e0 100644
--- a/primrose/crates/candelabra-cli/Cargo.toml
+++ b/primrose/crates/candelabra-cli/Cargo.toml
@@ -2,6 +2,7 @@
name = "candelabra-cli"
version = "0.1.0"
edition = "2021"
+default-run = "candelabra-cli"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
diff --git a/primrose/crates/primrose/Cargo.toml b/primrose/crates/primrose/Cargo.toml
index a769859..6a65c05 100644
--- a/primrose/crates/primrose/Cargo.toml
+++ b/primrose/crates/primrose/Cargo.toml
@@ -3,7 +3,6 @@ name = "primrose"
version = "0.1.0"
authors = ["Xueying Qin <qinxy1995@gmail.com>"]
edition = "2021"
-default-run = "main"
[dependencies]
primrose-library = { path = "../primrose-library" }
@@ -20,59 +19,3 @@ criterion = "0.3.5"
[[bench]]
name = "criterion_benchmark"
harness = false
-
-[[bin]]
-name = "main"
-path = "src/main.rs"
-
-[[bin]]
-name = "btreeset1"
-path = "mem_profiling/btreeset_1m.rs"
-
-[[bin]]
-name = "btreeset128"
-path = "mem_profiling/btreeset_128m.rs"
-
-[[bin]]
-name = "btreeset256"
-path = "mem_profiling/btreeset_256m.rs"
-
-[[bin]]
-name = "btreeset512"
-path = "mem_profiling/btreeset_512m.rs"
-
-[[bin]]
-name = "hashset1"
-path = "mem_profiling/hashset_1m.rs"
-
-[[bin]]
-name = "hashset128"
-path = "mem_profiling/hashset_128m.rs"
-
-[[bin]]
-name = "hashset256"
-path = "mem_profiling/hashset_256m.rs"
-
-[[bin]]
-name = "hashset512"
-path = "mem_profiling/hashset_512m.rs"
-
-[[bin]]
-name = "uveclazy1"
-path = "mem_profiling/uvec_lazy_1m.rs"
-
-[[bin]]
-name = "uveclazy128"
-path = "mem_profiling/uvec_lazy_128m.rs"
-
-[[bin]]
-name = "uveclazy256"
-path = "mem_profiling/uvec_lazy_256m.rs"
-
-[[bin]]
-name = "uveclazy512"
-path = "mem_profiling/uvec_lazy_512m.rs"
-
-#[[bin]]
-#name = "unique"
-#path = "gen_code/unique/unique0.rs" \ No newline at end of file