Skip to content

Initial sub-crates #1

Description

@vitiral

The following intial crates are targeted towards the following weeks:

  • [ ]: ergo_prelude: "generally needed stuff" -- lazy_static, maplit, failure, itertools, std_prelude, ordermap, etc.
  • [ ]: ergo_sys: deal with operating system details. Examples include time (chrono), signal handling chan-signal, (maybe) system libraries (libc) and randomness (rand).
  • [x]: ergo_fs for files+directories. Some crates could be path_abs, walkdir, tar repo
  • [ ]: ergo_config deserialization and config files+env-vars: toml, serde_json, serde_yaml, configure, shell variables (shellexpand), etc

Something that the ecosystem isn't quite ready for but is probably close

  • ergo_term: terminal input/output styling: tabwriter, pretty_tables, termstyle, etc
  • ergo_test: test framework conglomeration, not particular to any particular application

I'm considering not exporting std_prelude, and instead each crate exports the relevant traits/types in it's own prelude. I think this is the right approach.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions