JavaScript is disabled, refresh for a better experience. ambee/giterated

ambee/giterated

Git repository hosting, collaboration, and discovery for the Fediverse.

Clean dependencies

Amber - ⁨1⁩ year ago

parent: tbd commit: ⁨9403d3f

Showing ⁨⁨12⁩ changed files⁩ with ⁨⁨23⁩ insertions⁩ and ⁨⁨31⁩ deletions⁩

Cargo.lock

View file
@@ -788,20 +788,15 @@ version = "0.1.0"
788 788 dependencies = [
789 789 "anyhow",
790 790 "async-trait",
791 "base64",
792 791 "bincode",
793 792 "chrono",
794 793 "git2",
795 "jsonwebtoken",
796 "rand",
797 "rsa",
798 794 "secrecy",
799 795 "semver",
800 796 "serde",
801 797 "serde_json",
802 798 "sqlx",
803 799 "thiserror",
804 "toml",
805 800 "tracing",
806 801 "url",
807 802 ]

giterated-core/Cargo.toml

View file
@@ -9,5 +9,6 @@ edition = "2021"
9 9 giterated-abi = { path = "../giterated-runtime/giterated-abi"}
10 10 giterated-static-runtime = { path = "../giterated-runtime/giterated-static-runtime"}
11 11 giterated-models = { path = "giterated-models" }
12
12 13 anyhow = "1"
13 14 tracing = "0.1"

giterated-core/giterated-models/Cargo.toml

View file
@@ -19,23 +19,13 @@ publish = false
19 19 tracing = "0.1"
20 20 serde = { version = "1.0", features = [ "derive" ]}
21 21 serde_json = "1.0"
22 base64 = "0.21"
23 jsonwebtoken = { version = "9.1", features = ["use_pem"]}
24 rand = "0.8"
25 rsa = {version = "0.9", features = ["sha2"]}
26 22 semver = {version = "1.0", features = ["serde"]}
27 23 bincode = "1.3"
28 24 secrecy = { version = "0.8", features = ["serde"] }
29 25 thiserror = "1"
30 26 anyhow = "1"
31 toml = { version = "0.8" }
32 # Git backend
33 git2 = "0.18"
34 27 chrono = { version = "0.4", features = [ "serde" ] }
35 28 async-trait = "0.1"
36 29 url = {version = "2.4", features = ["serde"]}
37
38 # Git backend
39 sqlx = { version = "0.7", default-features = false, features = [ "macros", "chrono" ] }
40
41 #uuid = { version = "1.4", features = [ "v4", "serde" ] }
30 git2 = "0.18"
31 sqlx = { version = "0.7", default-features = false, features = [ "macros", "chrono" ] }
31 \ No newline at end of file

giterated-daemon/Cargo.toml

View file
@@ -13,6 +13,10 @@ keywords = ["giterated"]
13 13 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
14 14
15 15 [dependencies]
16 giterated-models = { path = "../giterated-core/giterated-models" }
17 giterated-plugin = { path = "../giterated-plugin" }
18 giterated-protocol = { path = "../plugins/giterated-protocol" }
19
16 20 tokio-tungstenite = "0.20"
17 21 tokio = { version = "1.32", features = [ "full" ] }
18 22 tracing = "0.1"
@@ -29,9 +33,6 @@ reqwest = "0.11"
29 33 argon2 = "0.5"
30 34 aes-gcm = "0.10"
31 35 semver = {version = "1.0", features = ["serde"]}
32 giterated-models = { path = "../giterated-core/giterated-models" }
33 giterated-plugin = { path = "../giterated-plugin" }
34 giterated-protocol = { path = "../plugins/giterated-protocol" }
35 36 deadpool = "0.9"
36 37 bincode = "1.3"
37 38 tokio-util = {version = "0.7", features = ["rt"]}

giterated-plugin/Cargo.toml

View file
@@ -6,17 +6,18 @@ edition = "2021"
6 6 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7 7
8 8 [dependencies]
9 giterated-models = { path = "../giterated-core/giterated-models" }
10 giterated-static-runtime = { path = "../giterated-runtime/giterated-static-runtime" }
11 giterated-abi = { path = "../giterated-runtime/giterated-abi" }
12 giterated-macros = { path = "giterated-macros" }
13
9 14 dlopen2 = "0.6"
10 15 anyhow = "1"
11 16 thiserror = "1"
12 17 tracing = "0.1"
13 giterated-models = { path = "../giterated-core/giterated-models" }
14 giterated-static-runtime = { path = "../giterated-runtime/giterated-static-runtime" }
15 giterated-abi = { path = "../giterated-runtime/giterated-abi" }
16 18 semver = "*"
17 19 serde_json = "1.0"
18 20 async-trait = "0.1"
19 21 serde = "*"
20 22 futures-util = "0.3.30"
21 tokio = { version = "1.32", features = [ "full" ] }
22 giterated-macros = { path = "giterated-macros" }
22 \ No newline at end of file
23 tokio = { version = "1.32", features = [ "full" ] }
23 \ No newline at end of file

giterated-runtime/Cargo.toml

View file
@@ -7,7 +7,8 @@ edition = "2021"
7 7
8 8 [dependencies]
9 9 giterated-abi = { path = "giterated-abi" }
10 dlopen2 = "0.6"
11 10 giterated-models = { path = "../giterated-core/giterated-models" }
12 tracing = "0.1"
13 11 giterated-core = { path = "../giterated-core" }
12
13 tracing = "0.1"
14 dlopen2 = "0.6"
14 \ No newline at end of file

giterated-runtime/giterated-abi/Cargo.toml

View file
@@ -7,5 +7,6 @@ edition = "2021"
7 7
8 8 [dependencies]
9 9 giterated-models = { path = "../../giterated-core/giterated-models"}
10
10 11 anyhow = "1"
11 12 dlopen2 = "0.6"

plugins/example-plugin/Cargo.toml

View file
@@ -13,9 +13,10 @@ crate-type = ["dylib"]
13 13 [dependencies]
14 14 giterated-plugin = { path = "../../giterated-plugin" }
15 15 giterated-static-runtime = { path = "../../giterated-runtime/giterated-static-runtime" }
16 giterated-models = { path = "../../giterated-core/giterated-models" }
17
16 18 dlopen2 = "0.6"
17 19 tracing-subscriber = "0.3"
18 giterated-models = { path = "../../giterated-core/giterated-models" }
19 20 tracing = "0.1"
20 21 serde_json = "1.0"
21 22 anyhow = "1"

plugins/giterated-backend/Cargo.toml

View file
@@ -8,6 +8,7 @@ edition = "2021"
8 8 [dependencies]
9 9 giterated-plugin = { path = "../../giterated-plugin" }
10 10 giterated-models = { path = "../../giterated-core/giterated-models" }
11
11 12 serde = { version = "1.0", features = [ "derive" ]}
12 13 anyhow = "1"
13 14 thiserror = "1"

plugins/giterated-issues/Cargo.toml

View file
@@ -13,6 +13,7 @@ crate-type = ["rlib", "dylib"]
13 13 [dependencies]
14 14 giterated-plugin = { path = "../../giterated-plugin" }
15 15 giterated-models = { path = "../../giterated-core/giterated-models" }
16
16 17 serde = { version = "1.0", features = [ "derive" ]}
17 18 anyhow = "1"
18 19 thiserror = "1"

plugins/giterated-protocol/Cargo.toml

View file
@@ -13,6 +13,7 @@ crate-type = ["dylib", "rlib"]
13 13 [dependencies]
14 14 giterated-plugin = { path = "../../giterated-plugin" }
15 15 giterated-models = { path = "../../giterated-core/giterated-models" }
16
16 17 serde = { version = "1.0", features = [ "derive" ]}
17 18 anyhow = "1"
18 19 toml = { version = "0.8" }

plugins/giterated-protocol/src/handlers.rs

View file
@@ -8,9 +8,7 @@ use giterated_models::{
8 8 object::GiteratedObject,
9 9 operation::GiteratedOperation,
10 10 };
11 use giterated_plugin::{
12 new_stack::handle::RuntimeHandle, AnyFailure, AnyObject, AnyOperation, AnySuccess,
13 };
11 use giterated_plugin::abi::vtable::runtime::RuntimeHandle;
14 12 use serde::{Deserialize, Serialize};
15 13 use tokio::net::TcpStream;
16 14 use tokio_tungstenite::{connect_async, tungstenite::Message, MaybeTlsStream, WebSocketStream};