Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

Commit

Permalink
implemented attribute set message
Browse files Browse the repository at this point in the history
  • Loading branch information
bwsw committed Jan 12, 2025
1 parent 2b0ab35 commit 1e81224
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "savant-protobuf"
version = "0.2.1"
version = "0.2.2"
edition = "2021"
authors = ["Ivan Kudriavtsev <[email protected]>"]
description = "Savant PB definitions and bindings"
Expand Down
5 changes: 5 additions & 0 deletions src/generated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Attribute>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UserData {
#[prost(string, tag = "1")]
pub source_id: ::prost::alloc::string::String,
Expand Down
4 changes: 4 additions & 0 deletions src/savant_rs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1e81224

Please sign in to comment.