Skip to content

Commit

Permalink
fix: add license to workspace members (apache#1317)
Browse files Browse the repository at this point in the history
## Rationale
Currently workspace members don't include license

## Detailed Changes


## Test Plan
`cargo deny list` show them under Apache-2.0.
  • Loading branch information
jiacai2050 authored Nov 27, 2023
1 parent 3c8868f commit 2d930d3
Show file tree
Hide file tree
Showing 58 changed files with 202 additions and 27 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
version = "1.2.6-alpha"
authors = ["CeresDB Authors <ceresdbservice@gmail.com>"]
edition = "2021"
license = "Apache-2.0"

[workspace]
resolver = "2"
Expand Down
3 changes: 3 additions & 0 deletions analytic_engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "analytic_engine"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions benchmarks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "benchmarks"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions catalog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "catalog"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions catalog_impls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "catalog_impls"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions cluster/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "cluster"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions common_types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "common_types"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions components/alloc_tracker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "alloc_tracker"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions components/arena/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "arena"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions components/arrow_ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "arrow_ext"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions components/bytes_ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "bytes_ext"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions components/codec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "codec"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions components/future_ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "future_ext"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions components/generic_error/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "generic_error"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions components/hash_ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "hash_ext"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions components/id_allocator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "id_allocator"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
9 changes: 6 additions & 3 deletions components/logger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,23 @@
[package]
name = "logger"

[package.version]
[package.license]
workspace = true

[package.authors]
[package.version]
workspace = true

[package.edition]
[package.authors]
workspace = true

[dependencies.slog-global]
version = "0.1"
git = "https://github.com/tikv/slog-global.git"
rev = "d592f88e4dbba5eb439998463054f1a44fbf17b9"

[package.edition]
workspace = true

[dependencies]
chrono = { workspace = true }
log = "0.4"
Expand Down
3 changes: 3 additions & 0 deletions components/macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "macros"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
19 changes: 12 additions & 7 deletions components/message_queue/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand All @@ -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"] }
3 changes: 3 additions & 0 deletions components/metric_ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "metric_ext"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions components/notifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "notifier"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions components/object_store/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "object_store"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
9 changes: 6 additions & 3 deletions components/panic_ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,23 @@
[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]
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"
Expand Down
3 changes: 3 additions & 0 deletions components/parquet_ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "parquet_ext"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions components/partitioned_lock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "partitioned_lock"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
9 changes: 6 additions & 3 deletions components/profile/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 3 additions & 0 deletions components/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "runtime"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions components/sampling_cache/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "sampling_cache"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
3 changes: 3 additions & 0 deletions components/size_ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
[package]
name = "size_ext"

[package.license]
workspace = true

[package.version]
workspace = true

Expand Down
Loading

0 comments on commit 2d930d3

Please sign in to comment.