Skip to content

Commit baf7b3a

Browse files
committed
chore: inherit package metadata from workspace
1 parent 030a983 commit baf7b3a

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

Cargo.toml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,23 @@ members = [
44
"examples",
55
]
66

7+
[workspace.package]
8+
edition = "2021"
9+
license = "Apache-2.0"
10+
homepage = "https://github.com/nginxinc/ngx-rust"
11+
repository = "https://github.com/nginxinc/ngx-rust"
12+
713
[package]
814
name = "ngx"
915
version = "0.5.0"
10-
edition = "2021"
1116
autoexamples = false
1217
categories = ["api-bindings", "network-programming"]
1318
description = "FFI bindings to NGINX"
14-
repository = "https://github.com/nginxinc/ngx-rust"
15-
homepage = "https://github.com/nginxinc/ngx-rust"
16-
license = "Apache-2.0"
1719
keywords = ["nginx", "module", "sys"]
18-
19-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
20+
edition.workspace = true
21+
license.workspace = true
22+
homepage.workspace = true
23+
repository.workspace = true
2024

2125
[dependencies]
2226
nginx-sys = { path = "nginx-sys", version = "0.5.0"}

examples/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
name = "examples"
33
version = "0.0.0"
44
publish = false
5-
edition = "2021"
6-
license = "Apache-2.0"
5+
edition.workspace = true
6+
license.workspace = true
7+
homepage.workspace = true
8+
repository.workspace = true
79

810
[dev-dependencies]
911
ngx = { path = "../", default-features = false }

nginx-sys/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[package]
22
name = "nginx-sys"
33
version = "0.5.0"
4-
edition = "2021"
54
categories = ["external-ffi-bindings"]
65
description = "FFI bindings to NGINX"
7-
repository = "https://github.com/nginxinc/ngx-rust"
8-
homepage = "https://github.com/nginxinc/ngx-rust"
9-
license = "Apache-2.0"
106
keywords = ["nginx", "ffi", "sys"]
117
build = "build/main.rs"
8+
edition.workspace = true
9+
license.workspace = true
10+
homepage.workspace = true
11+
repository.workspace = true
1212

1313
[dependencies]
1414

0 commit comments

Comments
 (0)