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

Migrate cargo-raze into rules_rust #590

Closed
wants to merge 264 commits into from
Closed

Migrate cargo-raze into rules_rust #590

wants to merge 264 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Mar 5, 2018

  1. Configuration menu
    Copy the full SHA
    f0ddd97 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2018

  1. Update README.md (#11)

    bspeice authored and acmcarther committed Mar 8, 2018
    Configuration menu
    Copy the full SHA
    eae2a98 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2018

  1. Support './' in lib.path targets (#13)

    * Support './' in lib.path targets
    
    * Add normal target to test
    acmcarther committed Mar 11, 2018
    Configuration menu
    Copy the full SHA
    c08631b View commit details
    Browse the repository at this point in the history
  2. Add data_attr for defining rust_library data dependencies (#10)

    * WIP
    
    * Add  option
    
    * Fix whitespace somewhere
    acmcarther committed Mar 11, 2018
    Configuration menu
    Copy the full SHA
    9293a28 View commit details
    Browse the repository at this point in the history
  3. Up to 0.0.19

    acmcarther committed Mar 11, 2018
    Configuration menu
    Copy the full SHA
    9c33c3b View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2018

  1. Complain to stderr about unused raze settings. (#18)

    * Complain to stderr about unused raze settings.
    
    * Provide more useful help message.
    mfarrugi authored and acmcarther committed Mar 12, 2018
    Configuration menu
    Copy the full SHA
    4970262 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2018

  1. Update skipped_deps docs

    Fixes issue #1
    acmcarther committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    1a8e659 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    88fdc20 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1a1f2ab View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2018

  1. Refactor planning in the manner of cargo metadata (but keep using i…

    …nternals) (#28)
    
    Refactor planning in the manner of `cargo metadata` (but keep using internals)
    acmcarther committed Mar 15, 2018
    Configuration menu
    Copy the full SHA
    308d297 View commit details
    Browse the repository at this point in the history
  2. Up to 0.0.20

    acmcarther committed Mar 15, 2018
    Configuration menu
    Copy the full SHA
    0b28d00 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7466537 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2018

  1. Configuration menu
    Copy the full SHA
    2f65244 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2018

  1. Inline smoke test (#35)

    * Integrate the examples into cargo-raze
    
    * Add the remote examples as well
    
    * Add a README doc for remote examples
    
    * Fix the build after adding remote README
    
    * Remove examples for PR
    
    * Enable -f on `rm` so no error if dirs don't exist
    
    * Explicitly reset working directory back to original
    
    * Rename examples/README.md
    
    * Move the command exists check to a function
    
    * Make sure `command_exists` actually checks for existence
    
    * DIR -> REPO_ROOT
    bspeice authored and acmcarther committed Mar 27, 2018
    Configuration menu
    Copy the full SHA
    f453818 View commit details
    Browse the repository at this point in the history
  2. Update examples for f453818

    acmcarther committed Mar 27, 2018
    Configuration menu
    Copy the full SHA
    941a3ca View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2018

  1. Configuration menu
    Copy the full SHA
    a0c3432 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2018

  1. Packaging update (#40)

    * Fixes for #36
    
    * Updates for Cargo.toml
    
    * Fix some pathing issues with smoke-test.sh
    
    * Fix up travis not liking the new packaging
    bspeice authored and acmcarther committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    0bec1af View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2018

  1. Configuration menu
    Copy the full SHA
    ca9321b View commit details
    Browse the repository at this point in the history

Commits on May 18, 2018

  1. Fix link to settings.rs

    acmcarther committed May 18, 2018
    Configuration menu
    Copy the full SHA
    c864bbf View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2018

  1. Add SHA-256 to the local_repositories (#47)

    * Add the sha256 to the generated http_archive
    
    This is good practice to have them and we get them for free from Cargo.
    
    * Remove unused warnings
    
    * Update Cargo.lock
    
    The previous one doesn't build on my platform.
    
    * Address acmcarther@ suggestions
    damienmg authored and acmcarther committed Jun 5, 2018
    Configuration menu
    Copy the full SHA
    3b0d496 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2018

  1. Add version number to imported crates (#49)

    Now that rust_library/rust_binary supports it.
    damienmg authored and acmcarther committed Jun 6, 2018
    Configuration menu
    Copy the full SHA
    b69f242 View commit details
    Browse the repository at this point in the history
  2. Remote: do not create http repository if it already exists. (#50)

    Using native.existing_rules allow to use several crates.bzl file that
    would import the same crates without failing with duplicate rules.
    damienmg authored and acmcarther committed Jun 6, 2018
    Configuration menu
    Copy the full SHA
    aadff8b View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2018

  1. Take two on remote Git targets (#44)

    * Pass 2 on remote git targets
    Previously this worked with the example because it actually resolved to
    crates.io even for "git" packages. The example was included before it
    was ready, and only because it relied exclusively on things already on
    crates.io did it compile in the first place.
    
    Tests back to compiling and running
    
    true -> True
    
    Fix a pathing issue
    
    Fix some unused imports
    
    * Suggested changes
    bspeice authored and acmcarther committed Jun 21, 2018
    Configuration menu
    Copy the full SHA
    efa6ea2 View commit details
    Browse the repository at this point in the history
  2. Reverts google/cargo-raze#33 (#37)

    * fix it
    
    * fix
    acmcarther committed Jun 21, 2018
    Configuration menu
    Copy the full SHA
    930d8a8 View commit details
    Browse the repository at this point in the history
  3. Remove remote templates and use additional data in context (#45)

    * WIP: RM separate remote_ files
    
    * Simplify build_path slightly
    
    * More progress
    
    * Fix a test, save a life
    
    * Put the remote_crates back
    acmcarther committed Jun 21, 2018
    Configuration menu
    Copy the full SHA
    19afaef View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2018

  1. Update README.md (#55)

    * Update README.md
    
    Update the examples location now that they're inline to the main repository.
    
    * Update README.md
    
    Add back the OpenSSL example
    bspeice authored and acmcarther committed Jun 23, 2018
    Configuration menu
    Copy the full SHA
    b90dfea View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2018

  1. Configuration menu
    Copy the full SHA
    2e4128f View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2018

  1. Clean up the planner code (#56)

    * Wip the first
    
    * Wip the second
    
    * Clean code -- terrible formatter
    
    * Handle a lot of nits, but not the failing tests
    
    * Fix broken index insertion (debug_uggh) and rendering
    
    * Fix bug where root crate was expected to be vendored
    
    * Fix crate_context.build_path and update missing root crate test
    
    * Fix minor bugs with file generations
    
    * Fix tests and update some context var names
    acmcarther committed Jun 26, 2018
    Configuration menu
    Copy the full SHA
    afe4255 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2018

  1. Remove rust_bench_test from generated imports (#60)

    This rule is never used and was renamed in recent rust rules into
    rust_bechmark.
    damienmg authored and acmcarther committed Aug 27, 2018
    Configuration menu
    Copy the full SHA
    ab679d2 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2018

  1. Rel 0.1.0: Update deps, fix deprecation warnings, patch examples dire…

    …ctory (#62)
    
    * Patch examples with latest cargo-raze generated output
    
    * Update deps, fix deprecation warnings, up to 0.1.0
    acmcarther committed Sep 22, 2018
    Configuration menu
    Copy the full SHA
    03e2996 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc18b4b View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2018

  1. Update dependencies and fix for cargo 0.30.0 (#67)

    * Update dependencies and fix for cargo 0.30.0
    
    * Set non_cratesio_library's futures dep to a specific version
    acmcarther committed Oct 22, 2018
    Configuration menu
    Copy the full SHA
    0d747c4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4caf334 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c61566c View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2018

  1. Remove --target flag (#72)

    It is now automatically set by rules_rust. It should always be correct
    even for the build script with Bazel handling the configuration.
    damienmg authored and acmcarther committed Nov 5, 2018
    Configuration menu
    Copy the full SHA
    d3ea117 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2018

  1. Configuration menu
    Copy the full SHA
    7c103ce View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2018

  1. Use --flag=value syntax for cap-lints (#76)

    Newer version of rules_rust use ctx.actions.args() quoting that would quote
    "--cap-lints allow" as one argument. To be compatible with the new version
    use "--cap-lints=allow".
    damienmg authored and acmcarther committed Nov 9, 2018
    Configuration menu
    Copy the full SHA
    3031a15 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2018

  1. Remote mode: use Label() and non native git/http. (#77)

    * native.new_git_repository is replaced by the skylark
    new_git_repository
    * native.new_http_archive is replaced by the skylark http_archive
    * Surround labels with the Label function so that crate.bzl can be
      used from other repositories.
    damienmg authored and acmcarther committed Nov 10, 2018
    Configuration menu
    Copy the full SHA
    29fd059 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2018

  1. Configuration menu
    Copy the full SHA
    1a79366 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2019

  1. Support for Rust editions (#80)

    * Update dependencies
    
    * Add support for Rust editions
    
    * Update metadata test fixture
    kornholi authored and acmcarther committed Jan 9, 2019
    Configuration menu
    Copy the full SHA
    d98b681 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ec495b View commit details
    Browse the repository at this point in the history
  3. Add lock file for 0.2.0

    acmcarther committed Jan 9, 2019
    Configuration menu
    Copy the full SHA
    e257aa6 View commit details
    Browse the repository at this point in the history
  4. Bump Bazel on Travis to 0.17.1 (#81)

    * Bump Bazel on Travis to 0.17.1
    
    * Update rules_rust in CI
    
    * Add bazel_version to the WORKSPACE
    kornholi authored and acmcarther committed Jan 9, 2019
    Configuration menu
    Copy the full SHA
    8a75aa0 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2019

  1. Fix Broken smoke-test.sh (#82)

    * Run blaze build commands independently so that 'set -e' properly fails
    
    * Fix spooky breakages
    acmcarther committed Jan 10, 2019
    Configuration menu
    Copy the full SHA
    1271536 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2019

  1. Add dump_metadata bin for quickly producing serialized metadata (#84)

    * Move main.rs into src/bin, add dump_metadata bin
    
    * Minor fixes
    
    * Clean up warnings
    acmcarther committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    966e872 View commit details
    Browse the repository at this point in the history
  2. Revert "Add dump_metadata bin for quickly producing serialized metada…

    …ta (#84)" (#85)
    
    This reverts commit 966e872.
    acmcarther committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    4be5181 View commit details
    Browse the repository at this point in the history
  3. Roll forward of "Add dump_metadata bin" (#86)

    * Move main.rs into src/bin, add dump_metadata bin
    
    * Minor fixes
    
    * Clean up warnings
    
    * Move dump_metadata outside of cargo-raze/impl, add easy shell script, fix minor canonicalization issue
    
    * Make the formatting of tools consistent
    acmcarther committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    30fb8b4 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2019

  1. Support binary dependencies that do not have associated libs (#87)

    * Add crate_context.has_eponymous_lib to fix bins depending on non-existent self-lib
    
    * Quick optimization
    
    * Tweak verbiage of has_eponymous_lib field doc
    
    * Add 'lib_target_name' param to CrateContext
    acmcarther committed Feb 4, 2019
    Configuration menu
    Copy the full SHA
    1e38935 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2019

  1. Remove requirement for lib in crate for adding aliases (#90)

    I'm not sure why I originally added this constraint, but I'll remove it and see if CI accepts it.
    
    cc @mfarrugi
    acmcarther committed Apr 5, 2019
    Configuration menu
    Copy the full SHA
    0a72a8c View commit details
    Browse the repository at this point in the history
  2. Up to 0.2.2

    acmcarther committed Apr 5, 2019
    Configuration menu
    Copy the full SHA
    03b0005 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2019

  1. sanitize binary's lib dep (#91)

    mfarrugi authored and acmcarther committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    9a74754 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2019

  1. [settings] Add output_buildfile_suffix option (#93)

    This option allows the user to set any suffix to the build files
    Default is BUILD
    Other values can be for example: BUILD.bazel
    Any value is accepted.
    
    This is to allow raze to follow the default behaviour of other bazel
    related tools that generate BUILD.bazel instead of BUILD firstly to
    separate what is generated and what is written and to avoid name
    collisions on case insensitive file systems (Windows + WSL) since some
    crates can have a directory named build which leads to cargo-raze
    unable to create a file called BUILD. A project having a directory
    named BUILD.bazel is much less likely or less to none chance.
    mstg authored and acmcarther committed Apr 16, 2019
    Configuration menu
    Copy the full SHA
    4181d32 View commit details
    Browse the repository at this point in the history
  2. Up to 0.2.3

    acmcarther committed Apr 16, 2019
    Configuration menu
    Copy the full SHA
    0790cfd View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2019

  1. Configuration menu
    Copy the full SHA
    35d9aa7 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2019

  1. Configuration menu
    Copy the full SHA
    2e9e112 View commit details
    Browse the repository at this point in the history
  2. Bump to 0.2.4

    acmcarther committed Apr 27, 2019
    Configuration menu
    Copy the full SHA
    4a045b3 View commit details
    Browse the repository at this point in the history
  3. [BUILD] Fix inconsistent casing in targets and dep targets (#94)

    Inconsistent casing where dep targets were slugified and target names
    were not caused errors when crate names were not all lowercase.
    This fixes the issue by removing the unnecessary slugifying from the
    target name (but keeps it in versioning)
    An example for this issue is with security-framework-sys which depends
    on the MacTypes-sys crate.
    To test this, I've added security-framework-sys as a dependency to both
    remote and vendored complicated_cargo_library
    mstg authored and acmcarther committed Apr 27, 2019
    Configuration menu
    Copy the full SHA
    7498805 View commit details
    Browse the repository at this point in the history
  4. Up to 0.2.5

    acmcarther committed Apr 27, 2019
    Configuration menu
    Copy the full SHA
    867caf5 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2019

  1. Update examples directory

    acmcarther committed May 20, 2019
    Configuration menu
    Copy the full SHA
    bdc7076 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2019

  1. Configuration menu
    Copy the full SHA
    9c9e480 View commit details
    Browse the repository at this point in the history
  2. Up to 0.2.6

    acmcarther committed May 22, 2019
    Configuration menu
    Copy the full SHA
    251a99e View commit details
    Browse the repository at this point in the history

Commits on May 23, 2019

  1. Configuration menu
    Copy the full SHA
    40c5354 View commit details
    Browse the repository at this point in the history
  2. Up to version 0.2.7

    acmcarther committed May 23, 2019
    Configuration menu
    Copy the full SHA
    4e5bc46 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2019

  1. Ensure build script genrule uses nested output dir (#103)

    This should address #100
    vitalyd authored and acmcarther committed May 24, 2019
    Configuration menu
    Copy the full SHA
    a871166 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8138a75 View commit details
    Browse the repository at this point in the history
  3. Up to 0.2.8

    acmcarther committed May 24, 2019
    Configuration menu
    Copy the full SHA
    483bc11 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2019

  1. Fix broken link in README.md (#106)

    It looks like the code was refactored into the `impl` directory at some point, but the README link was never updated.
    ian-h-chamberlain authored and acmcarther committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    e815f0c View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2019

  1. Configuration menu
    Copy the full SHA
    d03d042 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2019

  1. Configuration menu
    Copy the full SHA
    527d171 View commit details
    Browse the repository at this point in the history
  2. Up to 0.2.9

    acmcarther committed Aug 28, 2019
    Configuration menu
    Copy the full SHA
    e2f6f34 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2019

  1. Configuration menu
    Copy the full SHA
    105c647 View commit details
    Browse the repository at this point in the history
  2. Up to 0.2.10

    acmcarther committed Sep 23, 2019
    Configuration menu
    Copy the full SHA
    3b9cb84 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2019

  1. Fix docopt's usage (#118)

    Otherwise it ignores cmd line options
    ok32 authored and acmcarther committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    7b08aee View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2019

  1. Configuration menu
    Copy the full SHA
    375f98d View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2020

  1. Up to 0.2.11

    acmcarther committed Jan 6, 2020
    Configuration menu
    Copy the full SHA
    08e41f4 View commit details
    Browse the repository at this point in the history
  2. Update raze (#122)

    * [CI] Get CI functioning properly
    
    * [Planning] Allow proc-macros to export (#119)
    
    * Update to rust2018
    
    * Update to latest cargo
    
    * Update tera to 1.0.0
    
    * Do clippy fixups
    
    * Run rustfmt on code
    GregBowyer authored and acmcarther committed Jan 6, 2020
    Configuration menu
    Copy the full SHA
    a1e0358 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2020

  1. Configuration menu
    Copy the full SHA
    d0ebc43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    258b580 View commit details
    Browse the repository at this point in the history
  3. Up to 0.2.12

    acmcarther committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    818ca54 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2020

  1. Update cargo version to 0.42 and add cargo_platform 0.1.0 (#133)

    * Update cargo dependency (and add cargo_platform)
    
    * Remove debug stuff
    acmcarther committed Feb 16, 2020
    Configuration menu
    Copy the full SHA
    c8ba113 View commit details
    Browse the repository at this point in the history
  2. Use cargo-metadata by default (instead of cargo internals) (#134)

    * Use CargoSubcommandMetadataFetcher by default
    
    * Parameterize CargoSubcommandMetadataFetcher on cargo bin
    
    * Update cargo dependency (and add cargo_platform)
    
    * Fix SourceId parsing (from cargo metadata exec)
    
    * Support forcing cargo-internals mode, support specifying cargo bin path
    
    * fix docopts and reenable format-version
    
    * Fix docopts
    
    * Remove debug stuff
    
    * Minor fix to Options string
    acmcarther committed Feb 16, 2020
    Configuration menu
    Copy the full SHA
    816ea69 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2020

  1. Fix incorrect package source id String in CargoInternalsMetadataFetch…

    …er (#140)
    
    This addresses the panic described in google/cargo-raze#139 (comment).
    vitalyd committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    5477360 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2020

  1. Clean-up no-op conditional (#145)

    * Clean-up no-op conditional
    
    * Simplify taking build script target further
    Sean Klein committed Apr 23, 2020
    Configuration menu
    Copy the full SHA
    9820249 View commit details
    Browse the repository at this point in the history
  2. Apply clippy lints and cargo format (#146)

    Sean Klein committed Apr 23, 2020
    Configuration menu
    Copy the full SHA
    7daf5ba View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2020

  1. [smoke-test] Update rules_rust version (#151)

    This is required for bazel 3.1.0; otherwise
    bazelbuild/bazel#7793
    causes build failures.
    smklein committed Apr 30, 2020
    Configuration menu
    Copy the full SHA
    8337c7b View commit details
    Browse the repository at this point in the history

Commits on May 11, 2020

  1. Configuration menu
    Copy the full SHA
    fb17d3f View commit details
    Browse the repository at this point in the history
  2. Allow customizing generated BUILD files (#152)

    * Allow customizing BUILD files through additional_build_file
    
    This option allows the user to append custom content to the generated
    BUILD files. For example, one can use it to include custom Bazel targets
    for building non-Rust parts of the crate.
    
    Fixes #58.
    
    * Trim extra whitespace in crates.bzl from the patch template
    kornholi committed May 11, 2020
    Configuration menu
    Copy the full SHA
    b23d9eb View commit details
    Browse the repository at this point in the history

Commits on May 12, 2020

  1. Update version of bazel used by Travis CI (0.17.1 -> 3.1.0) (#155)

    Travis is failing with the following error:
    
    ERROR:
    /home/travis/.cache/bazel/_bazel_travis/9838a0d5b93391760180ad93f9f7ea99/external/io_bazel_rules_rust/rust/repositories.bzl:3:1:
    file '@bazel_tools//tools/build_defs/repo:utils.bzl' does not contain
    symbol 'maybe'
    
    Source:
    https://travis-ci.org/github/google/cargo-raze/builds/686275069
    
    The maybe symbol was added to "//tools/build_defs/repo"
    in June, 2019. However, the version of Bazel used within Travis
    is fairly old (0.17.1); this change moves it to the most recent
    revision of Bazel.
    smklein committed May 12, 2020
    Configuration menu
    Copy the full SHA
    73b87ab View commit details
    Browse the repository at this point in the history

Commits on May 13, 2020

  1. Configuration menu
    Copy the full SHA
    9005fae View commit details
    Browse the repository at this point in the history
  2. Rely on cargo_metadata crate (#150)

    * Remove CargoInternalsMetadataFetcher
    
    * Use cargo_metadata explicitly
    
    * [planning] Reduce usage of unwrap
    
    * [planning] Resolve clippy lints
    
    * [planning] Sanitize version, add regression test
    smklein committed May 13, 2020
    Configuration menu
    Copy the full SHA
    8c26d23 View commit details
    Browse the repository at this point in the history
  3. Update to 0.3.0

    acmcarther committed May 13, 2020
    Configuration menu
    Copy the full SHA
    548fa54 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2020

  1. Remove remaining dependencies on Cargo (#156)

    This replaces `CargoResult` with anyhow's `Result`, and uses `SourceId`
    from cargo_lock instead.
    
    As far as I can tell, we lose 101 dependencies total :)
    kornholi committed May 14, 2020
    Configuration menu
    Copy the full SHA
    a4cf174 View commit details
    Browse the repository at this point in the history
  2. Update to 0.3.1

    acmcarther committed May 14, 2020
    Configuration menu
    Copy the full SHA
    cf70e45 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2020

  1. upgrade to latest versions of rules_rust, skylib (#157)

    Signed-off-by: Gregg Reynolds <601396+mobileink@users.noreply.github.com>
    mobileink committed May 26, 2020
    Configuration menu
    Copy the full SHA
    b20c29f View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2020

  1. Configuration menu
    Copy the full SHA
    777a0be View commit details
    Browse the repository at this point in the history
  2. Update to 0.3.2

    acmcarther committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    e237370 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2020

  1. Resolve formatting changes in rust_binary and rust_library templates (#…

    …163)
    
    It looks like a `-` was missing in #161, which added additional_env
    support.  This causes a blank line with extra whitespace to show up
    relative to 0.3.1, or older.
    
    This adds that back in, which matches the rest of the template file and
    resolves the whitespace issue.
    dfreese committed Jun 5, 2020
    Configuration menu
    Copy the full SHA
    6d07e1e View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2020

  1. Fix: Alias renamed dependencies in generated build rules. (#162)

    * Create untested fix for aliased dependencies
    
    * Fix a few bugs
    
    * Fix length in templates
    
    * Final template fix
    
    * Fix templates and replace hyphens with underscores in renamed package
    
    * Use maps to avoid unwraps
    
    * Make changes based on comments from dfreese
    
    * Pull alias strings out to a new struct.
    
    * Change rust_binary template to match rust_library changes.
    
    * Remove sanitize_name and use sanitize_ident
    
    * Add unit test for aliased dependencies
    
    * Run cargo fmt
    Arm1stice committed Jun 8, 2020
    Configuration menu
    Copy the full SHA
    2e92246 View commit details
    Browse the repository at this point in the history
  2. Update to 0.3.3

    acmcarther committed Jun 8, 2020
    Configuration menu
    Copy the full SHA
    bc739e7 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2020

  1. Use new cargo_build_script_run rule

    Instead of a custom genrule.
    
    See #320
    illicitonion committed Jun 10, 2020
    Configuration menu
    Copy the full SHA
    2451fbe View commit details
    Browse the repository at this point in the history
  2. Glob more sources

    illicitonion committed Jun 10, 2020
    Configuration menu
    Copy the full SHA
    b588af0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e2cc36f View commit details
    Browse the repository at this point in the history
  4. Use crate_name_sanitized

    illicitonion committed Jun 10, 2020
    Configuration menu
    Copy the full SHA
    ff20b0b View commit details
    Browse the repository at this point in the history
  5. Merge pull request #166 from illicitonion/build-script

    Use new cargo_build_script_run rule
    damienmg committed Jun 10, 2020
    Configuration menu
    Copy the full SHA
    f6ad8dd View commit details
    Browse the repository at this point in the history
  6. Fix some spelling and grammar errors in README (#169)

    This was brought up in #68.
    David Freese committed Jun 10, 2020
    Configuration menu
    Copy the full SHA
    de9b1a9 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2020

  1. Bump example workspace to latest master (#168)

    This will be needed for #166
    illicitonion committed Jun 12, 2020
    Configuration menu
    Copy the full SHA
    7273ab4 View commit details
    Browse the repository at this point in the history
  2. Add workspace-wide default for gen_buildrs (#167)

    I want to optimistically default to generating build scripts by default.
    illicitonion committed Jun 12, 2020
    Configuration menu
    Copy the full SHA
    d0ed12d View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2020

  1. proc_macro_deps is its own attribute (#164)

    This allows an unconditional transition to the `exec` config, rather
    than needing a conditional transition (which cannot transition to the
    `exec` config, only to the `host` config).
    
    Requires rules_rust commit c409198 or later.
    illicitonion committed Jun 15, 2020
    Configuration menu
    Copy the full SHA
    cd57340 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2020

  1. Configuration menu
    Copy the full SHA
    6e07deb View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2020

  1. Update to 0.3.4

    acmcarther committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    69784a0 View commit details
    Browse the repository at this point in the history
  2. Fix: Make crate license identification more robust (#174)

    * Support more robust SPDX licenses
    
    * Update template and change nomenclature
    
    * Fix some bugs and add more tests
    
    * Fix expression assignments
    
    * Return LicenseData and fix nomenclature
    
    * Implement default for license
    wcalandro committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    ad14d2b View commit details
    Browse the repository at this point in the history
  3. Update to 0.3.5

    acmcarther committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    24c311b View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2020

  1. Add build script dependencies on sys crates build scripts. (#170)

    System crates build scripts may produce environment variables
    that may be used by their direct dependencies build script.
    
    For example openssl-sys generates DEP_OPENSSL_VERSION variable
    that is then used by openssl crate build scripts.
    
    Co-authored-by: Alexei Filippov <alph@apple.com>
    a1ph and Alexei Filippov committed Jun 29, 2020
    Configuration menu
    Copy the full SHA
    a2115bb View commit details
    Browse the repository at this point in the history
  2. Add --output param specifying output folder for generated files. (#175)

    Also fix:
    * remote folder created on dry run
    * remote/BUILD folder does not use prefix path parameter
    boxdot committed Jun 29, 2020
    Configuration menu
    Copy the full SHA
    d966255 View commit details
    Browse the repository at this point in the history
  3. Tag all cargo-raze rules with "cargo-raze" tag. (#176)

    The tags can be used to exclude cargo-raze generated rules from, e.g.
    "//...:all" targets. It is useful to prevent Bazel from building
    unsupported targets in multiplatform configurations.
    
    Co-authored-by: Alexei Filippov <alph@apple.com>
    a1ph and Alexei Filippov committed Jun 29, 2020
    Configuration menu
    Copy the full SHA
    de2b4f1 View commit details
    Browse the repository at this point in the history
  4. Update to 0.3.6

    acmcarther committed Jun 29, 2020
    Configuration menu
    Copy the full SHA
    99f9e37 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2020

  1. Support additional enviroment variable for build script (#180)

    Since the switch to the cargo_build_script rule, the
    buildrs_additional_environment_variables was no longer working, this
    change add this support back.
    
    Fixes #179
    damienmg committed Jul 1, 2020
    Configuration menu
    Copy the full SHA
    8ee049e View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2020

  1. Update to 0.3.7

    acmcarther committed Jul 5, 2020
    Configuration menu
    Copy the full SHA
    439f393 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2020

  1. Handle proc macros in build dependencies (#182)

    Proc macro crates were split off into their own field in #164 and then
    PR #166 changed handling of build scripts to invoke cargo_build_script,
    however, build dependencies can also have proc macros.  This was an
    issue for markup5ever, which has a build dependency that transitively
    depends on serde_derive.
    
    Fixes #181
    David Freese committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    5bd36b5 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2020

  1. Update to 0.3.8

    David Freese committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    f77ba88 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2020

  1. Configuration menu
    Copy the full SHA
    1185436 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2020

  1. Emit crate_root with forward slashes on Windows (#200)

    Adds an additional error for non-unicode paths, which was previously a TODO in terms of handling.  #178 provided a similar solution.
    rickwebiii committed Aug 21, 2020
    Configuration menu
    Copy the full SHA
    8b4c6b9 View commit details
    Browse the repository at this point in the history
  2. Update to 0.3.9

    David Freese committed Aug 21, 2020
    Configuration menu
    Copy the full SHA
    3cdb6e4 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2020

  1. workspace_path can now act as a Bazel label within a Bazel workspace (#…

    …185)
    
    This change makes it so that the `Cargo.toml` file can live within the [recommended location](https://doc.rust-lang.org/cargo/guide/project-layout.html) and `cargo-raze` will output content into a [Bazel workspace](https://docs.bazel.build/versions/master/build-ref.html#workspace) in a way that better matches the expectations set by [Bazel's naming conventions](https://docs.bazel.build/versions/master/build-ref.html)
    ```
    ├── BUILD
    ├── Cargo.lock
    │
    ├── Cargo.toml  <- HERE
    │
    ├── README.md
    ├── cargo
    │   │
    │   ├-   <- INSTEAD OF HERE
    │   │
    │   └── libloading_global_static.BUILD
    └── src
        └── main.rs
    ```
    
    This makes it easier to transition Rust projects to start using Bazel since users no longer have to move their `Cargo.toml` files and the use of `workspace_path` (which looks like a [Label](https://docs.bazel.build/versions/master/build-ref.html#labels)) makes more sense. Getting started with Bazel/cargo-raze should now only require users to add the `[raze]` section to their existing `Cargo.toml` file and run `cargo raze` (assuming they're using the remote genmode, but otherwise could vendor the packages and do the same thing). 
    
    The smoke-tests show the up to date examples but I wasn't sure if I should update the [actual examples](https://github.com/google/cargo-raze/tree/master/examples) with the generated results of the smoke-tests.
    UebelAndre committed Aug 24, 2020
    Configuration menu
    Copy the full SHA
    eac33e6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    53fdc23 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2020

  1. Configuration menu
    Copy the full SHA
    e7253fe View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2020

  1. Configuration menu
    Copy the full SHA
    7b63f24 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2020

  1. Updated remote crates.bzl template to use 'maybe' and fixed Buildifie…

    …r defects. (#207)
    
    This is a followup on comments made in #199 
    
    The `crates.bzl` file generated in the event that no crates are defined looks like the following
    ```python
    """
    @generated
    cargo-raze crate workspace functions
    
    DO NOT EDIT! Replaced on runs of cargo-raze
    """
    
    load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository")  # buildifier: disable=load
    load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")  # buildifier: disable=load
    load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")  # buildifier: disable=load
    
    def raze_fetch_remote_crates():
        """No crates were detected in the source Cargo.toml. This is a no-op"""
        pass
    ```
    UebelAndre committed Aug 28, 2020
    Configuration menu
    Copy the full SHA
    a3c5c3f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d76a21d View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2020

  1. Cleanups (#209)

    * Add manual tag to all generated targets
    
    * Explicitly separate remote and vendored examples
    
    * Fixed buildifier warning
    
    * Updated examples
    UebelAndre committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    f4fa736 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2020

  1. Configuration menu
    Copy the full SHA
    f4d9072 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    135354f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c446fbb View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2020

  1. Configuration menu
    Copy the full SHA
    2450b9a View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2020

  1. Multi target support (#212)

    Similar to #54 this pull request adds support for generating Bazel targets for multiple platforms. This is still kinda **WIP** but I wanted to share. I'll update this description as the feature evolves but for now am looking for any insight on what may be missing for the initial release of this feature.
    
    Output `BUILD` file:
    ```python
    """
    @generated
    cargo-raze crate build file.
    
    DO NOT EDIT! Replaced on runs of cargo-raze
    """
    
    # buildifier: disable=load
    load(
        "@io_bazel_rules_rust//rust:rust.bzl",
        "rust_binary",
        "rust_library",
        "rust_test",
    )
    
    # buildifier: disable=load
    load("@bazel_skylib//lib:selects.bzl", "selects")
    
    package(default_visibility = [
        # Public for visibility by "@raze__crate__version//" targets.
        #
        # Prefer access through "//cbindgen/raze", which limits external
        # visibility to explicit Cargo.toml dependencies.
        "//visibility:public",
    ])
    
    licenses([
        "notice",  # MIT from expression "MIT"
    ])
    
    # Generated targets
    # Unsupported target "atty" with type "example" omitted
    
    # buildifier: leave-alone
    rust_library(
        name = "atty",
        crate_type = "lib",
        deps = [
        ] + selects.with_or({
            # cfg(unix)
            (
                "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
                "@io_bazel_rules_rust//rust/platform:aarch64-linux-android",
                "@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
                "@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi",
                "@io_bazel_rules_rust//rust/platform:i686-apple-darwin",
                "@io_bazel_rules_rust//rust/platform:i686-linux-android",
                "@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd",
                "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu",
                "@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu",
                "@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu",
                "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
                "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
                "@io_bazel_rules_rust//rust/platform:x86_64-linux-android",
                "@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd",
                "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
            ): [
                "@rules_rust_cbindgen__libc__0_2_76//:libc",
            ],
            "//conditions:default": [],
        }) + selects.with_or({
            # cfg(windows)
            (
                "@io_bazel_rules_rust//rust/platform:i686-pc-windows-gnu",
                "@io_bazel_rules_rust//rust/platform:x86_64-pc-windows-gnu",
            ): [
                "@rules_rust_cbindgen__winapi__0_3_9//:winapi",
            ],
            "//conditions:default": [],
        }),
        srcs = glob(["**/*.rs"]),
        crate_root = "src/lib.rs",
        edition = "2015",
        rustc_flags = [
            "--cap-lints=allow",
        ],
        version = "0.2.14",
        tags = [
            "cargo-raze",
            "manual",
        ],
        crate_features = [
        ],
    )
    
    ```
    Note that the `deps` section can be filtered down to a whitelist of platform triples using the new `targets` setting.
    ```toml
    targets = [
        "aarch64-unknown-linux-gnu",
        "i686-apple-darwin",
        "i686-pc-windows-gnu",
        "i686-unknown-linux-gnu",
        "powerpc-unknown-linux-gnu",
        "x86_64-apple-darwin",
        "x86_64-pc-windows-gnu",
        "x86_64-unknown-linux-gnu",
    ]
    ```
    
    The list above creates the following diff in the output BUILD file.
    ```diff
    diff --git a/cbindgen/raze/remote/atty-0.2.14.BUILD.bazel b/cbindgen/raze/remote/atty-0.2.14.BUILD.bazel
    index dfcf387..6002194 100644
    --- a/cbindgen/raze/remote/atty-0.2.14.BUILD.bazel
    +++ b/cbindgen/raze/remote/atty-0.2.14.BUILD.bazel
    @@ -48,21 +48,12 @@ rust_library(
         }) + selects.with_or({
             # cfg(unix)
             (
    +            "@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
                 "@io_bazel_rules_rust//rust/platform:i686-apple-darwin",
                 "@io_bazel_rules_rust//rust/platform:i686-unknown-linux-gnu",
    +            "@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu",
                 "@io_bazel_rules_rust//rust/platform:x86_64-apple-darwin",
                 "@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
    -            "@io_bazel_rules_rust//rust/platform:aarch64-apple-ios",
    -            "@io_bazel_rules_rust//rust/platform:aarch64-linux-android",
    -            "@io_bazel_rules_rust//rust/platform:aarch64-unknown-linux-gnu",
    -            "@io_bazel_rules_rust//rust/platform:powerpc-unknown-linux-gnu",
    -            "@io_bazel_rules_rust//rust/platform:arm-unknown-linux-gnueabi",
    -            "@io_bazel_rules_rust//rust/platform:s390x-unknown-linux-gnu",
    -            "@io_bazel_rules_rust//rust/platform:i686-linux-android",
    -            "@io_bazel_rules_rust//rust/platform:i686-unknown-freebsd",
    -            "@io_bazel_rules_rust//rust/platform:x86_64-apple-ios",
    -            "@io_bazel_rules_rust//rust/platform:x86_64-linux-android",
    -            "@io_bazel_rules_rust//rust/platform:x86_64-unknown-freebsd",
             ): [
                 "@rules_rust_cbindgen__libc__0_2_76//:libc",
             ],
    ```
    UebelAndre committed Sep 16, 2020
    Configuration menu
    Copy the full SHA
    fa1672c View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2020

  1. Add publish-new-version.sh for pushing versions of the crate (#217)

    * Add push-new-version.sh for pushing versions of the crate
    
    * Rename the file to 'publish-new-version' to reflect the commit message.
    
    * Fix whitespace
    
    * Accept crate version as regular argument. Add documentation
    
    * More wordsmithing tweaks
    
    * Address comments and google-sh lints
    
    * Use --release during cargo build
    
    * Add explanation for the cargo build
    acmcarther committed Sep 17, 2020
    Configuration menu
    Copy the full SHA
    69f45d0 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2020

  1. Added additional smoketests and improved testing speed (#224)

    This change improves the speed of tests by combining all build steps into 1 command and avoids having to startup Bazel for each set of tests.
    
    There is also now a test for a project that has no dependencies. This tests that raze doesn't generate broken files in this case
    
    Finally, this change adds a launch_test macro which is used to create tests for each example binary and launch it as part of a test. This macro was created to try and keep the examples as straight forward as possible (not having to dump some test code in there). This should make it easier to catch regressions.
    UebelAndre committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    b4b8cfa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    67b7fb5 View commit details
    Browse the repository at this point in the history
  3. Pruned vendored examples (#225)

    * Updated .lock files for existing examples
    
    * Updated vendored example README's
    
    * Fixed compiler warnings
    
    * Updated examples and removed all vendored source code except generated BUILD files
    UebelAndre committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    e1c4d85 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2020

  1. Change &String function parameters to &str

    The use of `&String` in function parameters is discouraged in favor of
    `&str` as it otherwise forces passing heap-allocated values (which
    doesn't include e.g. string literals).
    sitaktif committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    bad2c31 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #228 from sitaktif/str-ref

    Change &String function parameters to &str
    smklein committed Sep 24, 2020
    Configuration menu
    Copy the full SHA
    b637e82 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2020

  1. Configuration menu
    Copy the full SHA
    39786eb View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2020

  1. Configuration menu
    Copy the full SHA
    5c8f45c View commit details
    Browse the repository at this point in the history
  2. Allow matching triples directly (#232)

    Before this change, the get_matching_bazel_triples would only allow matching cfg(...) targets. It seems that the intended behaviour was to allow passing triples (such as `x86_64-unknown-linux-gnu`) directly, as per the `format!("cfg(target = \"{}\")", target)` replacement at the beginning of the function. Unfortunately, the match was missing the right case below (`Predicate::Target(tp)` only matches builtin `target_{arch,os,...}`).
    
    This makes this function more consistent with `is_bazel_supported_platform` above, and it seems to solve a bug where target specific dependencies specified with triples (such as is the case for the `winapi` crate in one of the `complicated_cargo_library` example) would be ignored.
    sitaktif committed Sep 28, 2020
    Configuration menu
    Copy the full SHA
    80474cd View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2020

  1. Configuration menu
    Copy the full SHA
    3cf55ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    48b53d8 View commit details
    Browse the repository at this point in the history
  3. Update registry url (#238)

    * Updated default registry url
    
    * Updated examples
    UebelAndre committed Oct 8, 2020
    Configuration menu
    Copy the full SHA
    3454349 View commit details
    Browse the repository at this point in the history
  4. Update smoketest (#237)

    * Updated smoketest WORKSPACE file
    
    * Updated examples
    UebelAndre committed Oct 8, 2020
    Configuration menu
    Copy the full SHA
    24c9d3a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    80332d9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fd59642 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2020

  1. Record path to crate root for git deps (#246)

    This allows us to generate a strip_prefix directive in the
    new_git_repository call.
    illicitonion committed Oct 12, 2020
    Configuration menu
    Copy the full SHA
    253a853 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2020

  1. Configuration menu
    Copy the full SHA
    35c4fef View commit details
    Browse the repository at this point in the history
  2. platform-specific aliases were missing (#244)

    * platform-specific aliases were missing
    
    * avoid extra newline when aliases is omitted
    
    * update examples via smoke_test
    
    The length check in common_attrs is only checking if there are any
    targeted deps, so targeted deps without any aliases end up with an
    empty aliases entry instead of it being excluded completely. What we
    really want to do if check if deps.aliased_dependencies is non-empty
    for any of the provided targeted deps, but I'm not sure how/if that
    can be done in Tera.
    dae committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    7ac629e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2d190e1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8a093dc View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2020

  1. Configuration menu
    Copy the full SHA
    aa4ec3b View commit details
    Browse the repository at this point in the history
  2. Binary dependencies smoketest (#240)

    * Added binary_dependency example
    
    * Updated examples
    UebelAndre committed Oct 14, 2020
    Configuration menu
    Copy the full SHA
    05a45b9 View commit details
    Browse the repository at this point in the history
  3. docs: update instructions for lockfile generation (#219)

    `cargo vendor` currently outputs helptext regarding updating
    `.cargo/config.toml` in order to replace crates.io sources with the
    vendored sources, e.g.:
    
    ```
    ➜ cargo vendor --versioned-dirs
    To use vendored sources, add this to your .cargo/config for this
    project:
    
    [source.crates-io]
    replace-with = "vendored-sources"
    
    [source.vendored-sources]
    directory = "path/to/vendor"
    ```
    
    If a user adds this to their `.cargo/config.toml` configuration prior to
    the first run of `cargo vendor`, then `cargo generate-lockfile` and
    `cargo vendor --locked` will fail to update the lockfile.
    
    This patch removes the instructions related to generating the lockfile
    with `cargo generate-lockfile` (and the subsequent `--locked` flag to
    `cargo vendor`) , instead preferring to let `cargo vendor` manage the
    lockfile. The updated series of commands works in all cases, including
    first runs which already have a `.cargo/config.toml` file replacing
    `crates-io` sources. It's also now one command and one flag shorter,
    which some people might like too, I guess.
    sudoforge committed Oct 14, 2020
    Configuration menu
    Copy the full SHA
    02f4553 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2020

  1. Flipped default of incompatible_relative_workspace_path to true (#204)

    * Flipped default of `incompatible_relative_workspace_path` to true
    
    * Removed `incompatible_relative_workspace_path` flag from examples
    
    * Removed regression-test examples
    
    * Updated examples
    UebelAndre committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    453e3e1 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2020

  1. Configuration menu
    Copy the full SHA
    e1d3bfb View commit details
    Browse the repository at this point in the history
  2. Moved RazeError into an error module (#251)

    * Moved `RazeError` into an `error` module
    
    * Addressed PR Feedback
    UebelAndre committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    852a983 View commit details
    Browse the repository at this point in the history
  3. support MSVC targets (#245)

    * switch to MSVC targets on Windows
    
    gnu has been removed in favour of MSVC in rules_rust, so cargo-raze
    will need to be updated to match:
    dfce123
    
    * Updated examples
    
    * add missing checksum update
    
    from Uebel:
    google/cargo-raze#254
    
    * WORKSPACE needed to reflect date update of smoke-test.sh
    
    Co-authored-by: Andre Brisco <andre.brisco@gmail.com>
    dae and UebelAndre committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    1c697be View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    97ac111 View commit details
    Browse the repository at this point in the history
  5. Updated README (#256)

    UebelAndre committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    aebff2c View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2020

  1. Configuration menu
    Copy the full SHA
    61c19bb View commit details
    Browse the repository at this point in the history
  2. Moved components of the planning module into a directory (#258)

    * Turned the `rendering` module into a directory that contains all relevant components
    
    * Turned the `planning` module into a directory that contains all relevant components
    UebelAndre committed Oct 17, 2020
    Configuration menu
    Copy the full SHA
    59931ed View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2020

  1. Split the planning module into multiple submodules (#257)

    * Moved `checks` out of `planning.rs`
    
    * Split `planning.rs` code into different files within the `planning` module
    UebelAndre committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    7cd1f6f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    13e1be7 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2020

  1. Added warning for missing 'genmode' setting (#252)

    * Added a warning for when `genmode` is not explicitly set
    
    * Improved warning messages
    
    * Updatred smoketest
    
    * Updated examples
    
    * Addressed PR Feedback
    
    * Used Result over unreachable
    UebelAndre committed Oct 20, 2020
    Configuration menu
    Copy the full SHA
    a2e4037 View commit details
    Browse the repository at this point in the history
  2. Some small cleanup (#264)

    UebelAndre committed Oct 20, 2020
    Configuration menu
    Copy the full SHA
    27853e1 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2020

  1. Made generated files more Buildifier compliant (#260)

    * Updated build file format to be compliant with Bulidifier
    
    * Addressed buildifier defects
    
    * Fixed "the bug"
    
    * Addressed PR Feedback
    
    * Updated examples
    
    * Added note for future readers about ordering
    
    * Fixed one more templating issue
    
    * Updated examples
    
    * Leave dependencies alone for now
    
    * Updated examples
    UebelAndre committed Oct 21, 2020
    Configuration menu
    Copy the full SHA
    2e7f0d8 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2020

  1. Configuration menu
    Copy the full SHA
    afa031e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7455a06 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2020

  1. Configuration menu
    Copy the full SHA
    622b772 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2020

  1. Configuration menu
    Copy the full SHA
    dac8a76 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2020

  1. Cleanup: rustfmt and minor rename of tests modules (#275)

    This is work pulled out of #276
    
    Changes:
    * renamed settings::testing to settings::tests to be consistent with other modules
    * Ran cargo fmt
    UebelAndre committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    9248dc3 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2020

  1. [Lint] Change inline test texts to use indoc! (#272)

    This is a _small_ quality of life change. Make it possible to use
    `indoc!` to declare inline strings.
    GregBowyer committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    21157ed View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2020

  1. Moved template header into it's own file (#279)

    * Moved template header into it's own file
    
    * Updated examples
    UebelAndre committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    48fcf81 View commit details
    Browse the repository at this point in the history
  2. Updated the bazel version and rules_rust hash used for smoketest (#278)

    * Updated smoketest bazel version and rules_rust hash
    
    * Updated examples
    UebelAndre committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    4740ef2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aa2e8a1 View commit details
    Browse the repository at this point in the history
  4. Accept [package.metadata.raze], superseding [raze] (#274)

    * Accept `[package.metadata.raze]`, superseding `[raze]`
    
    Cargo sets aside the [`[package.metadata]`][md] namespace for use by
    third-party tools like `cargo-raze`. By specifying configuration under
    `[package.metadata.raze]` rather than `[raze]`, we avoid an “unused
    manifest key: raze” warning on every Cargo command.
    
    This patch teaches `cargo-raze` to accept either `[raze]` or the new
    `[package.metadata.raze]`. In case of conflict, it prints a warning and
    uses the value of `[package.metadata.raze]`. In the future, we can
    remove the `[raze]` key entirely if desired.
    
    Fixes #273.
    
    Changes outside of `impl/` generated by:
    
    ```
    git ls-files -z ':!impl' | xargs -0 sed -i 's/\[raze/[package.metadata.raze/'
    ```
    
    [md]: https://doc.rust-lang.org/cargo/reference/manifest.html#the-metadata-table
    
    Test Plan:
    With this patch, running `./smoke-test.sh` passes both before and after
    updating all the examples with the above `sed` command. Before the `sed`
    update, the smoke test prints the deprecation warning, as desired.
    
    wchargin-branch: toml-package-metadata-raze
    wchargin-source: 4932fedcc808b17506aadf4b69f6aa78850fe5c6
    
    * [update patch]
    
    wchargin-branch: toml-package-metadata-raze
    wchargin-source: f2b7fb6fb07bd1f478aa1e8c14f7d623f86f69b3
    wchargin committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    06eaef1 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2020

  1. Add support for wasm32-wasi target. (#280)

    Signed-off-by: Piotr Sikora <piotrsikora@google.com>
    PiotrSikora committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    cb9f85d View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2020

  1. Allow raze settings to be expressed with SemVer (#127)

    Raze settings come in the form of a [TOML] section like so
    
    ```toml
    [raze.crates.some-crate.'1.2.3']
    some_new_setting = True
    ```
    
    Where the version number (in the above example `1.2.3`) is a literal, hardcoded
    value.
    
    This works but is a little inflexible for dependencies, _especially_
    dependencies that are transiant and update a lot (for instance `syn`).
    
    Since Cargo follows [Semver] we can use this fact, along with the richness of
    the exported and serialisable `semver::Version` types to perform section
    matching with [Semver] in the same fashion as Cargo itself.
    
    This means that the above example can be written with semver expressions, for
    example it can be written as:
    
    ```toml
    [raze.crates.some-crate.'1.2.*']
    some_new_setting = True
    
    [raze.crates.some-crate.'~1.2.3']
    some_new_setting = True
    
    [raze.crates.some-crate.'^1.2.3']
    some_new_setting = True
    
    [raze.crates.some-crate.'=1.6.6']
    some_new_setting = True
    ```
    
    _Note_: Bare versions follow the semantics _as if they had_ specified a `^`,
    which is in keeping with [Cargo semver semantics] but is distinct from previous
    behaviour of raze (in which these would be interpreted as exacting or `=`).
    
    This is deliberate as we should aim to mirror the semantics of cargo as much as
    possible to avoid confusion.
    
    We presently do not allow for multiple matches in raze settings, this is
    intentional and is presented to the end user as an error.
    
    [TOML]: https://github.com/toml-lang/toml
    [Semver]: https://semver.org/spec/v2.0.0.html
    [Cargo semver semantics]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-cratesio
    GregBowyer committed Nov 7, 2020
    Configuration menu
    Copy the full SHA
    9e82b65 View commit details
    Browse the repository at this point in the history
  2. Up to 0.7.0 [via publish-new-version.sh]

    David Freese committed Nov 7, 2020
    Configuration menu
    Copy the full SHA
    1b7e178 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2020

  1. cli: implement --version (#283)

    This patch adds a `--version` flag that causes `cargo-raze` to print
    version info and exit. The functionality is built into Docopt, so it’s
    just a matter of hooking it up to the `CARGO_PKG_VERSION` env var.
    
    Test Plan:
    When invoking the binary to test, make sure to pass an extra `raze` arg
    so that docopt matches the `cargo raze` (not `cargo-raze`) pattern:
    
    ```
    cargo run -- raze --version  # or...
    cargo install --path . && cargo raze --version
    ```
    
    Either invocation prints “cargo-raze 0.7.0” and a newline before exiting
    successfully. This format is consistent with the `--version` behavior of
    `cargo` and `rustc` themselves.
    
    wchargin-branch: cli-version
    wchargin-source: 11b3fadae75935076922e83c3b27151f7c55471a
    wchargin committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    19d7853 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2020

  1. Fixed regression in rendered templates (#290)

    * Fixed regression in template rendering
    
    * Updated examples
    UebelAndre committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    b3cdc85 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2020

  1. Configuration menu
    Copy the full SHA
    7c34eaa View commit details
    Browse the repository at this point in the history
  2. Add support for aarch64-apple-darwin target. (#292)

    Signed-off-by: Piotr Sikora <piotrsikora@google.com>
    PiotrSikora committed Nov 11, 2020
    Configuration menu
    Copy the full SHA
    90f551d View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2020

  1. Configuration menu
    Copy the full SHA
    69b086a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3c74e8 View commit details
    Browse the repository at this point in the history
  3. Add links to CargoContext (#281)

    The links attribute is needed to infer the name of environment variables to pass to sys crate dependencies.
    sitaktif committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    4eed19e View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2020

  1. Workspace support (#276)

    * Added cargo workspaces support
    
    * Updated smoketest
    
    * Updated examples
    
    * Addressed PR feedback
    
    * Addressed PR feedback
    
    * Addressed PR feedback
    
    * Addressed PR feedback
    
    * Addressed PR feedback
    
    * Addressed PR feedback
    
    * Addressed PR feedback
    
    * Addressed PR feedback
    
    * Slight cleanup of new code
    
    * Addressed PR feedback
    
    * Addressed PR feedback
    
    * Addressed PR feedback
    
    * Fixed typos
    
    * Addressed PR feedback
    UebelAndre committed Nov 21, 2020
    Configuration menu
    Copy the full SHA
    fe8bca0 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2020

  1. Small renaming and cleanup (#296)

    * Small renaming and cleanup
    
    * Updated dependencies
    UebelAndre committed Nov 23, 2020
    Configuration menu
    Copy the full SHA
    4d1721e View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2020

  1. Workspace support examples (#277)

    * Added cargo_workspace smoketest
    
    * Updated examples
    UebelAndre committed Nov 25, 2020
    Configuration menu
    Copy the full SHA
    9c81414 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3359c69 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2020

  1. Tests no longer require internet (#300)

    * Fixed cases where tests would fail when using `cargo_metadata::MetadataCommand` when the host had no network connectivity
    
    * Added some comments
    
    * Fixed typo
    UebelAndre committed Dec 3, 2020
    Configuration menu
    Copy the full SHA
    f209e9f View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2020

  1. Fix binary dependency aliases (#312)

    * Fixed bug where binary dependencies were having aliases rendered
    
    * Updated examples
    UebelAndre committed Dec 5, 2020
    Configuration menu
    Copy the full SHA
    8068784 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2020

  1. Configuration menu
    Copy the full SHA
    d10b005 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2020

  1. Add data deps attrs to CrateDependencyContext (#311)

    * Add data deps attrs to CrateDependencyContext
    
    The attributes can only be set when using cargo-raze as a library right
    now, but when they are set, they will be reflected in the generated
    BUILD files.
    
    * Re-generate example BUILD files
    sitaktif committed Dec 10, 2020
    Configuration menu
    Copy the full SHA
    87a4928 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2020

  1. Adds --manifest-path command line option (#301)

    * Moved the `crate::planning::checks` module to `crate::checks`
    
    * Added support for a `--manifest-path` argument
    
    * Updated documentation
    
    * Addressed PR feedback
    
    * Fixed missing docs
    
    * Removed AdditionalBuildFile enum
    
    * Updated examples
    
    * Addressed PR feedback
    
    * Addressed PR feedback
    
    * Fixed 'additional_build_file' complexity
    
    * Updated docs
    
    * Addressed PR feedback
    
    * Updated examples
    UebelAndre committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    0ca611b View commit details
    Browse the repository at this point in the history
  2. Addressed user feedback for cargo workspace support (#306)

    * Renamed `workspace_member_dir` to `package_aliases_dir`
    
    * Updated documentation
    
    * Updated `package_aliases_dir` default to `"."` to avoid a change in behavior for existing users.
    
    * Updated examples
    UebelAndre committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    10ecc94 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eb59891 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    001dff3 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2020

  1. support compile_data (#308)

    dae committed Dec 12, 2020
    Configuration menu
    Copy the full SHA
    06c3c46 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2020

  1. Parse settings from Cargo metadata (#302)

    * Settings are now parsed from Cargo metadata, not parsing toml files
    
    * Updated documentation and rules_rust definitions
    
    * Addressed PR feedback
    
    * Addressed PR feedback
    
    * Updated documentation
    
    * Updated documentation
    UebelAndre committed Dec 15, 2020
    Configuration menu
    Copy the full SHA
    52f20dd View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2020

  1. Added deprecation warnings (#303)

    * Added deprecation warnings
    
    * Updated smoketests
    
    * Updated examples
    
    * Addressed PR feedback.
    
    * Addressed PR feedback.
    UebelAndre committed Dec 16, 2020
    Configuration menu
    Copy the full SHA
    3515a09 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2020

  1. Configuration menu
    Copy the full SHA
    4b1bf22 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4fed575 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2020

  1. Configuration menu
    Copy the full SHA
    eae84c3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0026a7b View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2020

  1. Configuration menu
    Copy the full SHA
    d6cdbc0 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2020

  1. Make crates.bzl public (#328)

    * Added stardoc support
    
    * Updated examples
    
    * Addressed PR feedback
    
    * Updated examples
    
    * Addressed PR feedback
    UebelAndre committed Dec 29, 2020
    Configuration menu
    Copy the full SHA
    0c49c1f View commit details
    Browse the repository at this point in the history
  2. Add experimental api crate_deps and all_crate_deps macro for gath…

    …ering package dependencies (#319)
    
    * The crates.bzl can be used to locate crates
    
    * Updated smoketest
    
    * Updated examples
    
    * It should not be an error that no dependencies are found.
    
    The use case here is users might want to stub out all the dependency sections of their crates such that subsequent runs of `cargo raze` will automatically add new dependencies.
    
    * Updated examples
    
    * New API has been flagged experimental
    
    * Updated examples
    
    * Updated more comments
    
    * Updated examples
    
    * Updated documentation
    
    * Addressed PR feedback.
    
    * Updated examples
    
    * Addressed PR feedback
    
    * Updated examples
    
    * Addressed PR feedback
    
    * Updated examples
    
    * Fixed typo
    
    * Updated
    
    * Added experimental_api flag
    
    * Updated smoketest
    
    * Updated examples
    
    * Fixed buildifier defects
    
    * Updated examples
    
    * Addressed PR feedback
    
    * Updated examples
    
    * Addressed PR feedback
    
    * Updated examples
    
    * Addressed PR feedback
    
    * Updated examples
    
    * updated smoketest
    
    * Updated examples
    
    * Cleanup
    
    * Updated examples
    
    * Updated macros `crates` -> `crate_deps` and `all_crates` -> `all_crate_deps`
    
    * Updated examples
    UebelAndre committed Dec 29, 2020
    Configuration menu
    Copy the full SHA
    9d01e89 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e763292 View commit details
    Browse the repository at this point in the history
  4. Cargo raze can now be run from anywhere within a cargo workspace (#330)

    * Cargo raze can now be run from anywhere within a cargo workspace
    
    * Addressed PR feedback
    UebelAndre committed Dec 29, 2020
    Configuration menu
    Copy the full SHA
    8c96a39 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6258c69 View commit details
    Browse the repository at this point in the history
  6. Fixed compile error (#334)

    UebelAndre committed Dec 29, 2020
    Configuration menu
    Copy the full SHA
    330fa0b View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2020

  1. Fixed a bug where export_files was being rendered into BUILD files it…

    … shouldn't have been (#337)
    
    * Fixed a bug where export_files was being rendered into BUILD files it shouldn't have been
    
    * Updated examples
    
    * Fixed ordering issue
    UebelAndre committed Dec 30, 2020
    Configuration menu
    Copy the full SHA
    00fc4bb View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2021

  1. Configuration menu
    Copy the full SHA
    a7625b6 View commit details
    Browse the repository at this point in the history
  2. Experimental API: Added a render_package_aliases setting (#332)

    * Added `render_package_aliases` flag to allow for disabling the rendering of alias targets
    
    * Updated smoketest
    
    * Updated examples
    UebelAndre committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    a242ae4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b965e9a View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2021

  1. Update comments on workspace_path (#338)

    Per [issue 335], I didn't find these docstrings very helpful. The
    important bit of this property appears to be "this is where outputs go".
    
    Try to make that clearer in the property docstring and the README.
    
    [issue 335]: google/cargo-raze#335
    cceckman committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    3b0a7cb View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2021

  1. Added settings for adding additional content to cargo_build_script

    …targets (#343)
    
    * Added settings for adding additional content to rendered `cargo_build_script` targets
    
    * Restored `CrateDependencyContext` fields
    UebelAndre committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    32e5c27 View commit details
    Browse the repository at this point in the history
  2. fix(subplanners): Match aliased dependencies by name and semver (#346)

    * fix(subplanners): Match aliased dependencies by name and semver
    
    * Simplify the aliased dependency test
    Arm1stice committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    0cb6178 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1daa913 View commit details
    Browse the repository at this point in the history
  4. Added --generate-lockfile for generating a new lockfile (#341)

    * Added check for missing checksums
    
    * Deleted `CargoWorkspaceFiles` and added support for `--generate-lockfile`
    
    * Addressed PR feedback
    UebelAndre committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    6e3a811 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    16bea0e View commit details
    Browse the repository at this point in the history
  6. Rust library and binary dependencies are all sorted before rendering (#…

    …342)
    
    * Rust library and binary dependencies are all sorted before rendering
    
    * Updated examples
    
    * Addressed PR feedback
    
    * Addressed PR feedback
    UebelAndre committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    97ec109 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0d76371 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2021

  1. Configuration menu
    Copy the full SHA
    f350c19 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c293230 View commit details
    Browse the repository at this point in the history
  3. Restructured project to be buildable with Bazel (#340)

    * Restructured project to be buildable with Bazel
    
    * Moved `dump_metadata` tool
    
    * Deleted smoke_test directory since examples are more authoritative now
    
    * Added bootstrapped cargo-raze outputs
    
    * Updated Bazel and rules_rust version
    
    * Addressed PR feedback
    UebelAndre committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    4779bd5 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2021

  1. Configuration menu
    Copy the full SHA
    8e3b6a8 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2021

  1. Add initial bazelci/presubmit.yml (#352)

    * Add initial bazelci/presubmit.yml
    
    * Remove superfluous whitespace
    acmcarther committed Jan 25, 2021
    Configuration menu
    Copy the full SHA
    356451e View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2021

  1. Add github actions for cargo-based builds (#359)

    * intial attempt
    
    * add clippy in as comment
    
    * fix rustfmt errors
    David Freese committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    4c84f95 View commit details
    Browse the repository at this point in the history
  2. Fixed dev dependency aliases (#358)

    * Fixed dev dependencty aliases
    
    * Added dev dependency example
    UebelAndre committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    f5f9bf2 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2021

  1. update publish new version to avoid unbound variables

    David Freese committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    7119e96 View commit details
    Browse the repository at this point in the history
  2. Up to 0.9.2 [via publish-new-version.sh]

    David Freese committed Feb 4, 2021
    Configuration menu
    Copy the full SHA
    eee9428 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2021

  1. Fix clippy lints and enable clippy in CI. (#363)

    Most of these are efficiency clean-ups, by replacing modifications with
    _else, so that error path is evaluated lazily.  Clippy is somewhat
    opinionated, so this does end up adjusting some conventions.  However,
    on the whole, blindly accepting it as a linter is probably a win for the
    project.
    David Freese committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    138656a View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2021

  1. Configuration menu
    Copy the full SHA
    6c54759 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2021

  1. rust_rules_workspace_name now defaults to rules_rust (#323)

    * `rust_rules_workspace_name` now defaults to `rules_rust`
    * Renamed `io_bazel_rules_rust` to `rules_rust` throughout the workspace
    * Updated branch name for rules_rust
    UebelAndre committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    bd6ad86 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2021

  1. Up to 0.10.0 [via publish-new-version.sh]

    David Freese committed Feb 20, 2021
    Configuration menu
    Copy the full SHA
    efc3a83 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3394691 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    302f6da View commit details
    Browse the repository at this point in the history
  4. Fixed missing "CARGO" environment variable uses (#371)

    A bug was fixed where the "CARGO" environment variable wasn't
    being when looking for a cargo binary. This has been corrected
    and is now in use.
    UebelAndre committed Feb 20, 2021
    Configuration menu
    Copy the full SHA
    f8162dd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9ecec16 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0cbe0ef View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fd33d67 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c965cee View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f5dd0ac View commit details
    Browse the repository at this point in the history