diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml index ab7ec81..fa0085e 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -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 <%arc-Antoine@Perennou.com>"] description = "AMQP specifications - codegen" @@ -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] diff --git a/codegen/src/util.rs b/codegen/src/util.rs index adccc5f..3237ef4 100644 --- a/codegen/src/util.rs +++ b/codegen/src/util.rs @@ -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 { diff --git a/protocol/Cargo.toml b/protocol/Cargo.toml index 5cc26bc..89c28b8 100644 --- a/protocol/Cargo.toml +++ b/protocol/Cargo.toml @@ -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 <%arc-Antoine@Perennou.com>"] description = "AMQP specifications" @@ -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] diff --git a/tcp/Cargo.toml b/tcp/Cargo.toml index fd87d09..e636aeb 100644 --- a/tcp/Cargo.toml +++ b/tcp/Cargo.toml @@ -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 <%arc-Antoine@Perennou.com>"] description = "AMQP URI TCP connection handling" @@ -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] diff --git a/types/Cargo.toml b/types/Cargo.toml index d203d89..77de953 100644 --- a/types/Cargo.toml +++ b/types/Cargo.toml @@ -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 <%arc-Antoine@Perennou.com>"] description = "AMQP specifications - types" diff --git a/uri/Cargo.toml b/uri/Cargo.toml index 7889ea8..c1f3b75 100644 --- a/uri/Cargo.toml +++ b/uri/Cargo.toml @@ -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 <%arc-Antoine@Perennou.com>"] description = "AMQP URI manipulation" @@ -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]