From e20cf90a1a10c2865ea5ef1a54a90568c054f0ed Mon Sep 17 00:00:00 2001 From: jiacai2050 Date: Sat, 25 Nov 2023 19:51:12 +0800 Subject: [PATCH] fix: add license for workspace memebers --- Cargo.lock | 6 +++--- Cargo.toml | 1 + analytic_engine/Cargo.toml | 3 +++ benchmarks/Cargo.toml | 3 +++ catalog/Cargo.toml | 3 +++ catalog_impls/Cargo.toml | 3 +++ cluster/Cargo.toml | 3 +++ common_types/Cargo.toml | 3 +++ components/alloc_tracker/Cargo.toml | 3 +++ components/arena/Cargo.toml | 3 +++ components/arrow_ext/Cargo.toml | 3 +++ components/bytes_ext/Cargo.toml | 3 +++ components/codec/Cargo.toml | 3 +++ components/future_ext/Cargo.toml | 3 +++ components/generic_error/Cargo.toml | 3 +++ components/hash_ext/Cargo.toml | 3 +++ components/id_allocator/Cargo.toml | 3 +++ components/logger/Cargo.toml | 9 ++++++--- components/macros/Cargo.toml | 3 +++ components/message_queue/Cargo.toml | 19 ++++++++++++------- components/metric_ext/Cargo.toml | 3 +++ components/notifier/Cargo.toml | 3 +++ components/object_store/Cargo.toml | 3 +++ components/panic_ext/Cargo.toml | 9 ++++++--- components/parquet_ext/Cargo.toml | 3 +++ components/partitioned_lock/Cargo.toml | 3 +++ components/profile/Cargo.toml | 9 ++++++--- components/runtime/Cargo.toml | 3 +++ components/sampling_cache/Cargo.toml | 3 +++ components/size_ext/Cargo.toml | 3 +++ components/skiplist/Cargo.toml | 3 +++ components/table_kv/Cargo.toml | 3 +++ components/test_util/Cargo.toml | 3 +++ components/time_ext/Cargo.toml | 3 +++ components/timed_task/Cargo.toml | 3 +++ components/toml_ext/Cargo.toml | 3 +++ components/trace_metric/Cargo.toml | 3 +++ components/trace_metric_derive/Cargo.toml | 3 +++ .../trace_metric_derive_tests/Cargo.toml | 3 +++ components/tracing_util/Cargo.toml | 3 +++ df_engine_extensions/Cargo.toml | 3 +++ df_operator/Cargo.toml | 3 +++ integration_tests/Cargo.toml | 7 ++++++- integration_tests/sdk/rust/Cargo.toml | 7 ++++++- interpreters/Cargo.toml | 3 +++ meta_client/Cargo.toml | 3 +++ partition_table_engine/Cargo.toml | 3 +++ proxy/Cargo.toml | 3 +++ query_engine/Cargo.toml | 3 +++ query_frontend/Cargo.toml | 3 +++ remote_engine_client/Cargo.toml | 3 +++ router/Cargo.toml | 3 +++ server/Cargo.toml | 3 +++ src/ceresdb/Cargo.toml | 3 +++ src/wal/Cargo.toml | 15 +++++++++------ system_catalog/Cargo.toml | 3 +++ table_engine/Cargo.toml | 3 +++ tools/Cargo.toml | 3 +++ 58 files changed, 202 insertions(+), 27 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f044b9400e..81b0fcfa41 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1315,7 +1315,7 @@ dependencies = [ [[package]] name = "ceresdb-test" -version = "0.1.0" +version = "1.2.6-alpha" dependencies = [ "anyhow", "async-trait", @@ -3882,7 +3882,7 @@ dependencies = [ [[package]] name = "message_queue" -version = "0.1.0" +version = "1.2.6-alpha" dependencies = [ "async-trait", "chrono", @@ -5937,7 +5937,7 @@ dependencies = [ [[package]] name = "rust-sdk-test" -version = "0.1.0" +version = "1.2.6-alpha" dependencies = [ "ceresdb-client", "tokio", diff --git a/Cargo.toml b/Cargo.toml index a0c136b9a9..6470f96a02 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,7 @@ version = "1.2.6-alpha" authors = ["CeresDB Authors "] edition = "2021" +license = "Apache-2.0" [workspace] resolver = "2" diff --git a/analytic_engine/Cargo.toml b/analytic_engine/Cargo.toml index e575bd465f..88e4540365 100644 --- a/analytic_engine/Cargo.toml +++ b/analytic_engine/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "analytic_engine" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.toml index 9121b9faf9..f47c40862d 100644 --- a/benchmarks/Cargo.toml +++ b/benchmarks/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "benchmarks" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/catalog/Cargo.toml b/catalog/Cargo.toml index 3d4b2cd6d8..a614c5055d 100644 --- a/catalog/Cargo.toml +++ b/catalog/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "catalog" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/catalog_impls/Cargo.toml b/catalog_impls/Cargo.toml index 9a55624350..5b739b809e 100644 --- a/catalog_impls/Cargo.toml +++ b/catalog_impls/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "catalog_impls" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/cluster/Cargo.toml b/cluster/Cargo.toml index 3eb7e311d4..9924940208 100644 --- a/cluster/Cargo.toml +++ b/cluster/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "cluster" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/common_types/Cargo.toml b/common_types/Cargo.toml index 0554dbb770..e71c1d1219 100644 --- a/common_types/Cargo.toml +++ b/common_types/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "common_types" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/alloc_tracker/Cargo.toml b/components/alloc_tracker/Cargo.toml index 1694399b3a..98064dd27e 100644 --- a/components/alloc_tracker/Cargo.toml +++ b/components/alloc_tracker/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "alloc_tracker" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/arena/Cargo.toml b/components/arena/Cargo.toml index b964a70522..86a2a07cef 100644 --- a/components/arena/Cargo.toml +++ b/components/arena/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "arena" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/arrow_ext/Cargo.toml b/components/arrow_ext/Cargo.toml index ef66739aed..848873b402 100644 --- a/components/arrow_ext/Cargo.toml +++ b/components/arrow_ext/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "arrow_ext" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/bytes_ext/Cargo.toml b/components/bytes_ext/Cargo.toml index 4803d993a1..fe2229abb9 100644 --- a/components/bytes_ext/Cargo.toml +++ b/components/bytes_ext/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "bytes_ext" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/codec/Cargo.toml b/components/codec/Cargo.toml index 91a57bf56d..38f15f6a66 100644 --- a/components/codec/Cargo.toml +++ b/components/codec/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "codec" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/future_ext/Cargo.toml b/components/future_ext/Cargo.toml index 4ad27fd2f8..f2f11ebe0d 100644 --- a/components/future_ext/Cargo.toml +++ b/components/future_ext/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "future_ext" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/generic_error/Cargo.toml b/components/generic_error/Cargo.toml index f4d8515d71..f730cbae59 100644 --- a/components/generic_error/Cargo.toml +++ b/components/generic_error/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "generic_error" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/hash_ext/Cargo.toml b/components/hash_ext/Cargo.toml index 7061ef3e4e..7632150745 100644 --- a/components/hash_ext/Cargo.toml +++ b/components/hash_ext/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "hash_ext" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/id_allocator/Cargo.toml b/components/id_allocator/Cargo.toml index e757e8cbc8..2267c91c04 100644 --- a/components/id_allocator/Cargo.toml +++ b/components/id_allocator/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "id_allocator" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/logger/Cargo.toml b/components/logger/Cargo.toml index 82c2a2708b..0800a4a8f8 100644 --- a/components/logger/Cargo.toml +++ b/components/logger/Cargo.toml @@ -15,13 +15,13 @@ [package] name = "logger" -[package.version] +[package.license] workspace = true -[package.authors] +[package.version] workspace = true -[package.edition] +[package.authors] workspace = true [dependencies.slog-global] @@ -29,6 +29,9 @@ version = "0.1" git = "https://github.com/tikv/slog-global.git" rev = "d592f88e4dbba5eb439998463054f1a44fbf17b9" +[package.edition] +workspace = true + [dependencies] chrono = { workspace = true } log = "0.4" diff --git a/components/macros/Cargo.toml b/components/macros/Cargo.toml index 7b7456bd4d..d41b9150ea 100644 --- a/components/macros/Cargo.toml +++ b/components/macros/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "macros" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/message_queue/Cargo.toml b/components/message_queue/Cargo.toml index 85ef8910e0..1d50c240ef 100644 --- a/components/message_queue/Cargo.toml +++ b/components/message_queue/Cargo.toml @@ -14,11 +14,22 @@ [package] name = "message_queue" -version = "0.1.0" + +[package.license] +workspace = true [package.edition] workspace = true +[package.version] +workspace = true + +[dependencies.rskafka] +git = "https://github.com/Rachelint/rskafka.git" +rev = "f0fd8e278d8164cb0cfca5a80476361fc308ecc3" +default-features = false +features = ["compression-gzip", "compression-lz4", "compression-snappy"] + [dependencies] async-trait = { workspace = true } chrono = { workspace = true } @@ -30,11 +41,5 @@ snafu = { workspace = true } time_ext = { workspace = true } tokio = { workspace = true } -[dependencies.rskafka] -git = "https://github.com/Rachelint/rskafka.git" -rev = "f0fd8e278d8164cb0cfca5a80476361fc308ecc3" -default-features = false -features = ["compression-gzip", "compression-lz4", "compression-snappy"] - [dev-dependencies] uuid = { version = "1.3", features = ["v4"] } diff --git a/components/metric_ext/Cargo.toml b/components/metric_ext/Cargo.toml index 2cf17caaeb..298f5ea538 100644 --- a/components/metric_ext/Cargo.toml +++ b/components/metric_ext/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "metric_ext" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/notifier/Cargo.toml b/components/notifier/Cargo.toml index 70854c05f9..9236fda53e 100644 --- a/components/notifier/Cargo.toml +++ b/components/notifier/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "notifier" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/object_store/Cargo.toml b/components/object_store/Cargo.toml index 9c6237a19e..ddb07d1024 100644 --- a/components/object_store/Cargo.toml +++ b/components/object_store/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "object_store" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/panic_ext/Cargo.toml b/components/panic_ext/Cargo.toml index a4e170a6d7..89c2351fd1 100644 --- a/components/panic_ext/Cargo.toml +++ b/components/panic_ext/Cargo.toml @@ -15,13 +15,13 @@ [package] name = "panic_ext" -[package.version] +[package.license] workspace = true -[package.authors] +[package.version] workspace = true -[package.edition] +[package.authors] workspace = true [dependencies.slog-global] @@ -29,6 +29,9 @@ version = "0.1" git = "https://github.com/tikv/slog-global.git" rev = "d592f88e4dbba5eb439998463054f1a44fbf17b9" +[package.edition] +workspace = true + [dependencies] backtrace = "0.3.9" libc = "0.2" diff --git a/components/parquet_ext/Cargo.toml b/components/parquet_ext/Cargo.toml index 5ef19827e8..52ede15d3e 100644 --- a/components/parquet_ext/Cargo.toml +++ b/components/parquet_ext/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "parquet_ext" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/partitioned_lock/Cargo.toml b/components/partitioned_lock/Cargo.toml index eee821b45d..60c9cca939 100644 --- a/components/partitioned_lock/Cargo.toml +++ b/components/partitioned_lock/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "partitioned_lock" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/profile/Cargo.toml b/components/profile/Cargo.toml index 087aa1b9dc..4c03fc47b9 100644 --- a/components/profile/Cargo.toml +++ b/components/profile/Cargo.toml @@ -15,19 +15,22 @@ [package] name = "profile" -[package.version] +[package.license] workspace = true -[package.authors] +[package.version] workspace = true -[package.edition] +[package.authors] workspace = true [dependencies.jemalloc-sys] version = "0.3.2" features = ["stats", "profiling", "unprefixed_malloc_on_supported_platforms"] +[package.edition] +workspace = true + [dependencies] jemalloc-ctl = "0.3.2" jemallocator = "0.3.2" diff --git a/components/runtime/Cargo.toml b/components/runtime/Cargo.toml index 73f46ba9ad..685a884028 100644 --- a/components/runtime/Cargo.toml +++ b/components/runtime/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "runtime" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/sampling_cache/Cargo.toml b/components/sampling_cache/Cargo.toml index fe930c8253..0dc13091f0 100644 --- a/components/sampling_cache/Cargo.toml +++ b/components/sampling_cache/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "sampling_cache" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/size_ext/Cargo.toml b/components/size_ext/Cargo.toml index 611d902abb..8f904fc210 100644 --- a/components/size_ext/Cargo.toml +++ b/components/size_ext/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "size_ext" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/skiplist/Cargo.toml b/components/skiplist/Cargo.toml index 5fbb1378eb..fcd9586cff 100644 --- a/components/skiplist/Cargo.toml +++ b/components/skiplist/Cargo.toml @@ -14,6 +14,9 @@ [package] name = "skiplist" + +[package.license] +workspace = true authors = ["Jay Lee ", "CeresDB Authors "] [package.version] diff --git a/components/table_kv/Cargo.toml b/components/table_kv/Cargo.toml index a472294c33..118750e860 100644 --- a/components/table_kv/Cargo.toml +++ b/components/table_kv/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "table_kv" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/test_util/Cargo.toml b/components/test_util/Cargo.toml index 486edaa166..bf84a25a62 100644 --- a/components/test_util/Cargo.toml +++ b/components/test_util/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "test_util" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/time_ext/Cargo.toml b/components/time_ext/Cargo.toml index befe98dd07..5449caec84 100644 --- a/components/time_ext/Cargo.toml +++ b/components/time_ext/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "time_ext" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/timed_task/Cargo.toml b/components/timed_task/Cargo.toml index 27eeb22cdd..3397f2bcd6 100644 --- a/components/timed_task/Cargo.toml +++ b/components/timed_task/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "timed_task" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/toml_ext/Cargo.toml b/components/toml_ext/Cargo.toml index 834abd64c9..61b896e1fe 100644 --- a/components/toml_ext/Cargo.toml +++ b/components/toml_ext/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "toml_ext" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/trace_metric/Cargo.toml b/components/trace_metric/Cargo.toml index c9cf3b794d..c2f35df4f7 100644 --- a/components/trace_metric/Cargo.toml +++ b/components/trace_metric/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "trace_metric" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/trace_metric_derive/Cargo.toml b/components/trace_metric_derive/Cargo.toml index 72f078bd19..47f51f3a93 100644 --- a/components/trace_metric_derive/Cargo.toml +++ b/components/trace_metric_derive/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "trace_metric_derive" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/trace_metric_derive_tests/Cargo.toml b/components/trace_metric_derive_tests/Cargo.toml index 94b949af96..7c5e200692 100644 --- a/components/trace_metric_derive_tests/Cargo.toml +++ b/components/trace_metric_derive_tests/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "trace_metric_derive_tests" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/components/tracing_util/Cargo.toml b/components/tracing_util/Cargo.toml index 973febdc73..56fdfec0ed 100644 --- a/components/tracing_util/Cargo.toml +++ b/components/tracing_util/Cargo.toml @@ -14,6 +14,9 @@ [package] name = "tracing_util" + +[package.license] +workspace = true authors = ["Databend Authors ", "CeresDB Authors "] license = "Apache-2.0" publish = false diff --git a/df_engine_extensions/Cargo.toml b/df_engine_extensions/Cargo.toml index 03102ea0cb..e5a18009e9 100644 --- a/df_engine_extensions/Cargo.toml +++ b/df_engine_extensions/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "df_engine_extensions" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/df_operator/Cargo.toml b/df_operator/Cargo.toml index 72642461ae..eb11d6ea8b 100644 --- a/df_operator/Cargo.toml +++ b/df_operator/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "df_operator" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/integration_tests/Cargo.toml b/integration_tests/Cargo.toml index bcdb9c8b0e..63f93c73ef 100644 --- a/integration_tests/Cargo.toml +++ b/integration_tests/Cargo.toml @@ -14,11 +14,16 @@ [package] name = "ceresdb-test" -version = "0.1.0" + +[package.license] +workspace = true [package.edition] workspace = true +[package.version] +workspace = true + [dependencies] anyhow = "1.0.58" async-trait = "0.1" diff --git a/integration_tests/sdk/rust/Cargo.toml b/integration_tests/sdk/rust/Cargo.toml index 687a5e931e..b9c19cceed 100644 --- a/integration_tests/sdk/rust/Cargo.toml +++ b/integration_tests/sdk/rust/Cargo.toml @@ -14,11 +14,16 @@ [package] name = "rust-sdk-test" -version = "0.1.0" + +[package.license] +workspace = true [package.edition] workspace = true +[package.version] +workspace = true + [dependencies] ceresdb-client = "1.0.2" tokio = { version = "1.25", features = ["full"] } diff --git a/interpreters/Cargo.toml b/interpreters/Cargo.toml index 59fcc161a6..0f9275a246 100644 --- a/interpreters/Cargo.toml +++ b/interpreters/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "interpreters" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/meta_client/Cargo.toml b/meta_client/Cargo.toml index ae7e5fb268..cf554210db 100644 --- a/meta_client/Cargo.toml +++ b/meta_client/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "meta_client" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/partition_table_engine/Cargo.toml b/partition_table_engine/Cargo.toml index bbeac2137a..8e39c8676b 100644 --- a/partition_table_engine/Cargo.toml +++ b/partition_table_engine/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "partition_table_engine" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/proxy/Cargo.toml b/proxy/Cargo.toml index 85643e50aa..ddf44a2c77 100644 --- a/proxy/Cargo.toml +++ b/proxy/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "proxy" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/query_engine/Cargo.toml b/query_engine/Cargo.toml index 4b6f941c8a..e7b6b4509b 100644 --- a/query_engine/Cargo.toml +++ b/query_engine/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "query_engine" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/query_frontend/Cargo.toml b/query_frontend/Cargo.toml index 842219a567..191b3ed061 100644 --- a/query_frontend/Cargo.toml +++ b/query_frontend/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "query_frontend" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/remote_engine_client/Cargo.toml b/remote_engine_client/Cargo.toml index 44bef76cd1..b440688019 100644 --- a/remote_engine_client/Cargo.toml +++ b/remote_engine_client/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "remote_engine_client" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/router/Cargo.toml b/router/Cargo.toml index 6e5d27382b..544872ee1d 100644 --- a/router/Cargo.toml +++ b/router/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "router" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/server/Cargo.toml b/server/Cargo.toml index 093fed6054..3ac7a59168 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "server" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/src/ceresdb/Cargo.toml b/src/ceresdb/Cargo.toml index 2c554cf67f..43c7cdc642 100644 --- a/src/ceresdb/Cargo.toml +++ b/src/ceresdb/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "ceresdb" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/src/wal/Cargo.toml b/src/wal/Cargo.toml index c6a0d3ee85..2c67b98cf5 100644 --- a/src/wal/Cargo.toml +++ b/src/wal/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "wal" +[package.license] +workspace = true + [package.version] workspace = true @@ -24,6 +27,12 @@ workspace = true [package.edition] workspace = true +[dependencies.rocksdb] +git = "https://github.com/tikv/rust-rocksdb.git" +rev = "f04f4dd8eacc30e67c24bc2529a6d9c6edb85f8f" +features = ["portable"] +optional = true + [features] wal-message-queue = ["dep:message_queue"] wal-table-kv = ["dep:table_kv"] @@ -33,12 +42,6 @@ wal-rocksdb = ["dep:rocksdb"] name = "read_write" required-features = ["wal-message-queue", "wal-table-kv", "wal-rocksdb"] -[dependencies.rocksdb] -git = "https://github.com/tikv/rust-rocksdb.git" -rev = "f04f4dd8eacc30e67c24bc2529a6d9c6edb85f8f" -features = ["portable"] -optional = true - [dependencies] async-trait = { workspace = true } bytes_ext = { workspace = true } diff --git a/system_catalog/Cargo.toml b/system_catalog/Cargo.toml index 04fd7254eb..3d2da48bf5 100644 --- a/system_catalog/Cargo.toml +++ b/system_catalog/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "system_catalog" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/table_engine/Cargo.toml b/table_engine/Cargo.toml index 3eb1396aca..5ac414279a 100644 --- a/table_engine/Cargo.toml +++ b/table_engine/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "table_engine" +[package.license] +workspace = true + [package.version] workspace = true diff --git a/tools/Cargo.toml b/tools/Cargo.toml index dfb5f5f6ef..5c51856178 100644 --- a/tools/Cargo.toml +++ b/tools/Cargo.toml @@ -15,6 +15,9 @@ [package] name = "tools" +[package.license] +workspace = true + [package.version] workspace = true