Skip to content

Commit

Permalink
chore: Move some package keys to workspace and update to edition 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
kbalt authored and kbalt committed Feb 9, 2024
1 parent 4ec32cc commit 14deb69
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 40 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
[workspace]
resolver = "2"

members = [
"crates/*",
"examples",
]

[workspace.package]
authors = ["kbalt"]
edition = "2021"
license = "MIT"
repository = "https://github.com/kbalt/ezk"
9 changes: 5 additions & 4 deletions crates/internal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
[package]
name = "ezk-internal"
version = "0.1.0"
edition = "2018"
authors = ["Konstantin Baltruschat <konstantin.baltruschat@gmail.com>"]
description = "ezk internal util"
repository = "https://github.com/kbalt/ezk"
license = "MIT"
categories = []
keywords = []
readme = "README.md"

authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
nom = { version = "7", default-features = false, features = ["alloc"] }

Expand Down
9 changes: 5 additions & 4 deletions crates/placeholder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[package]
name = "ezk"
version = "0.0.0"
edition = "2018"
authors = ["Konstantin Baltruschat <konstantin.baltruschat@gmail.com>"]
description = "placeholder for future crate"
repository = "https://github.com/kbalt/ezk"
license = "MIT"
categories = []
keywords = []

authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
9 changes: 5 additions & 4 deletions crates/sdp-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
[package]
name = "ezk-sdp-types"
version = "0.1.1"
edition = "2018"
authors = ["Konstantin Baltruschat <konstantin.baltruschat@gmail.com>"]
description = "SDP types providing parsing & serialization"
repository = "https://github.com/kbalt/ezk"
license = "MIT"
categories = ["network-programming", "multimedia"]
keywords = ["sdp"]
readme = "README.md"

authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
internal = { package = "ezk-internal", path = "../internal", version = "0.1" }

Expand Down
12 changes: 5 additions & 7 deletions crates/sip-auth/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
[package]
name = "ezk-sip-auth"
version = "0.1.1"
edition = "2018"
authors = [
"Konstantin Baltruschat <konstantin.baltruschat@gmail.com>",
"Mervs <marvinankert@gmail.com>",
]
description = "RFC8769 compliant SIP authentication"
repository = "https://github.com/kbalt/ezk"
license = "MIT"
categories = ["network-programming", "multimedia"]
keywords = ["sip", "auth"]
readme = "README.md"

authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
sip-types = { package = "ezk-sip-types", path = "../sip-types", version = "0.1" }

Expand Down
9 changes: 5 additions & 4 deletions crates/sip-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
[package]
name = "ezk-sip-core"
version = "0.2.1"
edition = "2018"
authors = ["Konstantin Baltruschat <konstantin.baltruschat@gmail.com>"]
description = "SIP core crate providing abstrations over transport and transactions"
repository = "https://github.com/kbalt/ezk"
license = "MIT"
categories = ["network-programming", "multimedia"]
keywords = ["sip"]
readme = "README.md"

authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
internal = { package = "ezk-internal", path = "../internal", version = "0.1" }
sip-types = { package = "ezk-sip-types", path = "../sip-types", version = "0.1" }
Expand Down
9 changes: 5 additions & 4 deletions crates/sip-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
[package]
name = "ezk-sip-types"
version = "0.1.3"
edition = "2018"
authors = ["Konstantin Baltruschat <konstantin.baltruschat@gmail.com>"]
description = "SIP types providing parsing & serialization"
repository = "https://github.com/kbalt/ezk"
license = "MIT"
categories = ["network-programming", "multimedia"]
keywords = ["sip"]
readme = "README.md"

authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
internal = { package = "ezk-internal", path = "../internal", version = "0.1" }

Expand Down
9 changes: 5 additions & 4 deletions crates/sip-ua/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
[package]
name = "ezk-sip-ua"
version = "0.2.1"
edition = "2018"
authors = ["Konstantin Baltruschat <konstantin.baltruschat@gmail.com>"]
description = "Low level SIP user agent utilities"
repository = "https://github.com/kbalt/ezk"
license = "MIT"
categories = ["network-programming", "multimedia"]
keywords = ["sip"]
readme = "README.md"

authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
sip-types = { package = "ezk-sip-types", path = "../sip-types", version = "0.1" }
sip-core = { package = "ezk-sip-core", path = "../sip-core", version = "0.2" }
Expand Down
9 changes: 5 additions & 4 deletions crates/stun-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
[package]
name = "ezk-stun-types"
version = "0.1.2"
edition = "2018"
authors = ["Konstantin Baltruschat <konstantin.baltruschat@gmail.com>"]
description = "STUN/TURN message types"
repository = "https://github.com/kbalt/ezk"
license = "MIT"
categories = ["network-programming"]
keywords = ["stun", "turn"]
readme = "README.md"


authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
byteorder = "1.4"
rand = "0.8"
Expand Down
9 changes: 5 additions & 4 deletions crates/stun/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
[package]
name = "ezk-stun"
version = "0.2.0"
edition = "2018"
authors = ["Konstantin Baltruschat <konstantin.baltruschat@gmail.com>"]
description = "STUN endpoint for simple requests"
repository = "https://github.com/kbalt/ezk"
license = "MIT"
categories = ["network-programming"]
keywords = ["stun"]
readme = "README.md"

authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true

[dependencies]
stun-types = { path = "../stun-types", package = "ezk-stun-types", version = "0.1.1" }

Expand Down
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "examples"
version = "0.0.0"
edition = "2018"
edition = "2021"
publish = false

[dev-dependencies]
Expand Down

0 comments on commit 14deb69

Please sign in to comment.