diff --git a/Cargo.toml b/Cargo.toml index 4d601a8..26ecbb1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "savant-protobuf" -version = "0.2.1" +version = "0.2.2" edition = "2021" authors = ["Ivan Kudriavtsev "] description = "Savant PB definitions and bindings" diff --git a/src/generated.rs b/src/generated.rs index bb7fd4f..841c78b 100644 --- a/src/generated.rs +++ b/src/generated.rs @@ -205,6 +205,11 @@ pub struct Attribute { pub is_hidden: bool, } #[derive(Clone, PartialEq, ::prost::Message)] +pub struct AttributeSet { + #[prost(message, repeated, tag = "1")] + pub attributes: ::prost::alloc::vec::Vec, +} +#[derive(Clone, PartialEq, ::prost::Message)] pub struct UserData { #[prost(string, tag = "1")] pub source_id: ::prost::alloc::string::String, diff --git a/src/savant_rs.proto b/src/savant_rs.proto index 3cea079..bdfa431 100644 --- a/src/savant_rs.proto +++ b/src/savant_rs.proto @@ -152,6 +152,10 @@ message Attribute { bool is_hidden = 6; } +message AttributeSet { + repeated Attribute attributes = 1; +} + message UserData { string source_id = 1; repeated Attribute attributes = 2;