Skip to content
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

eztd ("Easy Standard') or nonstd Library #4

Open
epage opened this issue Jan 12, 2019 · 4 comments
Open

eztd ("Easy Standard') or nonstd Library #4

epage opened this issue Jan 12, 2019 · 4 comments
Labels

Comments

@epage
Copy link
Owner

epage commented Jan 12, 2019

Goal:

  • Easier to prototype
  • Improves usability for new-to-rust users
  • Still allow optimizing hot loops
  • Easy interop either calling into other crates or being called into

Non-goals:

  • Stable-enough API for being used in a crate's "1.0" API. There will be enough policy and moving pieces that I expect the major version to be bumped once a year at least.

For use cases, requirements, and feature ideas, see https://github.com/rust-lang-nursery/cli-wg/issues/26 and https://github.com/rust-lang-nursery/cli-wg/issues/10

High level features

Pull in from other crates:

Guidelines

When to pull in a crate

  • If the use case is common enough
  • If it integrates in to be first-class (e.g. globs being a function on path)
    • Or if it is obscure enough that we deem it important to improve visibility
    • Or it is small enough that it the justification for adding it for one-off is small (e.g. boolinator)

Open Questions

Should we include regex and how should we expose it?

Should we include anything else from stdx

@epage epage added the project label Jan 12, 2019
@epage
Copy link
Owner Author

epage commented Jan 16, 2019

https://crates.io/crates/text_io is tempting depending on error handling

@epage
Copy link
Owner Author

epage commented Jan 16, 2019

text_io has at least some option for error handling but the license is non-standard.

@epage
Copy link
Owner Author

epage commented Apr 2, 2019

There is now https://github.com/BurntSushi/bstr

@epage
Copy link
Owner Author

epage commented Apr 23, 2019

These comprehensions look promising
https://crates.io/crates/py-comp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant