about summary refs log tree commit diff
path: root/third_party/rust-crates/default.nix (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-10-02 r/5010 chore(3p/rust-crates): chrono: 0.4.19 -> 0.4.22sterni1-3/+3
Change-Id: I94e5abd7ce824455ae9493a47eda04552807774d Reviewed-on: https://cl.tvl.fyi/c/depot/+/6829 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: sterni <sternenseemann@systemli.org>
2022-05-04 r/4002 chore(3p/rust-crates): regex: 1.4.3 -> 1.5.5sterni1-5/+5
No longer builds with edition 2015. Change-Id: I6f05567641eb712feddfe258fd014ae325bd9043 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5520 Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI
2022-01-31 r/3723 style: format entire depot with nixpkgs-fmtVincent Ambo1-11/+11
This CL can be used to compare the style of nixpkgs-fmt against other formatters (nixpkgs, alejandra). Change-Id: I87c6abff6bcb546b02ead15ad0405f81e01b6d9e Reviewed-on: https://cl.tvl.fyi/c/depot/+/4397 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: wpcarro <wpcarro@gmail.com> Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: kanepyork <rikingcoding@gmail.com> Reviewed-by: tazjin <tazjin@tvl.su> Reviewed-by: cynthia <cynthia@tvl.fyi> Reviewed-by: edef <edef@edef.eu> Reviewed-by: eta <tvl@eta.st> Reviewed-by: grfn <grfn@gws.fyi>
2021-12-26 r/3422 feat(third_party/rust-crates): add git2Profpatsch1-29/+172
Also make rust-crates into a rec argument for now, which is simpler. Change-Id: Ie443f72d9633614f0ffa0c43aac1785e8577b0ce Reviewed-on: https://cl.tvl.fyi/c/depot/+/3045 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de>
2021-12-26 r/3412 fix(3p/rust-crates): replace the giant 'with' with R.zseri1-29/+28
Change-Id: I4d8f63806b66977995474118459353c7a93e9712 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4557 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: zseri <zseri.devel@ytrizja.de>
2021-12-24 r/3346 feat(3p/rust-crates): DRY by inferring crateNamezseri1-36/+4
Change-Id: I5872d9189ef56d9a40f7183633056745b98dc2ea Reviewed-on: https://cl.tvl.fyi/c/depot/+/4556 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2021-05-17 r/2595 feat(tools): add rust-crates-advisoryProfpatsch1-0/+27
We have a bunch of crates in `third_party/rust-crates`; it would be great if we could check them for existing CVEs. This tool does that, it takes the rust security advisory database, parses the applicable CVEs, and cross-checks them against the actual crate versions we list in our package database. The dumb parser we wrote is tested against all entries in the database, so we will notice when upstream breaks their shit. Checking the semver stuff is easy enough with the semver crate. If an advisory matches, it prints the whole thing and fails the build. Change-Id: I9e912c43d37a685d9d7a4424defc467a171ea3c4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2818 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: sterni <sternenseemann@systemli.org>
2021-04-23 r/2536 docs(third_party/rust-crates): add top commentProfpatsch1-0/+3
Change-Id: I3938310cb5d50a2bc85b20bb415af78d1b42c844 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2816 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2021-04-10 r/2461 refactor(third_party): Consistent use of depot.third_party vs. pkgsVincent Ambo1-2/+2
In preparation for the solution of b/108, we need to consistently use `depot.third_party` for packages that are only packed in the TVL depot and `pkgs` for things that come from nixpkgs. This commit cleans up a huge chunk of these uses in //third_party Change-Id: Ic382c0cdea7330a84d5f0b7d109c824ddceb94e7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2912 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2021-04-04 r/2432 feat(third_party/rust-crates): default to 2018 rust editionProfpatsch1-15/+24
We override the default `buildRustCrate` with our default options. Kinda amazing how many crates still default to the 2015 edition; probably to be backwards compatible with older compilers? Change-Id: Ic571f527b1575a03b8b58e6b75bcf12c4b9b7d9c Reviewed-on: https://cl.tvl.fyi/c/depot/+/2842 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de>
2021-04-03 r/2422 refactor(3p/rust-crates): use imported buildRustCrate everywheresterni1-28/+28
A bit less noisy in the definitions and the nix parser can already detect it being misspelled. Change-Id: I979da11471187e36cde5c015aaf654f925757a8b Reviewed-on: https://cl.tvl.fyi/c/depot/+/2814 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
2021-04-03 r/2421 feat(3p/rust-crates): get dependencies from the depot fix pointsterni1-1/+3
I think it is good practice to always get dependencies from the depot fix point if they are exposed. The reasoning for this is that if we improve the support for overriding in depot, say by introducing a depot.extend functions or even full blown overlay support, this will already work as expected. Change-Id: Ibb8dffcf32e8f46817a2db2da26139fabdce55bc Reviewed-on: https://cl.tvl.fyi/c/depot/+/2770 Tested-by: BuildkiteCI Reviewed-by: Profpatsch <mail@profpatsch.de>
2021-04-03 r/2419 chore: move all 3p buildRustCrate derivations to //third_partysterni1-0/+272
Profpatsch and me are basically the only users of depot.users.Profpatsch.writers.rustSimple*. To pull in the odd dependency we usually use buildRustCrate which is rather convenient. However we've picked up the bad habit of inlining these in a let somewhere instead of managing them in a more central location although there has been an (unsuccesful) attempt at this in //users/Profpatsch/rust-crates.nix. This CL moves all buildRustCrate based derivations into third_party.rust-crates and deletes any duplicate derivations we have accumulated in the tree. Change-Id: I8f68b95ebd546708e9af07dca36d72dba9ca8c77 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2769 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: Profpatsch <mail@profpatsch.de>