factory_fai: initialize Factory FAI

Create initial folder and Cargo.toml for Factory FAI.

BUG=b:230061675
TEST=./build_image --board cherry factory_install
     run `/usr/sbin/factory_fai` on DUT

Cq-Depend: chromium:3606002
Change-Id: Ifdbb93953108b8e70f4b82c830c62d329772f23f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/factory_installer/+/3607772
Reviewed-by: Meng-Huan Yu <menghuan@chromium.org>
Commit-Queue: Yu-An Wang <wyuang@google.com>
Reviewed-by: Stimim Chen <stimim@chromium.org>
Tested-by: Yu-An Wang <wyuang@google.com>
diff --git a/rust/.gitignore b/rust/.gitignore
new file mode 100644
index 0000000..b9d396d
--- /dev/null
+++ b/rust/.gitignore
@@ -0,0 +1,2 @@
+target/
+**/Cargo.lock
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
new file mode 100644
index 0000000..82ae345
--- /dev/null
+++ b/rust/Cargo.toml
@@ -0,0 +1,8 @@
+[package]
+name = "factory_installer_rust"
+version = "0.1.0"
+edition = "2021"
+
+[[bin]]
+name = "factory_fai"
+path = "factory_fai/main.rs"
diff --git a/rust/factory_fai/README.md b/rust/factory_fai/README.md
new file mode 100644
index 0000000..ce38713
--- /dev/null
+++ b/rust/factory_fai/README.md
@@ -0,0 +1,22 @@
+# ChromeOS Factory FAI
+
+A “first article inspection” flow for ChromeOS devices in the factories. To make
+sure critical data is provisioned to the device.
+
+## Build
+Factory FAI is built with `factory_installer`:
+
+```
+(inside chroot)
+cros_workon --board $BOARD start factory_installer
+emerge-$BOARD factory_installer
+```
+
+then you can find the built binary in `/build/$BOARD/usr/sbin/factory_fai`.
+
+## Usage
+To be updated.
+```
+(on DUT)
+/usr/sbin/factory_fai
+```
diff --git a/rust/factory_fai/main.rs b/rust/factory_fai/main.rs
new file mode 100644
index 0000000..f3c87b4
--- /dev/null
+++ b/rust/factory_fai/main.rs
@@ -0,0 +1,8 @@
+// Copyright 2022 The Chromium OS Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// TODO(wyuang): implement factory FAI.
+fn main() {
+    println!("Factory FAI is not available yet.");
+}