| // Copyright 2022 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| { |
| include: [ |
| "inspect/client.shard.cml", |
| "syslog/client.shard.cml", |
| ], |
| program: { |
| runner: "elf", |
| binary: "bin/echo_client_rust", |
| args: [ "Hello subpackaged server!" ], |
| }, |
| |
| // [START declare_children_statically] |
| children: [ |
| { |
| name: "echo_server", |
| url: "echo_server#meta/default.cm", |
| }, |
| ], |
| |
| // [END declare_children_statically] |
| use: [ |
| { |
| protocol: "fidl.examples.routing.echo.Echo", |
| from: "#echo_server", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: "fuchsia.logger.LogSink", |
| from: "parent", |
| to: "#echo_server", |
| }, |
| ], |
| } |