use-yarn 0.0.1

Yarn workspace and command primitives for RustUse
Documentation
  • Coverage
  • 40.91%
    9 out of 22 items documented1 out of 10 items with examples
  • Size
  • Source code size: 6.94 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 645.74 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 5s Average build duration of successful builds.
  • all releases: 5s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-js
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-yarn

Yarn workspace and command primitives for RustUse.

Experimental

use-yarn is experimental while use-js remains below 0.3.0.

Example

use use_yarn::{YarnCommand, YarnLockfile, YarnVersionFamily};

assert_eq!("install".parse::<YarnCommand>()?, YarnCommand::Install);
assert_eq!(YarnVersionFamily::Classic.as_str(), "classic");
assert_eq!(YarnLockfile::YarnLock.as_str(), "yarn.lock");
# Ok::<(), use_yarn::YarnTextError>(())

Scope

  • Yarn command labels.
  • Classic/Berry version-family metadata.
  • Workspace and lockfile labels.

Non-goals

  • Running Yarn.
  • Plug'n'Play behavior.
  • Lockfile parsing.

License

Licensed under either Apache-2.0 or MIT.