Skip to content

Commit

Permalink
server: Normalize package metadata (#1460)
Browse files Browse the repository at this point in the history
- Use workspace inheritance for edition and license
- Remove fields that serve no purpose for packages that are never
published
  • Loading branch information
svix-jplatte authored Oct 1, 2024
2 parents d3610df + a65f46d commit 803f846
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
4 changes: 4 additions & 0 deletions server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ nonstandard_macro_braces = "warn"
todo = "warn"
uninlined_format_args = "warn"

[workspace.package]
edition = "2021"
license = "MIT"

[profile.dev]
# optimize host dependencies for faster rebuilds.
# slows down compilation of those dependencies, but they'll not be compiled
Expand Down
9 changes: 2 additions & 7 deletions server/svix-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
[package]
name = "svix-server"
version = "1.36.0"
license = "MIT"
description = "Svix webhooks server"

authors = ["Svix Inc. <oss@svix.com>"]
homepage = "https://www.svix.com"
repository = "https://github.com/svix/svix-webhooks"
readme = "../README.md"
edition = "2021"
publish = false
edition.workspace = true
license.workspace = true

[dependencies]
svix-server_derive = { path = "../svix-server_derive" }
Expand Down
4 changes: 2 additions & 2 deletions server/svix-server_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "svix-server_derive"
version = "0.1.0"
edition = "2021"
publish = false
license = "MIT"
edition.workspace = true
license.workspace = true

[lib]
proc-macro = true
Expand Down

0 comments on commit 803f846

Please sign in to comment.