blob: 057eb65bf7fe48fdf45b42ace456d1cf5934ef12 [file] [log] [blame]
// Copyright 2021 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.
// [START example_snippet]
{
include: [ "syslog/client.shard.cml" ],
// Information about the program to run.
program: {
// Use the built-in ELF runner.
runner: "elf",
// The binary to run for this component.
binary: "bin/fidl_echo_rust_server",
},
// Capabilities provided by this component.
capabilities: [
{ protocol: "fuchsia.examples.Echo" },
],
expose: [
{
protocol: "fuchsia.examples.Echo",
from: "self",
},
],
}
// [END example_snippet]