Skip to content

Move term, terminfo out of extra. #11945

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 3, 2014
Merged

Move term, terminfo out of extra. #11945

merged 1 commit into from
Feb 3, 2014

Conversation

xales
Copy link
Contributor

@xales xales commented Jan 31, 2014

cc #8784

@huonw
Copy link
Member

huonw commented Jan 31, 2014

It seems like these could be in one crate, e.g. term with a term::terminfo submodule.

html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://static.rust-lang.org/doc/master")];

#[feature(globs)];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did this end up being too painful to remove?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only toplevel item in terminfo is the TermInfo struct. I'm pretty sure this glob is unnecessary.

@alexcrichton
Copy link
Member

I agree with @huonw , I would expect these modules to form libterm. I'm not sure if use term::info looks too weird because I think "terminfo" is a thing (as one word).

@alexcrichton
Copy link
Member

I am so excited to see all this action with libextra!

@brson
Copy link
Contributor

brson commented Jan 31, 2014

Happy to see libextra being taken apart. 🎉

@lilyball
Copy link
Contributor

I agree with @huonw and @alexcrichton. I also think "terminfo" is one word so term::terminfo.


#[deny(non_camel_case_types)];
#[allow(missing_doc)];

use std::os;
use terminfo::*;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this may be the only glob in this crate, could you remove this glob and feature(globs) as well?

@alexcrichton
Copy link
Member

Feel free to comment on the PR whenever you update it, sadly no one gets notifications about force-pushes.

Also, could you squash all the commits into one? Thanks for doing this!

@xales
Copy link
Contributor Author

xales commented Jan 31, 2014

Sure. Removed globs.

@huonw
Copy link
Member

huonw commented Feb 1, 2014

Maybe this should be added to docs/index.md like the the other modules have been?

@xales
Copy link
Contributor Author

xales commented Feb 1, 2014

Added to docs.

@xales
Copy link
Contributor Author

xales commented Feb 2, 2014

Fixed imports in tests; they pass now.

@huonw
Copy link
Member

huonw commented Feb 2, 2014

This needs a rebase.

@xales
Copy link
Contributor Author

xales commented Feb 2, 2014

Rebased.

bors added a commit that referenced this pull request Feb 2, 2014
@bors bors closed this Feb 3, 2014
@bors bors merged commit 51260f6 into rust-lang:master Feb 3, 2014
@derekchiang
Copy link
Contributor

Is there no place now to view the docs of these external crates?

@derekchiang
Copy link
Contributor

Oops never mind. They can be found on this page.

bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 25, 2022
…tly, r=harpsword

fix cargo check diagnostics are mapped incorrectly with non-BMP codepoints

fix rust-lang#11945
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jan 25, 2024
…xendoo

Try to improve wording and fix dead link in description of arc_with_non_send_sync lint.

changelog: [`arc_with_non_send_sync`]: Improve wording and fix dead link.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants