diff --git a/Cargo.lock b/Cargo.lock index 01e0cd0..b3d88e4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -160,6 +160,10 @@ version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" +[[package]] +name = "graphs" +version = "0.1.0" + [[package]] name = "hermit-abi" version = "0.3.9" @@ -383,7 +387,7 @@ dependencies = [ [[package]] name = "rpq" -version = "0.1.2" +version = "0.1.3" dependencies = [ "bincode", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 4a45de8..fea41e4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,9 @@ [package] name = "rpq" -version = "0.1.2" +version = "0.1.3" edition = "2021" authors = ["Justin Timperio"] description = "A high performance embeddable double priority queue with complex priority ordering guarantees" -license = "MIT" license-file = "LICENSE" readme = "README.md" repository = "https://github.com/JustinTimperio/rpq" @@ -14,7 +13,6 @@ keywords = [ "priority-queue-library", "rpq", ] -exclude = ["graphs", "perf.data", "perf.data.old"] [lib] name = "rpq" @@ -30,9 +28,8 @@ serde = { version = "1.0.208", features = ["derive"] } tokio = { version = "1.10.0", features = ["full"] } uuid = { version = "1.10.0", features = ["v4"] } -[[bin]] -name = "rpq-graphs" -path = "graphs/main.rs" - [profile.test] inherits = "release" + +[workspace] +members = ["graphs"] diff --git a/README.md b/README.md index 164b45a..afa393b 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ TODO: Publish to crates.io ```toml [dependencies] -rpq = "0.1.0" +rpq = "0.1.3" ``` ### API Reference diff --git a/graphs/Cargo.toml b/graphs/Cargo.toml new file mode 100644 index 0000000..47aad3b --- /dev/null +++ b/graphs/Cargo.toml @@ -0,0 +1,4 @@ +[package] +name = "graphs" +version = "0.1.0" +edition = "2021" diff --git a/graphs/main.rs b/graphs/src/main.rs similarity index 100% rename from graphs/main.rs rename to graphs/src/main.rs