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

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.

主站蜘蛛池模板: 青田县| 阿荣旗| 白山市| 泸西县| 电白县| 治县。| 邓州市| 大庆市| 沧源| 丁青县| 比如县| 临清市| 稷山县| 临夏县| 龙山县| 鸡东县| 白山市| 揭阳市| 海兴县| 湘乡市| 工布江达县| 陆丰市| 新营市| 穆棱市| 巢湖市| 博罗县| 普定县| 张家川| 东丽区| 漳浦县| 汝州市| 兰溪市| 利川市| 广汉市| 盐边县| 乐陵市| 义马市| 封丘县| 饶河县| 如东县| 余姚市|