Why can TiKV's code directly reference proto source files?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tikv的代码为什么可以直接引用proto源文件

| username: HappyUncle

Why can the kvproto repository be directly imported here? This repository actually contains proto source files. Is it some Rust technique?
GitHub - pingcap/kvproto: Protocol buffer files for TiKV

| username: ti-tiger | Original post link

It’s just about importing configuration files; this issue itself is all about configuration items.

| username: HappyUncle | Original post link

The imported repository points to the target folder of the current repository in lib.rs, where the Rust source code corresponding to the proto files is located.

| username: system | Original post link

This topic will be automatically closed 60 days after the last reply. No new replies are allowed.