Skip to content

Commit

Permalink
Expose commit/rollback via bridge apis (#193)
Browse files Browse the repository at this point in the history
# Goal
The goal of this PR is to expose GraphSDK's commit/rollback
functionality to the Bridge APIs (currently only available via native
Rust API)

* Add `disable_auto_commit` flag to `ActionOptions`, have
`apply_actions` honor it
* Expose commit/rollback to Node.js, Java, and C APIs

Closes #192 

# Checklist
- [x] Tests added
  • Loading branch information
JoeCap08055 authored Apr 2, 2024
1 parent 349055c commit a04476c
Show file tree
Hide file tree
Showing 30 changed files with 590 additions and 168 deletions.
2 changes: 1 addition & 1 deletion .cargo-deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ exceptions = [
# The name of the crate the clarification applies to
#name = "ring"
# The optional version constraint for the crate
version = 2
#version = 2
# The SPDX expression for the license requirements of the crate
#expression = "MIT AND ISC AND OpenSSL"
# One or more files in the crate's source used as the "source of truth" for
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ jobs:
with:
name: artifacts-java-${{github.run_id}}
path: downloaded
- name: Download Java Binaries
- name: Download Node.js Binaries
id: download-binaries-node
uses: actions/download-artifact@v3
with:
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions bridge/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "dsnp-graph-sdk-common"
version = "1.0.2"
version = "1.1.0"
edition = "2021"
license = "Apache-2.0"
publish = false

[dependencies]
dsnp-graph-core = { version = "1.0.2", path = "../../core" }
dsnp-graph-config = { version = "1.0.2", path = "../../config" }
dsnp-graph-core = { version = "1.1.0", path = "../../core" }
dsnp-graph-config = { version = "1.1.0", path = "../../config" }
libc = "0.2.153"
protobuf = { version = "3.4.0", features = ["with-bytes"] }
1 change: 1 addition & 0 deletions bridge/common/protos/input.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ message Actions {
message ActionOptions {
bool ignore_existing_connections = 1;
bool ignore_missing_connections = 2;
bool disable_auto_commit = 3;
}

message Action {
Expand Down
136 changes: 79 additions & 57 deletions bridge/common/src/proto_types/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1259,6 +1259,8 @@ pub mod actions {
pub ignore_existing_connections: bool,
// @@protoc_insertion_point(field:Actions.ActionOptions.ignore_missing_connections)
pub ignore_missing_connections: bool,
// @@protoc_insertion_point(field:Actions.ActionOptions.disable_auto_commit)
pub disable_auto_commit: bool,
// special fields
// @@protoc_insertion_point(special_field:Actions.ActionOptions.special_fields)
pub special_fields: ::protobuf::SpecialFields,
Expand All @@ -1276,7 +1278,7 @@ pub mod actions {
}

pub(in super) fn generated_message_descriptor_data() -> ::protobuf::reflect::GeneratedMessageDescriptorData {
let mut fields = ::std::vec::Vec::with_capacity(2);
let mut fields = ::std::vec::Vec::with_capacity(3);
let mut oneofs = ::std::vec::Vec::with_capacity(0);
fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
"ignore_existing_connections",
Expand All @@ -1288,6 +1290,11 @@ pub mod actions {
|m: &ActionOptions| { &m.ignore_missing_connections },
|m: &mut ActionOptions| { &mut m.ignore_missing_connections },
));
fields.push(::protobuf::reflect::rt::v2::make_simpler_field_accessor::<_, _>(
"disable_auto_commit",
|m: &ActionOptions| { &m.disable_auto_commit },
|m: &mut ActionOptions| { &mut m.disable_auto_commit },
));
::protobuf::reflect::GeneratedMessageDescriptorData::new_2::<ActionOptions>(
"Actions.ActionOptions",
fields,
Expand All @@ -1312,6 +1319,9 @@ pub mod actions {
16 => {
self.ignore_missing_connections = is.read_bool()?;
},
24 => {
self.disable_auto_commit = is.read_bool()?;
},
tag => {
::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
},
Expand All @@ -1330,6 +1340,9 @@ pub mod actions {
if self.ignore_missing_connections != false {
my_size += 1 + 1;
}
if self.disable_auto_commit != false {
my_size += 1 + 1;
}
my_size += ::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
self.special_fields.cached_size().set(my_size as u32);
my_size
Expand All @@ -1342,6 +1355,9 @@ pub mod actions {
if self.ignore_missing_connections != false {
os.write_bool(2, self.ignore_missing_connections)?;
}
if self.disable_auto_commit != false {
os.write_bool(3, self.disable_auto_commit)?;
}
os.write_unknown_fields(self.special_fields.unknown_fields())?;
::std::result::Result::Ok(())
}
Expand All @@ -1361,13 +1377,15 @@ pub mod actions {
fn clear(&mut self) {
self.ignore_existing_connections = false;
self.ignore_missing_connections = false;
self.disable_auto_commit = false;
self.special_fields.clear();
}

fn default_instance() -> &'static ActionOptions {
static instance: ActionOptions = ActionOptions {
ignore_existing_connections: false,
ignore_missing_connections: false,
disable_auto_commit: false,
special_fields: ::protobuf::SpecialFields::new(),
};
&instance
Expand Down Expand Up @@ -2257,14 +2275,15 @@ static file_descriptor_proto_data: &'static [u8] = b"\
\x20\x01(\x0cR\tpublicKey\x12\x1d\n\nsecret_key\x18\x03\x20\x01(\x0cR\ts\
ecretKeyB\x0c\n\n_dsnp_keys\"K\n\nConnection\x12\x20\n\x0cdsnp_user_id\
\x18\x01\x20\x01(\x04R\ndsnpUserId\x12\x1b\n\tschema_id\x18\x02\x20\x01(\
\rR\x08schemaId\"\xf0\x06\n\x07Actions\x12)\n\x07actions\x18\x01\x20\x03\
\rR\x08schemaId\"\xa0\x07\n\x07Actions\x12)\n\x07actions\x18\x01\x20\x03\
(\x0b2\x0f.Actions.ActionR\x07actions\x125\n\x07options\x18\x02\x20\x01(\
\x0b2\x16.Actions.ActionOptionsH\0R\x07options\x88\x01\x01\x1a\x8d\x01\n\
\x0b2\x16.Actions.ActionOptionsH\0R\x07options\x88\x01\x01\x1a\xbd\x01\n\
\rActionOptions\x12>\n\x1bignore_existing_connections\x18\x01\x20\x01(\
\x08R\x19ignoreExistingConnections\x12<\n\x1aignore_missing_connections\
\x18\x02\x20\x01(\x08R\x18ignoreMissingConnections\x1a\xe6\x04\n\x06Acti\
on\x12F\n\x0econnect_action\x18\x01\x20\x01(\x0b2\x1d.Actions.Action.Con\
nectActionH\0R\rconnectAction\x12O\n\x11disconnect_action\x18\x02\x20\
\x18\x02\x20\x01(\x08R\x18ignoreMissingConnections\x12.\n\x13disable_aut\
o_commit\x18\x03\x20\x01(\x08R\x11disableAutoCommit\x1a\xe6\x04\n\x06Act\
ion\x12F\n\x0econnect_action\x18\x01\x20\x01(\x0b2\x1d.Actions.Action.Co\
nnectActionH\0R\rconnectAction\x12O\n\x11disconnect_action\x18\x02\x20\
\x01(\x0b2\x20.Actions.Action.DisconnectActionH\0R\x10disconnectAction\
\x12C\n\x0eadd_key_action\x18\x03\x20\x01(\x0b2\x1b.Actions.Action.AddGr\
aphKeyH\0R\x0caddKeyAction\x1a\xa4\x01\n\rConnectAction\x12+\n\x12owner_\
Expand All @@ -2277,7 +2296,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
user_id\x18\x01\x20\x01(\x04R\x0fownerDsnpUserId\x12$\n\x0enew_public_ke\
y\x18\x02\x20\x01(\x0cR\x0cnewPublicKeyB\x07\n\x05innerB\n\n\x08_options\
*\x1a\n\x0cGraphKeyType\x12\n\n\x06X25519\x10\0B\x1e\n\x1aio.amplica.gra\
phsdk.modelsP\x01J\x9a\x15\n\x06\x12\x04\0\0Q\x01\n\x08\n\x01\x0c\x12\
phsdk.modelsP\x01J\xd9\x15\n\x06\x12\x04\0\0R\x01\n\x08\n\x01\x0c\x12\
\x03\0\0\x12\n\x08\n\x01\x08\x12\x03\x02\03\n\t\n\x02\x08\x01\x12\x03\
\x02\03\n\x08\n\x01\x08\x12\x03\x03\0\"\n\t\n\x02\x08\n\x12\x03\x03\0\"\
\n\n\n\x02\x05\0\x12\x04\x05\0\x07\x01\n\n\n\x03\x05\0\x01\x12\x03\x05\
Expand Down Expand Up @@ -2350,62 +2369,65 @@ static file_descriptor_proto_data: &'static [u8] = b"\
\x15\n\x0c\n\x05\x04\x04\x02\0\x03\x12\x03-\x18\x19\n\x0b\n\x04\x04\x04\
\x02\x01\x12\x03.\x02\x17\n\x0c\n\x05\x04\x04\x02\x01\x05\x12\x03.\x02\
\x08\n\x0c\n\x05\x04\x04\x02\x01\x01\x12\x03.\t\x12\n\x0c\n\x05\x04\x04\
\x02\x01\x03\x12\x03.\x15\x16\n\n\n\x02\x04\x05\x12\x041\0Q\x01\n\n\n\
\x02\x01\x03\x12\x03.\x15\x16\n\n\n\x02\x04\x05\x12\x041\0R\x01\n\n\n\
\x03\x04\x05\x01\x12\x031\x08\x0f\n\x0c\n\x04\x04\x05\x03\0\x12\x042\x02\
5\x03\n\x0c\n\x05\x04\x05\x03\0\x01\x12\x032\n\x17\n\r\n\x06\x04\x05\x03\
6\x03\n\x0c\n\x05\x04\x05\x03\0\x01\x12\x032\n\x17\n\r\n\x06\x04\x05\x03\
\0\x02\0\x12\x033\x04)\n\x0e\n\x07\x04\x05\x03\0\x02\0\x05\x12\x033\x04\
\x08\n\x0e\n\x07\x04\x05\x03\0\x02\0\x01\x12\x033\t$\n\x0e\n\x07\x04\x05\
\x03\0\x02\0\x03\x12\x033'(\n\r\n\x06\x04\x05\x03\0\x02\x01\x12\x034\x04\
(\n\x0e\n\x07\x04\x05\x03\0\x02\x01\x05\x12\x034\x04\x08\n\x0e\n\x07\x04\
\x05\x03\0\x02\x01\x01\x12\x034\t#\n\x0e\n\x07\x04\x05\x03\0\x02\x01\x03\
\x12\x034&'\n\x0c\n\x04\x04\x05\x03\x01\x12\x047\x02M\x03\n\x0c\n\x05\
\x04\x05\x03\x01\x01\x12\x037\n\x10\n\x0e\n\x06\x04\x05\x03\x01\x03\0\
\x12\x048\x04<\x05\n\x0e\n\x07\x04\x05\x03\x01\x03\0\x01\x12\x038\x0c\
\x19\n\x0f\n\x08\x04\x05\x03\x01\x03\0\x02\0\x12\x039\x06$\n\x10\n\t\x04\
\x05\x03\x01\x03\0\x02\0\x05\x12\x039\x06\x0c\n\x10\n\t\x04\x05\x03\x01\
\x03\0\x02\0\x01\x12\x039\r\x1f\n\x10\n\t\x04\x05\x03\x01\x03\0\x02\0\
\x03\x12\x039\"#\n\x0f\n\x08\x04\x05\x03\x01\x03\0\x02\x01\x12\x03:\x06\
\x20\n\x10\n\t\x04\x05\x03\x01\x03\0\x02\x01\x06\x12\x03:\x06\x10\n\x10\
\n\t\x04\x05\x03\x01\x03\0\x02\x01\x01\x12\x03:\x11\x1b\n\x10\n\t\x04\
\x05\x03\x01\x03\0\x02\x01\x03\x12\x03:\x1e\x1f\n\x0f\n\x08\x04\x05\x03\
\x01\x03\0\x02\x02\x12\x03;\x06&\n\x10\n\t\x04\x05\x03\x01\x03\0\x02\x02\
\x04\x12\x03;\x06\x0e\n\x10\n\t\x04\x05\x03\x01\x03\0\x02\x02\x06\x12\
\x03;\x0f\x17\n\x10\n\t\x04\x05\x03\x01\x03\0\x02\x02\x01\x12\x03;\x18!\
\n\x10\n\t\x04\x05\x03\x01\x03\0\x02\x02\x03\x12\x03;$%\n\x0e\n\x06\x04\
\x05\x03\x01\x03\x01\x12\x04>\x04A\x05\n\x0e\n\x07\x04\x05\x03\x01\x03\
\x01\x01\x12\x03>\x0c\x1c\n\x0f\n\x08\x04\x05\x03\x01\x03\x01\x02\0\x12\
\x03?\x06$\n\x10\n\t\x04\x05\x03\x01\x03\x01\x02\0\x05\x12\x03?\x06\x0c\
\n\x10\n\t\x04\x05\x03\x01\x03\x01\x02\0\x01\x12\x03?\r\x1f\n\x10\n\t\
\x04\x05\x03\x01\x03\x01\x02\0\x03\x12\x03?\"#\n\x0f\n\x08\x04\x05\x03\
\x01\x03\x01\x02\x01\x12\x03@\x06\x20\n\x10\n\t\x04\x05\x03\x01\x03\x01\
\x02\x01\x06\x12\x03@\x06\x10\n\x10\n\t\x04\x05\x03\x01\x03\x01\x02\x01\
\x01\x12\x03@\x11\x1b\n\x10\n\t\x04\x05\x03\x01\x03\x01\x02\x01\x03\x12\
\x03@\x1e\x1f\n\x0e\n\x06\x04\x05\x03\x01\x03\x02\x12\x04C\x04F\x05\n\
\x0e\n\x07\x04\x05\x03\x01\x03\x02\x01\x12\x03C\x0c\x17\n\x0f\n\x08\x04\
\x05\x03\x01\x03\x02\x02\0\x12\x03D\x06$\n\x10\n\t\x04\x05\x03\x01\x03\
\x02\x02\0\x05\x12\x03D\x06\x0c\n\x10\n\t\x04\x05\x03\x01\x03\x02\x02\0\
\x01\x12\x03D\r\x1f\n\x10\n\t\x04\x05\x03\x01\x03\x02\x02\0\x03\x12\x03D\
\"#\n\x0f\n\x08\x04\x05\x03\x01\x03\x02\x02\x01\x12\x03E\x06\x1f\n\x10\n\
\t\x04\x05\x03\x01\x03\x02\x02\x01\x05\x12\x03E\x06\x0b\n\x10\n\t\x04\
\x05\x03\x01\x03\x02\x02\x01\x01\x12\x03E\x0c\x1a\n\x10\n\t\x04\x05\x03\
\x01\x03\x02\x02\x01\x03\x12\x03E\x1d\x1e\n\x0e\n\x06\x04\x05\x03\x01\
\x08\0\x12\x04H\x04L\x05\n\x0e\n\x07\x04\x05\x03\x01\x08\0\x01\x12\x03H\
\n\x0f\n\r\n\x06\x04\x05\x03\x01\x02\0\x12\x03I\x06'\n\x0e\n\x07\x04\x05\
\x03\x01\x02\0\x06\x12\x03I\x06\x13\n\x0e\n\x07\x04\x05\x03\x01\x02\0\
\x01\x12\x03I\x14\"\n\x0e\n\x07\x04\x05\x03\x01\x02\0\x03\x12\x03I%&\n\r\
\n\x06\x04\x05\x03\x01\x02\x01\x12\x03J\x06-\n\x0e\n\x07\x04\x05\x03\x01\
\x02\x01\x06\x12\x03J\x06\x16\n\x0e\n\x07\x04\x05\x03\x01\x02\x01\x01\
\x12\x03J\x17(\n\x0e\n\x07\x04\x05\x03\x01\x02\x01\x03\x12\x03J+,\n\r\n\
\x06\x04\x05\x03\x01\x02\x02\x12\x03K\x06%\n\x0e\n\x07\x04\x05\x03\x01\
\x02\x02\x06\x12\x03K\x06\x11\n\x0e\n\x07\x04\x05\x03\x01\x02\x02\x01\
\x12\x03K\x12\x20\n\x0e\n\x07\x04\x05\x03\x01\x02\x02\x03\x12\x03K#$\n\
\x0b\n\x04\x04\x05\x02\0\x12\x03O\x02\x1e\n\x0c\n\x05\x04\x05\x02\0\x04\
\x12\x03O\x02\n\n\x0c\n\x05\x04\x05\x02\0\x06\x12\x03O\x0b\x11\n\x0c\n\
\x05\x04\x05\x02\0\x01\x12\x03O\x12\x19\n\x0c\n\x05\x04\x05\x02\0\x03\
\x12\x03O\x1c\x1d\n\x0b\n\x04\x04\x05\x02\x01\x12\x03P\x02%\n\x0c\n\x05\
\x04\x05\x02\x01\x04\x12\x03P\x02\n\n\x0c\n\x05\x04\x05\x02\x01\x06\x12\
\x03P\x0b\x18\n\x0c\n\x05\x04\x05\x02\x01\x01\x12\x03P\x19\x20\n\x0c\n\
\x05\x04\x05\x02\x01\x03\x12\x03P#$b\x06proto3\
\x12\x034&'\n\r\n\x06\x04\x05\x03\0\x02\x02\x12\x035\x04!\n\x0e\n\x07\
\x04\x05\x03\0\x02\x02\x05\x12\x035\x04\x08\n\x0e\n\x07\x04\x05\x03\0\
\x02\x02\x01\x12\x035\t\x1c\n\x0e\n\x07\x04\x05\x03\0\x02\x02\x03\x12\
\x035\x1f\x20\n\x0c\n\x04\x04\x05\x03\x01\x12\x048\x02N\x03\n\x0c\n\x05\
\x04\x05\x03\x01\x01\x12\x038\n\x10\n\x0e\n\x06\x04\x05\x03\x01\x03\0\
\x12\x049\x04=\x05\n\x0e\n\x07\x04\x05\x03\x01\x03\0\x01\x12\x039\x0c\
\x19\n\x0f\n\x08\x04\x05\x03\x01\x03\0\x02\0\x12\x03:\x06$\n\x10\n\t\x04\
\x05\x03\x01\x03\0\x02\0\x05\x12\x03:\x06\x0c\n\x10\n\t\x04\x05\x03\x01\
\x03\0\x02\0\x01\x12\x03:\r\x1f\n\x10\n\t\x04\x05\x03\x01\x03\0\x02\0\
\x03\x12\x03:\"#\n\x0f\n\x08\x04\x05\x03\x01\x03\0\x02\x01\x12\x03;\x06\
\x20\n\x10\n\t\x04\x05\x03\x01\x03\0\x02\x01\x06\x12\x03;\x06\x10\n\x10\
\n\t\x04\x05\x03\x01\x03\0\x02\x01\x01\x12\x03;\x11\x1b\n\x10\n\t\x04\
\x05\x03\x01\x03\0\x02\x01\x03\x12\x03;\x1e\x1f\n\x0f\n\x08\x04\x05\x03\
\x01\x03\0\x02\x02\x12\x03<\x06&\n\x10\n\t\x04\x05\x03\x01\x03\0\x02\x02\
\x04\x12\x03<\x06\x0e\n\x10\n\t\x04\x05\x03\x01\x03\0\x02\x02\x06\x12\
\x03<\x0f\x17\n\x10\n\t\x04\x05\x03\x01\x03\0\x02\x02\x01\x12\x03<\x18!\
\n\x10\n\t\x04\x05\x03\x01\x03\0\x02\x02\x03\x12\x03<$%\n\x0e\n\x06\x04\
\x05\x03\x01\x03\x01\x12\x04?\x04B\x05\n\x0e\n\x07\x04\x05\x03\x01\x03\
\x01\x01\x12\x03?\x0c\x1c\n\x0f\n\x08\x04\x05\x03\x01\x03\x01\x02\0\x12\
\x03@\x06$\n\x10\n\t\x04\x05\x03\x01\x03\x01\x02\0\x05\x12\x03@\x06\x0c\
\n\x10\n\t\x04\x05\x03\x01\x03\x01\x02\0\x01\x12\x03@\r\x1f\n\x10\n\t\
\x04\x05\x03\x01\x03\x01\x02\0\x03\x12\x03@\"#\n\x0f\n\x08\x04\x05\x03\
\x01\x03\x01\x02\x01\x12\x03A\x06\x20\n\x10\n\t\x04\x05\x03\x01\x03\x01\
\x02\x01\x06\x12\x03A\x06\x10\n\x10\n\t\x04\x05\x03\x01\x03\x01\x02\x01\
\x01\x12\x03A\x11\x1b\n\x10\n\t\x04\x05\x03\x01\x03\x01\x02\x01\x03\x12\
\x03A\x1e\x1f\n\x0e\n\x06\x04\x05\x03\x01\x03\x02\x12\x04D\x04G\x05\n\
\x0e\n\x07\x04\x05\x03\x01\x03\x02\x01\x12\x03D\x0c\x17\n\x0f\n\x08\x04\
\x05\x03\x01\x03\x02\x02\0\x12\x03E\x06$\n\x10\n\t\x04\x05\x03\x01\x03\
\x02\x02\0\x05\x12\x03E\x06\x0c\n\x10\n\t\x04\x05\x03\x01\x03\x02\x02\0\
\x01\x12\x03E\r\x1f\n\x10\n\t\x04\x05\x03\x01\x03\x02\x02\0\x03\x12\x03E\
\"#\n\x0f\n\x08\x04\x05\x03\x01\x03\x02\x02\x01\x12\x03F\x06\x1f\n\x10\n\
\t\x04\x05\x03\x01\x03\x02\x02\x01\x05\x12\x03F\x06\x0b\n\x10\n\t\x04\
\x05\x03\x01\x03\x02\x02\x01\x01\x12\x03F\x0c\x1a\n\x10\n\t\x04\x05\x03\
\x01\x03\x02\x02\x01\x03\x12\x03F\x1d\x1e\n\x0e\n\x06\x04\x05\x03\x01\
\x08\0\x12\x04I\x04M\x05\n\x0e\n\x07\x04\x05\x03\x01\x08\0\x01\x12\x03I\
\n\x0f\n\r\n\x06\x04\x05\x03\x01\x02\0\x12\x03J\x06'\n\x0e\n\x07\x04\x05\
\x03\x01\x02\0\x06\x12\x03J\x06\x13\n\x0e\n\x07\x04\x05\x03\x01\x02\0\
\x01\x12\x03J\x14\"\n\x0e\n\x07\x04\x05\x03\x01\x02\0\x03\x12\x03J%&\n\r\
\n\x06\x04\x05\x03\x01\x02\x01\x12\x03K\x06-\n\x0e\n\x07\x04\x05\x03\x01\
\x02\x01\x06\x12\x03K\x06\x16\n\x0e\n\x07\x04\x05\x03\x01\x02\x01\x01\
\x12\x03K\x17(\n\x0e\n\x07\x04\x05\x03\x01\x02\x01\x03\x12\x03K+,\n\r\n\
\x06\x04\x05\x03\x01\x02\x02\x12\x03L\x06%\n\x0e\n\x07\x04\x05\x03\x01\
\x02\x02\x06\x12\x03L\x06\x11\n\x0e\n\x07\x04\x05\x03\x01\x02\x02\x01\
\x12\x03L\x12\x20\n\x0e\n\x07\x04\x05\x03\x01\x02\x02\x03\x12\x03L#$\n\
\x0b\n\x04\x04\x05\x02\0\x12\x03P\x02\x1e\n\x0c\n\x05\x04\x05\x02\0\x04\
\x12\x03P\x02\n\n\x0c\n\x05\x04\x05\x02\0\x06\x12\x03P\x0b\x11\n\x0c\n\
\x05\x04\x05\x02\0\x01\x12\x03P\x12\x19\n\x0c\n\x05\x04\x05\x02\0\x03\
\x12\x03P\x1c\x1d\n\x0b\n\x04\x04\x05\x02\x01\x12\x03Q\x02%\n\x0c\n\x05\
\x04\x05\x02\x01\x04\x12\x03Q\x02\n\n\x0c\n\x05\x04\x05\x02\x01\x06\x12\
\x03Q\x0b\x18\n\x0c\n\x05\x04\x05\x02\x01\x01\x12\x03Q\x19\x20\n\x0c\n\
\x05\x04\x05\x02\x01\x03\x12\x03Q#$b\x06proto3\
";

/// `FileDescriptorProto` object which was a source for this generated file
Expand Down
7 changes: 3 additions & 4 deletions bridge/ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dsnp-graph-sdk-ffi"
version = "1.0.2"
version = "1.1.0"
edition = "2021"
license = "Apache-2.0"
publish = false
Expand All @@ -10,9 +10,8 @@ name = "dsnp_graph_sdk_ffi"
crate-type = ["staticlib"]

[dependencies]
dsnp-graph-core = { version = "1.0.2", path = "../../core" }
dsnp-graph-config = { version = "1.0.2", path = "../../config" }
dsnp-graph-core = { version = "1.1.0", path = "../../core" }
dsnp-graph-config = { version = "1.1.0", path = "../../config" }
libc = "0.2.153"
lazy_static = "1.4.0"
anyhow = "1.0.80"

Loading

0 comments on commit a04476c

Please sign in to comment.