More information on the deprecated crate language in .rc files


#1

I came across this mailing list entry by Brian Anderson on the crate language that was used in .rc files. The predecessor to the existing .crate files.

https://mail.mozilla.org/pipermail/rust-dev/2012-December/002679.html

While we no longer need to learn or use the crate language, can anyone point me towards legacy documentation of the deprecated language?

Thanks!


#2

Out of curiosity took a look at when the first github commit was made.
The ‘.rc’ files exist back then.


#3

I’m not sure that it was ever particularly documented; the basic idea would be that an .rc file (for “rust crate”) would contain metadata, information about dependencies, as well as define your entire module structure.

Take https://github.com/rust-lang/rust/blob/d6b7c96c3eb29b9244ece0c046d3f372ff432d04/src/lib/std.rc for example (thanks @jonh for the easy link)


#4

Thanks for the information. :slight_smile: