diff --git a/Cargo.toml b/Cargo.toml index 2ca4e63..e8aed25 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rs-consul" -version = "0.8.2" +version = "0.8.3" authors = ["Roblox"] edition = "2021" description = "This crate provides access to a set of strongly typed apis to interact with consul (https://www.consul.io/)" diff --git a/src/types.rs b/src/types.rs index e6375fe..e4d37a8 100644 --- a/src/types.rs +++ b/src/types.rs @@ -456,6 +456,8 @@ pub struct Service { pub port: u16, /// Tags assigned to the service instance. pub tags: Vec, + /// Meta assigned to the service instance. + pub meta: HashMap, } pub(crate) fn serialize_duration_as_string(