Skip to content

Commit

Permalink
server: Normalize package metadata
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 committed Sep 30, 2024
1 parent d2571f1 commit a65f46d
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. <[email protected]>"]
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 a65f46d

Please sign in to comment.