官术网_书友最值得收藏!

  • Rust Quick Start Guide
  • Daniel Arbuckle
  • 66字
  • 2021-06-10 19:46:01

Dependencies on local libraries

We can also link against other libraries stored on our own systems, of course. To do this, we just have to add an entry such as this to our Cargo.toml file:


[dependencies]
example = { path = "/path/to/example" }

The path can be absolute or relative. If it's relative, it's interpreted as being relative to the directory containing our Cargo.toml file.

主站蜘蛛池模板: 高陵县| 苏州市| 万全县| 海林市| 会东县| 临颍县| 丰城市| 行唐县| 鹤峰县| 洞头县| 乌鲁木齐市| 嘉义县| 德江县| 山西省| 漠河县| 丹江口市| 东乡县| 磐石市| 马公市| 仪陇县| 嘉禾县| 瑞昌市| 溆浦县| 宣恩县| 郓城县| 东光县| 南开区| 镇坪县| 潼南县| 海南省| 禹州市| 襄城县| 昂仁县| 诏安县| 鹿邑县| 麻阳| 永年县| 日照市| 奉新县| 西青区| 沾益县|