Skip to content

Commit 21e5b70

Browse files
authored
move common crate to directory packages (#37)
* move common crate to directory `packages` Signed-off-by: zhongzc <zhongzc_arch@outlook.com> * fix dockerignore Signed-off-by: zhongzc <zhongzc_arch@outlook.com> --------- Signed-off-by: zhongzc <zhongzc_arch@outlook.com>
1 parent ed471e3 commit 21e5b70

7 files changed

Lines changed: 6 additions & 3 deletions

File tree

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
*
2+
!packages
23
!extensions
34
!scripts
45
!src

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,12 @@ lazy_static = "1.4.0"
3939

4040
[workspace]
4141
members = [
42-
"extensions/common",
42+
"packages/common",
43+
4344
"extensions/topsql",
4445
"extensions/vm-import",
4546
"extensions/aws-s3-upload-file",
47+
"extensions/gcp-cloud-storage-upload-file",
4648
"extensions/filename",
4749
]
4850

extensions/aws-s3-upload-file/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ publish = false
88
vector = { git = "https://github.com/vectordotdev/vector", tag = "v0.23.3", default-features = false, features = ["aws-config", "sinks-aws_s3"] }
99
vector_core = { git = "https://github.com/vectordotdev/vector", tag = "v0.23.3", default-features = false, features = ["vrl"] }
1010

11-
common = { path = "../common" }
11+
common = { path = "../../packages/common" }
1212

1313
tracing = { version = "0.1.34", default-features = false }
1414
serde = { version = "1.0.137", default-features = false, features = ["derive"] }

extensions/gcp-cloud-storage-upload-file/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ publish = false
88
vector = { git = "https://github.com/vectordotdev/vector", tag = "v0.23.3", default-features = false, features = ["gcp", "sinks-gcp"] }
99
vector_core = { git = "https://github.com/vectordotdev/vector", tag = "v0.23.3", default-features = false, features = ["vrl"] }
1010

11-
common = { path = "../common" }
11+
common = { path = "../../packages/common" }
1212

1313
tracing = { version = "0.1.34", default-features = false }
1414
serde = { version = "1.0.137", default-features = false, features = ["derive"] }

0 commit comments

Comments
 (0)