Skip to content

Commit

Permalink
chore: inherit package metadata from workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
bavshin-f5 committed Nov 22, 2024
1 parent ad4d80a commit 19c7a23
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
16 changes: 10 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,23 @@ members = [
"examples",
]

[workspace.package]
edition = "2021"
license = "Apache-2.0"
homepage = "https://github.com/nginxinc/ngx-rust"
repository = "https://github.com/nginxinc/ngx-rust"

[package]
name = "ngx"
version = "0.5.0"
edition = "2021"
autoexamples = false
categories = ["api-bindings", "network-programming"]
description = "FFI bindings to NGINX"
repository = "https://github.com/nginxinc/ngx-rust"
homepage = "https://github.com/nginxinc/ngx-rust"
license = "Apache-2.0"
keywords = ["nginx", "module", "sys"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]
nginx-sys = { path = "nginx-sys", version = "0.5.0"}
Expand Down
6 changes: 4 additions & 2 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
name = "examples"
version = "0.0.0"
publish = false
edition = "2021"
license = "Apache-2.0"
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true

[dev-dependencies]
ngx = { path = "../", default-features = false }
Expand Down
8 changes: 4 additions & 4 deletions nginx-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "nginx-sys"
version = "0.5.0"
edition = "2021"
categories = ["external-ffi-bindings"]
description = "FFI bindings to NGINX"
repository = "https://github.com/nginxinc/ngx-rust"
homepage = "https://github.com/nginxinc/ngx-rust"
license = "Apache-2.0"
keywords = ["nginx", "ffi", "sys"]
build = "build/main.rs"
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]

Expand Down

0 comments on commit 19c7a23

Please sign in to comment.