We discussed this some in the meeting today: https://github.com/mozilla/rust/wiki/Meeting-weekly-2013-12-17

On 12/16/2013 06:41 PM, Liigo Zhuang wrote:

2013/12/16 Brian Anderson <bander...@mozilla.com <mailto:bander...@mozilla.com>>

    My feeling is that it is a crate, since that's the name we've
    historically used. There's already been agreement to remove
    "extern mod" in favor of "crate".


IMO, "package" is used in several languages, maybe it's much familiar and friendly to rust newbies:

```
    package newpkg; // pkgid is "newpkg", compile to dynamic library (.so)

    package main; // pkgid "main" means compile to executable program
    (.exe)

    static package newpkg; // pkgid is "newpkg", compile to static library

    extern package newpkg; // or …

    extern package newpkg =
    "http://github.com/liigo/rust-newpkg#newpkg:1.0";;

    ```

But I'm OK if "crate" is used here.

Liigo, 2013-12-17.


_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to