Skip to content

Commit

Permalink
v8.0.0-alpha.3
Browse files Browse the repository at this point in the history
Signed-off-by: Marc-Antoine Perennou <[email protected]>
  • Loading branch information
Keruspe committed Sep 5, 2024
1 parent 7cb355e commit 0009a1e
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "amq-protocol-codegen"
version = "8.0.0-alpha.2"
version = "8.0.0-alpha.3"
edition = "2021"
authors = ["Marc-Antoine Perennou <%[email protected]>"]
description = "AMQP specifications - codegen"
Expand All @@ -19,7 +19,7 @@ handlebars = "^6.0"
serde_json = "^1.0"

[dependencies.amq-protocol-types]
version = "=8.0.0-alpha.2"
version = "=8.0.0-alpha.3"
path = "../types"

[dependencies.serde]
Expand Down
2 changes: 2 additions & 0 deletions codegen/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ pub fn camel_case(name: &str) -> String {
}

/// Convert input to snake case
///
/// For the purpose of the AMQP codegen usage, we also handle a few special cases:
/// "type" and "return" become "kind" and "r#return" if raw is true
///
/// A word needs to be composed of at least two letters, this makes UInt become uint and not u_int
pub fn snake_case(name: &str, raw: bool) -> String {
match name {
Expand Down
10 changes: 5 additions & 5 deletions protocol/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "amq-protocol"
version = "8.0.0-alpha.2"
version = "8.0.0-alpha.3"
edition = "2021"
authors = ["Marc-Antoine Perennou <%[email protected]>"]
description = "AMQP specifications"
Expand Down Expand Up @@ -33,21 +33,21 @@ rustls--aws_lc_rs = ["amq-protocol-tcp/rustls--aws_lc_rs"] # default, bu
rustls--ring = ["amq-protocol-tcp/rustls--ring"] # more compatible, (e.g., easily builds on Windows)

[build-dependencies.amq-protocol-codegen]
version = "=8.0.0-alpha.2"
version = "=8.0.0-alpha.3"
path = "../codegen"
optional = true

[dependencies.amq-protocol-tcp]
version = "=8.0.0-alpha.2"
version = "=8.0.0-alpha.3"
default-features = false
path = "../tcp"

[dependencies.amq-protocol-types]
version = "=8.0.0-alpha.2"
version = "=8.0.0-alpha.3"
path = "../types"

[dependencies.amq-protocol-uri]
version = "=8.0.0-alpha.2"
version = "=8.0.0-alpha.3"
path = "../uri"

[dependencies.cookie-factory]
Expand Down
4 changes: 2 additions & 2 deletions tcp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "amq-protocol-tcp"
version = "8.0.0-alpha.2"
version = "8.0.0-alpha.3"
edition = "2021"
authors = ["Marc-Antoine Perennou <%[email protected]>"]
description = "AMQP URI TCP connection handling"
Expand Down Expand Up @@ -30,7 +30,7 @@ rustls--aws_lc_rs = ["tcp-stream/rustls--aws_lc_rs"] # default, but does
rustls--ring = ["tcp-stream/rustls--ring"] # more compatible, (e.g., easily builds on Windows)

[dependencies.amq-protocol-uri]
version = "=8.0.0-alpha.2"
version = "=8.0.0-alpha.3"
path = "../uri"

[dependencies.tcp-stream]
Expand Down
2 changes: 1 addition & 1 deletion types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "amq-protocol-types"
version = "8.0.0-alpha.2"
version = "8.0.0-alpha.3"
edition = "2021"
authors = ["Marc-Antoine Perennou <%[email protected]>"]
description = "AMQP specifications - types"
Expand Down
4 changes: 2 additions & 2 deletions uri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "amq-protocol-uri"
version = "8.0.0-alpha.2"
version = "8.0.0-alpha.3"
edition = "2021"
authors = ["Marc-Antoine Perennou <%[email protected]>"]
description = "AMQP URI manipulation"
Expand All @@ -15,7 +15,7 @@ rust-version = "1.74.0"
name = "amq_protocol_uri"

[dependencies.amq-protocol-types]
version = "=8.0.0-alpha.2"
version = "=8.0.0-alpha.3"
path = "../types"

[dependencies]
Expand Down

0 comments on commit 0009a1e

Please sign in to comment.