tree: 4035efa8967fd10a21b47be854627910f2edaecc [path history] [tgz]
  1. blackbox_unit_tests/
  2. isolated_component_test/
  3. src/
  4. BUILD.gn
  5. README.md
garnet/public/rust/fuchsia-component/README.md

fuchsia-component

fuchsia-component is a crate designed to allow components to launch, connect to, and provide services to other components.

Some of the functionality provided by fuchsia-component was formerly present in the fuchsia-app crate, which is now deprecated.

fuchsia-component can do everything fuchsia-app could, but includes a new name, a more ergonomic API, and a more flexible directory implementation that allows more precisely managing where outgoing services are located within the outgoing directory hierarchy. fuchsia-app exposed all services at /* and /public/*, while fuchsia-component allows developers to choose a precise location for each service. This is critical for developers who wish to expose internal-only debugging services such as the Inspect API.