Interact with the crate's API

Overview

cargo-crate-api

Interact with the crate's API

Documentation License Crates Status

Documentation

Install

Download a pre-built binary (installable via gh-install).

Or use rust to install:

cargo install cargo-crate-api

Getting Started

To diff your crate against the last tag, run

$ cargo crate-api --diff

(choose the git reference with --git <REF>)

To help get started writing your CHANGELOG.md, run:

$ cargo crate-api --diff --format md

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Comments
  • Inherit stderr when running `cargo doc` to print progress

    Inherit stderr when running `cargo doc` to print progress

    Currently, when running cargo api on a big crate, there is no output for a long time, since cargo doc runs silently. This is confusing. The tool seems broken/stuck.

    Instead, inherit stderr to print the progress of running cargo doc. We don't want to inherit stdout since it should be easy to pipe the output of cargo api to a file without progress noise. Luckily, cargo prints progress to stderr.

    Example usage

    % cd fixtures/macros/new
    % ../../../target/debug/cargo-api api --format md
     Documenting macros_new v1.0.0 (/Users/jobb/src/cargo-api/fixtures/macros/new)
        Finished dev [unoptimized + debuginfo] target(s) in 1.10s
    # `macros_new`
    
    **`macros_new::Item`** *(Struct)*
    
    **`macros_new::abc`** *(Function)*
    
    **`macros_new::bar`** *(Macro)*
    
    **`macros_new::quux2`** *(Macro)*
    

    Piping still works as one would expect:

    % ../../../target/debug/cargo-api api --format md > /tmp/out
     Documenting macros_new v1.0.0 (/Users/jobb/src/cargo-api/fixtures/macros/new)
        Finished dev [unoptimized + debuginfo] target(s) in 1.07s
    % cat /tmp/out 
    # `macros_new`
    
    **`macros_new::Item`** *(Struct)*
    
    **`macros_new::abc`** *(Function)*
    
    **`macros_new::bar`** *(Macro)*
    
    **`macros_new::quux2`** *(Macro)*
    
    opened by Enselic 4
  • Replace `rustdoc-json-types-fork` with existing `rustdoc-types` crate

    Replace `rustdoc-json-types-fork` with existing `rustdoc-types` crate

    I was looking for a tool like this just a few days ago but could not find any. One of the places I looked were https://crates.io/crates/rustdoc-types/reverse_dependencies.

    This PR replaces your fork with the existing crate. That way I would have found this project. And doing this is likely to make others find your project too in the future.

    My project is at https://github.com/Enselic/public_items, but what you have seems much more sophisticated, so I will probably just abandon that project and start using your project.

    opened by Enselic 2
  • chore(deps): Bump clap from 3.1.7 to 3.1.18

    chore(deps): Bump clap from 3.1.7 to 3.1.18

    Bumps clap from 3.1.7 to 3.1.18.

    Release notes

    Sourced from clap's releases.

    v3.1.18

    [3.1.18] - 2022-05-10

    Fixes

    • Fix deprecated arg_enum! for users migrating to clap3 (#3717)
    • Verify all required_unless_present_all arguments exist
    • Verify group members exist before processing group members (#3711)
    • (help) Use ... when not enough value_names are supplied

    gated behind unstable-v4

    • Verify required is not used with conditional required settings (#3660)
    • Disallow more value_names than number_of_values (#2695)
    • (parser) Assert on unknown args when using external subcommands (#3703)
    • (parser) Always fill in "" argument for external subcommands (#3263)
    • (derive) Detect escaped external subcommands that look like built-in subcommands (#3703)
    • (derive) Leave Arg::id as verbatim casing (#3282)

    v3.1.17

    [3.1.17] - 2022-05-06

    Fixes

    • Allow value names for arg! macro to have dashes when quoted, like longs

    v3.1.16

    [3.1.16] - 2022-05-06

    Fixes

    • (parser) Arg::exclusive overrides Arg::required, like other conflicts
    • (error) Don't duplicate arguments in usage
    • (error) Don't show hidden arguments in conflict error usage
    • (help) New help_template variable {name} to fix problems with {bin}
    • (help) Don't wrap URLs

    gated behind unstable-v4

    • Leading dashes in Arg::long are no longer allowed
    • (help) Use Command::display_name in the help title rather than Command::bin_name

    v3.1.15

    [3.1.15] - 2022-05-02

    Fixes

    • (error) Render actual usage for unrecognized subcommands
    • (multicall) Improve bad command error
    • (multicall) Always require a multicall command
    • (multicall) Disallow arguments on multicall parent command
    • (multicall) More consistent with rest of clap errors

    ... (truncated)

    Changelog

    Sourced from clap's changelog.

    [3.1.18] - 2022-05-10

    Fixes

    • Fix deprecated arg_enum! for users migrating to clap3 (#3717)
    • Verify all required_unless_present_all arguments exist
    • Verify group members exist before processing group members (#3711)
    • (help) Use ... when not enough value_names are supplied

    gated behind unstable-v4

    • Verify required is not used with conditional required settings (#3660)
    • Disallow more value_names than number_of_values (#2695)
    • (parser) Assert on unknown args when using external subcommands (#3703)
    • (parser) Always fill in "" argument for external subcommands (#3263)
    • (derive) Detect escaped external subcommands that look like built-in subcommands (#3703)
    • (derive) Leave Arg::id as verbatim casing (#3282)

    [3.1.17] - 2022-05-06

    Fixes

    • Allow value names for arg! macro to have dashes when quoted, like longs

    [3.1.16] - 2022-05-06

    Fixes

    • (parser) Arg::exclusive overrides Arg::required, like other conflicts
    • (error) Don't duplicate arguments in usage
    • (error) Don't show hidden arguments in conflict error usage
    • (help) New help_template variable {name} to fix problems with {bin}
    • (help) Don't wrap URLs

    gated behind unstable-v4

    • Leading dashes in Arg::long are no longer allowed
    • (help) Use Command::display_name in the help title rather than Command::bin_name

    [3.1.15] - 2022-05-02

    Fixes

    • (error) Render actual usage for unrecognized subcommands
    • (multicall) Improve bad command error
    • (multicall) Always require a multicall command
    • (multicall) Disallow arguments on multicall parent command
    • (multicall) More consistent with rest of clap errors

    [3.1.14] - 2022-05-01

    ... (truncated)

    Commits
    • 524e36c chore: Release
    • 6635237 docs: Update changelog
    • 20d95d2 Merge pull request #3718 from epage/arg_enum
    • 52f6939 fix(macros): Add needed call for arg_enum
    • 9713cd9 Merge pull request #3712 from epage/assert
    • 7c1f912 fix(assert): Make sure group members exist before using them
    • a57a411 Merge pull request #3708 from epage/rename_sub
    • 2e35403 fix(derive): Don't change case of Arg id's (unstable)
    • f7e4dd2 refactor(derive): Divide rename_all assertions
    • ddc9d54 refactor(derive): Generalize test name
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    opened by dependabot[bot] 1
  • chore(deps): Bump semver from 1.0.7 to 1.0.9

    chore(deps): Bump semver from 1.0.7 to 1.0.9

    Bumps semver from 1.0.7 to 1.0.9.

    Release notes

    Sourced from semver's releases.

    1.0.9

    • Make compatible with Miri's -Zmiri-tag-raw-pointers mode (#273)
    • Fix Send/Sync impls for Prerelease and BuildMetadata (#275)

    1.0.8

    (yanked)

    Commits
    • d4a02ff Release 1.0.9
    • 44f0ac4 Merge pull request #275 from dtolnay/autotraits
    • 0768c69 Impl Send + Sync for Identifier
    • f0d32dc Add test of autotrait impls
    • bc69917 Release 1.0.8
    • 123772e Merge pull request #273 from dtolnay/provenance
    • 1cef40e Comment the endianness of the miri runs
    • de3fbcf Track raw pointers in miri CI run
    • e245e56 Add miri CI on 32-bit and little and big endian
    • 56e96fb Eliminate ptr->int->ptr casting from Identifier implementation
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    opened by dependabot[bot] 1
  • chore(deps): Bump serde_json from 1.0.79 to 1.0.81

    chore(deps): Bump serde_json from 1.0.79 to 1.0.81

    Bumps serde_json from 1.0.79 to 1.0.81.

    Release notes

    Sourced from serde_json's releases.

    v1.0.81

    • Work around indexmap/autocfg not always properly detecting whether a std sysroot crate is available (#885, thanks @​cuviper)

    v1.0.80

    • Documentation improvements
    Commits
    • a0ea937 Release 1.0.81
    • 6c3dfe9 Make it clearer that preserve_order implies a std dependency
    • f34ef95 Merge pull request #885 from cuviper/indexmap-std
    • 27939bb Explicitly enable indexmap/std
    • c0f9343 Ignore trait_duplication_in_bounds clippy false positives
    • 048a64c Resolve type_repetition_in_bounds clippy lint
    • 585e4c5 Release 1.0.80
    • 52a9c05 Pull miri from miri branch of dtolnay/rust-toolchain
    • aff685b Drop unneeded quoting from env variable in workflows yaml
    • 6995bbf Update workflows to actions/checkout@v3
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    opened by dependabot[bot] 1
  • chore(deps): Bump git2 from 0.14.2 to 0.14.4

    chore(deps): Bump git2 from 0.14.2 to 0.14.4

    Bumps git2 from 0.14.2 to 0.14.4.

    Commits
    • d6f4560 git2 0.14.4 and libgit2-sys 0.13.4
    • 6316180 Implement Tree::get_name using Tree::get_name_bytes to avoid duplication
    • 23a5340 Add Tree::get_name_bytes to handle non-UTF-8 entry names
    • 31d3ff0 Add binding for git_commit_body
    • 9d33858 git2 0.14.3 and libgit2-sys 0.13.3
    • d8ee105 Avoid unconditional dependency on libssh2-sys when using zlib-ng-compat (#833)
    • 2d391e9 Update Readme (#834)
    • 71a2466 clarify license
    • 4d104dd rustfmt
    • 3bc2640 Don't let pkg-config add system lib dirs to the search path
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    opened by dependabot[bot] 1
  • chore(deps): Bump serde_json from 1.0.79 to 1.0.80

    chore(deps): Bump serde_json from 1.0.79 to 1.0.80

    Bumps serde_json from 1.0.79 to 1.0.80.

    Commits
    • 585e4c5 Release 1.0.80
    • 52a9c05 Pull miri from miri branch of dtolnay/rust-toolchain
    • aff685b Drop unneeded quoting from env variable in workflows yaml
    • 6995bbf Update workflows to actions/checkout@v3
    • 829175e Fix dev dependencies on serde's derive feature
    • 2733e63 Rewrap readme to 80 columns
    • c5475a3 Apply readme changes from PR 864 to crate-level rustdoc
    • 56cf16f Merge pull request 864 from novedevo/patch-1
    • 16b68b0 Tweak grammar to improve readability
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    opened by dependabot[bot] 1
  • chore(deps): Bump serde from 1.0.136 to 1.0.137

    chore(deps): Bump serde from 1.0.136 to 1.0.137

    Bumps serde from 1.0.136 to 1.0.137.

    Release notes

    Sourced from serde's releases.

    v1.0.137

    • Update documentation links to some data formats whose repos have moved (#2201, thanks @​atouchet)
    • Fix declared rust-version of serde and serde_test (#2168)
    Commits
    • 17c3c0c Release 1.0.137
    • 210e6c3 Clean up clippy allows which are superseded by msrv in clippy.toml
    • 41823a9 Ignore more type_repetition_in_bounds
    • 7ca13ff Ignore type_repetition_in_bounds lint that is incompatible with msrv
    • 52391fd Inform clippy of supported compiler version in clippy.toml
    • 9b2d8df Add a miri test job in CI
    • 07ba7ea Update workflows to actions/checkout@v3
    • 9f29f6b Disable expandtest on miri
    • f6c104f Ignore unused ignore attribute warning in some configurations
    • 8a3a6fb Disable ui test on miri
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    opened by dependabot[bot] 1
  • chore(deps): Bump toml_edit from 0.14.2 to 0.14.3

    chore(deps): Bump toml_edit from 0.14.2 to 0.14.3

    Bumps toml_edit from 0.14.2 to 0.14.3.

    Changelog

    Sourced from toml_edit's changelog.

    [0.14.3] - 2022-04-26

    Features

    Tables

    • Added OccupiedEntry::key_mut and InlineOccupiedEntry::key_mut
    • Added TableLike::entry and TableLike::entry
    • Added get_key_value() and get_key_value_mut() to TableLike, Table, and InlineTable
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    opened by dependabot[bot] 1
  • chore(deps): Bump clap from 3.1.7 to 3.1.14

    chore(deps): Bump clap from 3.1.7 to 3.1.14

    Bumps clap from 3.1.7 to 3.1.14.

    Release notes

    Sourced from clap's releases.

    v3.1.14

    [3.1.14] - 2022-05-01

    Fixes

    • Panic when calling Command::build with a required positional argument nested several layers in subcommands

    v3.1.13

    [3.1.13] - 2022-04-30

    Fixes

    • Help subcommand and Command::write_help now report required arguments in usage in more circumstances
    • Unknown subcommand for help subcommand flag now reports an error with more context
    • More details reported when using debug feature
    • Allow disabling color feature with debug feature enabled

    v3.1.12

    [3.1.12] - 2022-04-22

    Fixes

    • Regression in 3.1.11 where the (output) streams were crossed

    v3.1.11

    [3.1.11] - 2022-04-22

    Fixes

    • Implied conflicts override Arg::required, making the behavior consistent with how we calculate conflicts for error reporting
    • Members of a mutually exclusive ArgGroup override Arg::required, making the behavior consistent with how we calculate conflicts for error reporting
    • Arg::overrides_with always override Arg::required, not just when the parser processes an override

    v3.1.9

    [3.1.9] - 2022-04-15

    Fixes

    • Pin the clap_derive version so a compatible version is always used with clap

    v3.1.8

    [3.1.8] - 2022-04-01

    Fixes

    • Add Debug impls to more types
    Changelog

    Sourced from clap's changelog.

    [3.1.14] - 2022-05-01

    Fixes

    • Panic when calling Command::build with a required positional argument nested several layers in subcommands

    [3.1.13] - 2022-04-30

    Fixes

    • Help subcommand and Command::write_help now report required arguments in usage in more circumstances
    • Unknown subcommand for help subcommand flag now reports an error with more context
    • More details reported when using debug feature
    • Allow disabling color feature with debug feature enabled

    [3.1.12] - 2022-04-22

    Fixes

    • Regression in 3.1.11 where the (output) streams were crossed

    [3.1.11] - 2022-04-22

    Fixes

    • Implied conflicts override Arg::required, making the behavior consistent with how we calculate conflicts for error reporting
    • Members of a mutually exclusive ArgGroup override Arg::required, making the behavior consistent with how we calculate conflicts for error reporting
    • Arg::overrides_with always override Arg::required, not just when the parser processes an override

    [3.1.10] - 2022-04-19

    Features

    • Expose Command::build for custom help generation or other command introspection needs

    [3.1.9] - 2022-04-15

    Fixes

    • Pin the clap_derive version so a compatible version is always used with clap

    [3.1.8] - 2022-04-01

    Fixes

    • Add Debug impls to more types
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    opened by dependabot[bot] 1
  • chore(deps): Bump clap-verbosity-flag from 0.4.1 to 1.0.0

    chore(deps): Bump clap-verbosity-flag from 0.4.1 to 1.0.0

    Bumps clap-verbosity-flag from 0.4.1 to 1.0.0.

    Changelog

    Sourced from clap-verbosity-flag's changelog.

    [1.0.0] - 2022-02-09

    Breaking Changes

    • set_defaulthas been removed in favor of being generic over LogLevel.
    • --verbose and --quiet are now global

    Features

    • Allow customizing help text

    Fixes

    • --verbose and --quiet are now global
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    opened by dependabot[bot] 1
  • chore(deps): Bump serde from 1.0.136 to 1.0.140

    chore(deps): Bump serde from 1.0.136 to 1.0.140

    Bumps serde from 1.0.136 to 1.0.140.

    Release notes

    Sourced from serde's releases.

    v1.0.140

    • Invert serde_derive cfgs to convenience non-Cargo builds on a modern toolchain (#2251, thanks @​taiki-e)

    v1.0.139

    • Add new constructor function for all IntoDeserializer impls (#2246)

    v1.0.138

    • Documentation improvements

    v1.0.137

    • Update documentation links to some data formats whose repos have moved (#2201, thanks @​atouchet)
    • Fix declared rust-version of serde and serde_test (#2168)
    Commits
    • c5f6338 Release 1.0.140
    • 5185487 Merge pull request #2251 from taiki-e/derive-cfg
    • efaafd4 Invert build.rs cfgs in serde_derive
    • a0eb83a Resolve invalid_utf8_in_unchecked clippy lint in ancient test code
    • 7cc6f7f Ignore new_without_default clippy lint
    • 44b9496 Release 1.0.139
    • 7e1486d Merge pull request #2246 from dtolnay/valuedenew
    • 8170ffe Add constructor function for all IntoDeserializer impls
    • 4b622f6 Release 1.0.138
    • 0ee71c7 Ignore explicit_auto_deref clippy lint
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    opened by dependabot[bot] 0
  • chore(deps): Bump git2 from 0.14.2 to 0.15.0

    chore(deps): Bump git2 from 0.14.2 to 0.15.0

    Bumps git2 from 0.14.2 to 0.15.0.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    opened by dependabot[bot] 0
  • chore(deps): Bump serde_json from 1.0.79 to 1.0.82

    chore(deps): Bump serde_json from 1.0.79 to 1.0.82

    Bumps serde_json from 1.0.79 to 1.0.82.

    Release notes

    Sourced from serde_json's releases.

    v1.0.82

    • Implement From<Option<T>> for serde_json::Value where T: Into<Value> (#900, thanks @​kvnvelasco)

    v1.0.81

    • Work around indexmap/autocfg not always properly detecting whether a std sysroot crate is available (#885, thanks @​cuviper)

    v1.0.80

    • Documentation improvements
    Commits
    • f286714 Release 1.0.82
    • df704c2 Merge pull request #900 from kvnvelasco/implement_from_option_for_value
    • b87778b don't use experimental (in 1.36) Self:: access for enums
    • 1bf61e9 make Value be From<Option>
    • 3d17340 Bump oldest rustc for preserve_order feature to 1.56.1
    • dab5ed3 Merge pull request #895 from dtolnay/ref
    • 05e03ee Eliminate all use of ref keyword
    • 45f1c4a Resolve borrow_deref_ref clippy lint
    • de5c34b Resolve get_first clippy lint
    • 6b91c96 Check for outdated deps in fuzz target
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    opened by dependabot[bot] 0
  • chore(deps): Bump semver from 1.0.7 to 1.0.12

    chore(deps): Bump semver from 1.0.7 to 1.0.12

    Bumps semver from 1.0.7 to 1.0.12.

    Release notes

    Sourced from semver's releases.

    1.0.11

    • Add serde Serialize and Deserialize impls for semver::Comparator (#282)

    1.0.10

    • Work around rustdoc issue affecting the Prerelease and BuildMetadata docs (#281)

    1.0.9

    • Make compatible with Miri's -Zmiri-tag-raw-pointers mode (#273)
    • Fix Send/Sync impls for Prerelease and BuildMetadata (#275)

    1.0.8

    (yanked)

    Commits
    • fe7197e Release 1.0.12
    • 19eaf03 Merge pull request #286 from dtolnay/rustdoc
    • 195bba9 Only do rustdoc workaround for semver's own docs.rs build
    • f3b27cd Compile fuzz targets in CI
    • 833e427 Add a funding file
    • 8f20c6c Revert "Install precompiled xargo to speed up miri job"
    • c5922c4 Merge pull request #284 from dtolnay/powerpc
    • 9e5c971 Add miri on a 64-bit big endian target
    • 82be7d1 Merge pull request #283 from dtolnay/xargo
    • 4297980 Install precompiled xargo to speed up miri job
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    opened by dependabot[bot] 0
  • chore(deps): Bump clap from 3.1.7 to 3.2.2

    chore(deps): Bump clap from 3.1.7 to 3.2.2

    Bumps clap from 3.1.7 to 3.2.2.

    Release notes

    Sourced from clap's releases.

    v3.2.2

    [3.2.2] - 2022-06-14

    Fixes

    • (derive) Improve the highlighted code for deprecation warnings

    gated behind unstable-v4

    • (derive) Default to #[clap(value_parser, action)] instead of #[clap(parse)] (#3827)

    v3.2.0

    [3.2.0] - 2022-06-13

    Features

    • Parsed, typed arguments via Arg::value_parser / ArgMatches::{get_one,get_many} (#2683, #3732)
      • Several built-in TypedValueParsers available with an API open for expansion
      • value_parser!(T) macro for selecting a parser for a given type (#3732) and open to expansion via the ValueParserFactory trait (#3755)
      • [&str] is implicitly a value parser for possible values
      • All ArgMatches getters do not assume required arguments (#2505)
      • Add ArgMatches::remove_* variants to transfer ownership
      • Add ArgMatches::try_* variants to avoid panics for developer errors (#3621)
      • Add a get_raw to access the underlying OsStrs
      • PathBuf value parsers imply ValueHint::AnyPath for completions (#3732)
    • Explicit control over parsing via Arg::action (#3774)
      • ArgAction::StoreValue: existing takes_value(true) behavior
      • ArgAction::IncOccurrences: existing takes_value(false) behavior
      • ArgAction::Help: existing --help behavior
      • ArgAction::Version: existing --version behavior
      • ArgAction::Set: Overwrite existing values (like Arg::multiple_occurrences mixed with Command::args_override_self) (#3777)
      • ArgAction::Append: like Arg::multiple_occurrences (#3777)
      • ArgAction::SetTrue: Treat --flag as --flag=true (#3775)
        • Implies Arg::default_value("false") (#3786)
        • Parses Arg::env via Arg::value_parser
      • ArgAction::SetFalse: Treat --flag as --flag=false (#3775)
        • Implies Arg::default_value("true") (#3786)
        • Parses Arg::env via Arg::value_parser
      • ArgAction::Count: Treat --flag --flag --flag as --flag=1 --flag=2 --flag=3 (#3775)
        • Implies Arg::default_value("0") (#3786)
        • Parses Arg::env via Arg::value_parser
    • (derive) Opt-in to new Arg::value_parser / Arg::action with either #[clap(value_parser)] (#3589, #3742) / #[clap(action)] attributes (#3794)
      • Default ValueParser is determined by value_parser! (#3199, #3496)
      • Default ArgAction is determine by a hard-coded lookup on the type (#3794)
    • Command::multicall is now stable for busybox-like programs and REPLs (#2861, #3684)
    • ArgMatches::{try_,}contains_id for checking if there are values for an argument that mirrors the new get_{one,many} API

    Fixes

    parser

    • Set ArgMatches::value_source and ArgMatches::occurrences_of for external subcommands (#3732)

    ... (truncated)

    Changelog

    Sourced from clap's changelog.

    [3.2.2] - 2022-06-14

    Fixes

    • (derive) Improve the highlighted code for deprecation warnings

    gated behind unstable-v4

    • (derive) Default to #[clap(value_parser, action)] instead of #[clap(parse)] (#3827)

    [3.2.1] - 2022-06-13

    [3.2.0] - 2022-06-13

    Compatibility

    MSRV is now 1.56.0 (#3732)

    Behavior

    • Defaults no longer satisfy required and its variants (#3793)
    • When misusing ArgMatches::value_of and friends, debug asserts were turned into panics

    Moving (old location deprecated)

    • clap::{PossibleValue, ValueHint} to clap::builder::{PossibleValue, ValueHint}
    • clap::{Indices, OsValues, ValueSource, Values} to clap::parser::{Indices, OsValues, ValueSource, Values}
    • clap::ArgEnum to clap::ValueEnum (#3799)

    Replaced

    • Arg::allow_invalid_utf8 with Arg::value_parser(value_parser!(PathBuf)) (#3753)
    • Arg::validator / Arg::validator_os with Arg::value_parser (#3753)
    • Arg::validator_regex with users providing their own builder::TypedValueParser (#3756)
    • Arg::forbid_empty_values with builder::NonEmptyStringValueParser / builder::PathBufValueParser (#3753)
    • Arg::possible_values with Arg::value_parser([...]), builder::PossibleValuesParser, or builder::EnumValueParser (#3753)
    • Arg::max_occurrences with arg.action(ArgAction::Count).value_parser(value_parser!(u8).range(..N)) for flags (#3797)
    • Arg::multiple_occurrences with ArgAction::Append or ArgAction::Count though positionals will need Arg::multiple_values (#3772, #3797)
    • Command::args_override_self with ArgAction::Set (#2627, #3797)
    • AppSettings::NoAutoVersion with ArgAction or Command::disable_version_flag (#3800)
    • AppSettings::NoHelpVersion with ArgAction or Command::disable_help_flag / Command::disable_help_subcommand (#3800)
    • ArgMatches::{value_of, value_of_os, value_of_os_lossy, value_of_t} with ArgMatches::{get_one,remove_one} (#3753)
    • ArgMatches::{values_of, values_of_os, values_of_os_lossy, values_of_t} with ArgMatches::{get_many,remove_many} (#3753)
    • ArgMatches::is_valid_arg with ArgMatches::{try_get_one,try_get_many} (#3753)
    • ArgMatches::occurrences_of with ArgMatches::value_source or ArgAction::Count (#3797)
    • ArgMatches::is_present with ArgMatches::contains_id or ArgAction::SetTrue (#3797)
    • ArgAction::StoreValue with ArgAction::Set or ArgAction::Append (#3797)
    • ArgAction::IncOccurrences with ArgAction::SetTrue or ArgAction::Count (#3797)
    • (derive) #[clap(parse(...))] replaced with: (#3589, #3794)
      • For default parsers (no parse attribute), deprecation warnings can be silenced by opting into the new behavior by adding either #[clap(action)] or #[clap(value_parser)] (ie requesting the default behavior for these attributes). Alternatively, the unstable-v4 feature changes the default away from parse to action/value_parser.

    ... (truncated)

    Commits
    • 3823df9 chore: Release
    • 8a659bc docs: Update changelog
    • ceb7ee4 Merge pull request #3860 from epage/panic
    • 01da890 fix(parser): Don't panic on --=
    • dabb571 Merge pull request #3853 from dtolnay-contrib/valuevalidation
    • 690530a Fix typo in ErrorKind::ValueValidation message
    • ae78f88 Merge pull request #3852 from epage/msrv
    • 82d70d8 chore: Bump MSRV from 1.56.0 to 1.56.1
    • 8c28bec Merge pull request #3851 from tshepang/trim-manifest
    • 806f634 chore: trim Cargo manifest fields whose values are defaults
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    opened by dependabot[bot] 0
  • chore(deps): Bump cargo_metadata from 0.14.2 to 0.15.0

    chore(deps): Bump cargo_metadata from 0.14.2 to 0.15.0

    Bumps cargo_metadata from 0.14.2 to 0.15.0.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    opened by dependabot[bot] 0
Interact with the crate's API

cargo-crate-api Interact with the crate's API Documentation Installation Getting Started Reference FAQ Contribute CHANGELOG Install Download a pre-bui

null 7 Aug 9, 2022
UNIC: Unicode and Internationalization Crates for Rust

UNIC: Unicode and Internationalization Crates for Rust https://github.com/open-i18n/rust-unic UNIC is a project to develop components for the Rust pro

open-i18n — Open Internationalization Initiative 219 Nov 12, 2022
Rust crates with map and set with interval keys (ranges x..y).

This crates implements map and set with interval keys (ranges x..y). IntervalMap is implemented using red-black binary tree, where each node contains

Timofey Prodanov 8 Aug 23, 2022
A procedural macro for configuring constant values across crates

toml-cfg Rough ideas: Crates can declare variables that can be overridden Anything const, e.g. usize, strings, etc. (Only) The "root crate" can overri

James Munns 43 Dec 24, 2022
Game development practices with Rust programming language. I want to use different crates for this.

Hazır Oyun Motorlarını Kullanarak Rust Dili Yardımıyla Oyunlar Geliştirmek Rust programlama dilinde oyun geliştirmek için popüler birkaç hazır çatıyı

Burak Selim Senyurt 16 Dec 27, 2022
A collection of crates to make minecraft development (client, server) with rust possible.

rust-craft rust-craft is a collection of crates to make minecraft development (client, server) with rust possible. Motivation There's no better way of

João Victor 15 Mar 23, 2023
Uma lib para a API do Brasil API (para o Rust)

Uma lib para a API do BrasilAPI (para o Rust) Features CEP (Zip code) DDD Bank CNPJ IBGE Feriados Nacionais Tabela FIPE ISBN Registros de domínios br

Pedro Augusto 6 Dec 13, 2022
Rust library for hardware accelerated drawing of 2D shapes, images, and text, with an easy to use API.

Speedy2D Hardware-accelerated drawing of shapes, images, and text, with an easy to use API. Speedy2D aims to be: The simplest Rust API for creating a

null 223 Dec 26, 2022
An API for getting questions from http://either.io implemented fully in Rust, using reqwest and some regex magic. Provides asynchronous and blocking clients respectively.

eithers_rust An API for getting questions from http://either.io implemented fully in Rust, using reqwest and some regex magic. Provides asynchronous a

null 2 Oct 24, 2021
Code to follow along the "Zero To Production" book on API development in Rust.

Zero To Production / Code (Chapter 10 - Part 1) Zero To Production In Rust is an opinionated introduction to backend development using Rust. This repo

Luca Palmieri 2.8k Dec 31, 2022
Conversion Tools API Rust client

ConversionTools Rust This Conversion Tools API Rust client allows you to use the site API and convert files faster and more conveniently. Site Convers

WinsomeQuill 2 Jan 23, 2022
Public aircraft & flightroute api Built in Rust for Docker, using PostgreSQL & Redis

api.adsbdb.com public aircraft & flightroute api Built in Rust for Docker, using PostgreSQL & Redis See typescript branch for original typescript vers

Jack Wills 66 Dec 22, 2022
Simple RESTful API in rust created with actix-web. (Routing, models, JWT auth).

rust-simple-api Simple RESTful API created with rust, actix-web, Diesel, JWT. Running application Manual Firstly generate a secret.key which will be u

null 2 Jul 30, 2022
A asynchronous implementation of the invidious innertube aka youtubei API wrapper

A asynchronous implementation of the invidious innertube aka youtubei API wrapper. Using tokio,reqwest, serde and serde_json

11Tuvork28 11 Dec 22, 2022
The second Rust implementation on GitHub of third-party REST API client for Bilibili.

Bilibili REST API The second Rust implementation on GitHub of third-party REST API client for Bilibili. Designed to be lightweight and efficient. It's

null 4 Aug 25, 2022
Simple Rust 🦀 api with Rocket 🚀

Car API Written in Rust & Rocket.rs ?? ?? Running project Running by cargo You just need to run the following command: cargo run Running on docker Fi

Bartosz Molka 2 Sep 2, 2022
API for the creation character based games in Linux.

Console Game Engine for Linux. API for the creation of character based games in Linux. The inspiration came from the olcConsoleGameEngine. This is my

Arjob Mukherjee 4 Sep 27, 2022
Rust wrapper for the LeapC Ultraleap (Leap Motion) hand tracking device API.

LeapRS LeapRS is a safe wrapper for LeapC, the Leap Motion C API. It uses the generated binding provided by leap-sys. This is an API for accessing Lea

Pierre Lulé 4 Oct 10, 2022
API and logger for GBFS endpoints, noticeably Velib' in Paris

GBFS Watcher A daemon which logs Velib' stations statuses and provides a REST endpoint to access data. Velib' API is built over GBFS v1, so this API c

Rémi Dupré 2 Nov 22, 2022