refactor(tools): rename rhema-tools-contract to rhema-claw-tools-contract
The crate binds the claw to its client tools, not tools at large, so it carries the claw's name: package, lib and dep names, the mock's binary, and the conformance suite's use paths. Specs and README follow. The tools/contract directory keeps its name, and no reference to the old name remains.
This commit is contained in:
1 parent
9e132fdf71
commit
d067f4632f
11 files changed
+91
-76
No files matched your search
@@ -5,7 +5,7 @@
|
||||
|
||||
use clap::{Parser, Subcommand};
|
||||
use rhema_tools_common::{Client, Config, fail, print};
|
||||
use rhema_tools_contract::NotificationPush;
|
||||
use rhema_claw_tools_contract::NotificationPush;
|
||||
|
||||
/// Push a notification to the user's devices.
|
||||
#[derive(Parser)]
|
||||
@@ -49,7 +49,7 @@ fn main() {
|
||||
body,
|
||||
device,
|
||||
};
|
||||
match client.call("POST", rhema_tools_contract::NOTIFICATIONS, Some(&push)) {
|
||||
match client.call("POST", rhema_claw_tools_contract::NOTIFICATIONS, Some(&push)) {
|
||||
Ok(record) => print(&record),
|
||||
Err(error) => fail(error),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user