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

Dependencies on Git repositories

Depending on a library stored in the Git version control system, either locally or remotely, is also easy. The linking code is slightly different, but it looks like this:

    [dependencies]
thing = { git = "https://github.com/example/thing" }

We tell Rust where to find the repository, and it knows how to check it out, compile it, and link it with our program. The repository location doesn't have to be a URL; it can be any repository location that the git command recognizes.

主站蜘蛛池模板: 二手房| 枞阳县| 曲水县| 北辰区| 崇信县| 盐城市| 曲水县| 东乌| 京山县| 琼中| 泰宁县| 三穗县| 酒泉市| 麻栗坡县| 慈溪市| 社旗县| 蒲江县| 鄂温| 时尚| 正蓝旗| 鹤岗市| 东辽县| 同德县| 温宿县| 武山县| 深水埗区| 偏关县| 乐都县| 六枝特区| 霍城县| 南溪县| 郎溪县| 宜都市| 南陵县| 达尔| 纳雍县| 云和县| 深圳市| 五原县| 靖远县| 凤阳县|