Move extra::flate to libflate
This is hopefully the beginning of the long-awaited dissolution of libextra. Using the newly created build infrastructure for building libraries, I decided to move the first module out of libextra. While not being a particularly meaty module in and of itself, the flate module is required by rustc and additionally has a native C dependency. I was able to very easily split out the C dependency from rustrt, update librustc, and magically everything gets installed to the right locations and built automatically. This is meant to be a proof-of-concept commit to how easy it is to remove modules from libextra now. I didn't put any effort into modernizing the interface of libflate or updating it other than to remove the one glob import it had.
This commit is contained in:
parent
2611483894
commit
cdfdc1eb6b
10 changed files with 25 additions and 14 deletions
|
|
@ -16,7 +16,9 @@
|
|||
//! functionality through a unit-struct, `Markdown`, which has an implementation
|
||||
//! of `fmt::Default`. Example usage:
|
||||
//!
|
||||
//! ```rust
|
||||
//! ```rust,ignore
|
||||
//! use rustdoc::html::markdown::Markdown;
|
||||
//!
|
||||
//! let s = "My *markdown* _text_";
|
||||
//! let html = format!("{}", Markdown(s));
|
||||
//! // ... something using html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue