Skip to content

Commit 1576bfe

Browse files
committed
wip
1 parent c640979 commit 1576bfe

File tree

8 files changed

+695
-10
lines changed

8 files changed

+695
-10
lines changed

Cargo.lock

Lines changed: 125 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

aw-client-rust/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ authors = ["Johan Bjäreholt <[email protected]>"]
77
[dependencies]
88
reqwest = { version = "0.11", features = ["json", "blocking"] }
99
gethostname = "0.4"
10-
serde = "1.0"
10+
serde = { version = "1.0", features = ["derive"] }
11+
phf = { version = "0.11", features = ["macros"] }
1112
serde_json = "1.0"
1213
chrono = { version = "0.4", features = ["serde"] }
1314
aw-models = { path = "../aw-models" }
1415
tokio = { version = "1.28.2", features = ["rt"] }
16+
rand = "0.9"
17+
log = "0.4"
1518

1619
[dev-dependencies]
1720
aw-datastore = { path = "../aw-datastore" }

aw-client-rust/src/blocking.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ impl AwClient {
7979
proxy_method!(delete_event, (), bucketname: &str, event_id: i64);
8080
proxy_method!(get_event_count, i64, bucketname: &str);
8181
proxy_method!(get_info, aw_models::Info,);
82+
proxy_method!(get_setting, aw_models::Settings, setting: &str);
8283

8384
pub fn wait_for_start(&self) -> Result<(), Box<dyn Error>> {
8485
self.client.wait_for_start()

0 commit comments

Comments
 (0)