xref: /aosp_15_r20/external/pigweed/pw_format/docs.rst (revision 61c4878ac05f98d0ceed94b57d316916de578985)
1*61c4878aSAndroid Build Coastguard Worker.. _module-pw_format:
2*61c4878aSAndroid Build Coastguard Worker
3*61c4878aSAndroid Build Coastguard Worker=========
4*61c4878aSAndroid Build Coastguard Workerpw_format
5*61c4878aSAndroid Build Coastguard Worker=========
6*61c4878aSAndroid Build Coastguard Worker.. pigweed-module::
7*61c4878aSAndroid Build Coastguard Worker   :name: pw_format
8*61c4878aSAndroid Build Coastguard Worker
9*61c4878aSAndroid Build Coastguard Worker``pw_format`` supports parsing ``printf`` and Rust ``core::fmt`` style format
10*61c4878aSAndroid Build Coastguard Workerstrings and using them to format output in languages other than C/C++.
11*61c4878aSAndroid Build Coastguard Worker
12*61c4878aSAndroid Build Coastguard WorkerDisambiguation: If you're looking for code formatting support, see
13*61c4878aSAndroid Build Coastguard Worker:ref:`pw_presubmit <module-pw_presubmit>`.
14*61c4878aSAndroid Build Coastguard Worker
15*61c4878aSAndroid Build Coastguard Worker----
16*61c4878aSAndroid Build Coastguard WorkerRust
17*61c4878aSAndroid Build Coastguard Worker----
18*61c4878aSAndroid Build Coastguard Worker``pw_format``'s Rust API is documented in the
19*61c4878aSAndroid Build Coastguard Worker`pw_format crate's docs </rustdoc/pw_format/>`_.
20