From 410ec0de40cbc2249ab2fccb4d0e9e405d5c3e7d Mon Sep 17 00:00:00 2001 From: Alex Chi Date: Sun, 3 Nov 2024 22:45:50 -0500 Subject: [PATCH] docs: add crate metadata Signed-off-by: Alex Chi --- Cargo.toml | 8 ++++++++ optd-core/Cargo.toml | 8 ++++++-- optd-datafusion-bridge/Cargo.toml | 8 ++++++-- optd-datafusion-repr/Cargo.toml | 8 ++++++-- optd-gungnir/Cargo.toml | 14 +++++++++----- 5 files changed, 35 insertions(+), 11 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 17a24124..d23689f7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,3 +11,11 @@ members = [ "optd-datafusion-repr-adv-cost", ] resolver = "2" + +[workspace.package] +version = "0.1.0" +edition = "2021" +homepage = "https://github.com/cmu-db/optd" +keywords = ["sql", "database", "optimizer", "datafusion"] +license = "MIT" +repository = "https://github.com/cmu-db/optd" diff --git a/optd-core/Cargo.toml b/optd-core/Cargo.toml index 9a323933..f2542ab8 100644 --- a/optd-core/Cargo.toml +++ b/optd-core/Cargo.toml @@ -1,7 +1,11 @@ [package] name = "optd-core" -version = "0.1.0" -edition = "2021" +version = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +keywords = { workspace = true } +license = { workspace = true } +repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/optd-datafusion-bridge/Cargo.toml b/optd-datafusion-bridge/Cargo.toml index b52c12d0..a406ab64 100644 --- a/optd-datafusion-bridge/Cargo.toml +++ b/optd-datafusion-bridge/Cargo.toml @@ -1,7 +1,11 @@ [package] name = "optd-datafusion-bridge" -version = "0.1.0" -edition = "2021" +version = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +keywords = { workspace = true } +license = { workspace = true } +repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/optd-datafusion-repr/Cargo.toml b/optd-datafusion-repr/Cargo.toml index db80f99a..dec910ed 100644 --- a/optd-datafusion-repr/Cargo.toml +++ b/optd-datafusion-repr/Cargo.toml @@ -1,7 +1,11 @@ [package] name = "optd-datafusion-repr" -version = "0.1.0" -edition = "2021" +version = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +keywords = { workspace = true } +license = { workspace = true } +repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/optd-gungnir/Cargo.toml b/optd-gungnir/Cargo.toml index d8352d3f..e85eac79 100644 --- a/optd-gungnir/Cargo.toml +++ b/optd-gungnir/Cargo.toml @@ -1,7 +1,11 @@ [package] name = "optd-gungnir" -version = "0.1.0" -edition = "2021" +version = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +keywords = { workspace = true } +license = { workspace = true } +repository = { workspace = true } # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -10,8 +14,8 @@ itertools = "0.11" rand = "0.8" crossbeam = "0.8" lazy_static = "1.4" -serde = {version = "1.0", features = ["derive"]} -serde_with = {version = "3.7.0", features = ["json"]} +serde = { version = "1.0", features = ["derive"] } +serde_with = { version = "3.7.0", features = ["json"] } ordered-float = "4" optd-core = { path = "../optd-core" } -hashbrown = { version = "0.14", features = ["serde"] } \ No newline at end of file +hashbrown = { version = "0.14", features = ["serde"] }