Code Monkey home page Code Monkey logo

cargo-authors's People

Contributors

chippers avatar dependabot[bot] avatar henning-k avatar nashenas88 avatar str4d avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

nashenas88 str4d

cargo-authors's Issues

Lockfile parsing fails with "invalid serialized PackageId for key `package.dependencies`"

When I try to run cargo authors inside https://github.com/zcash/halo2, I get the following error:

$ git rev-list -n 1 HEAD
ec38a06fbf2d74247363828141a02172b8c7c848
str4d@Charana:~/dev/rust/zcash/halo2 (main) ^_^
$ RUST_BACKTRACE=1 cargo authors
error: failed to parse lock file at: /home/str4d/dev/rust/zcash/halo2/Cargo.lock
caused by: invalid serialized PackageId for key `package.dependencies`
backtrace:    0: failure::backtrace::internal::InternalBacktrace::new
   1: failure::backtrace::Backtrace::new
   2: cargo::ops::lockfile::load_pkg_lockfile
   3: cargo::ops::resolve::resolve_with_registry
   4: cargo::ops::resolve::resolve_ws_with_method
   5: cargo::ops::resolve::resolve_ws_precisely
   6: cargo_authors::real_main
   7: cargo_authors::main
   8: std::sys_common::backtrace::__rust_begin_short_backtrace
   9: std::rt::lang_start::{{closure}}
  10: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
             at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/core/src/ops/function.rs:259:13
      std::panicking::try::do_call
             at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/panicking.rs:379:40
      std::panicking::try
             at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/panicking.rs:343:19
      std::panic::catch_unwind
             at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/panic.rs:396:14
      std::rt::lang_start_internal
             at /rustc/cb75ad5db02783e8b0222fee363c5f63f7e2cf5b/library/std/src/rt.rs:51:25
  11: main
  12: __libc_start_main
  13: _start

I installed cargo-authors using Rust 1.50.0.

Feature Roadmap

This is intended as a roadmap of sorts for features that are likely to be implemented in the future.

First should probably be to provide an option to make the output machine-readable, I'm thinking Json for this.


  • Machine-readable output with Json
  • Output: --by-crate
  • Output: --hide-emails
  • Output: --hide-authors
  • Output: --hide-crates
  • path argument => no dependence on current working directory
    . . .

Suggestions for additional future features are welcome.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.