anki/cargo
Damien Elmes 3c12cb1600 update to latest fluent libs, and integrate maximum digit handling
We now limit number of digits in our formatter, instead of relying
on an upstream patch.
2020-11-03 14:10:45 +10:00
..
remote update to latest fluent libs, and integrate maximum digit handling 2020-11-03 14:10:45 +10:00
BUILD.bazel update to latest fluent libs, and integrate maximum digit handling 2020-11-03 14:10:45 +10:00
Cargo.lock update to latest fluent libs, and integrate maximum digit handling 2020-11-03 14:10:45 +10:00
crates.bzl update to latest fluent libs, and integrate maximum digit handling 2020-11-03 14:10:45 +10:00
raze.toml Update to PyO3 0.12 2020-11-02 18:38:34 +10:00
README.md README updates 2020-11-03 09:03:00 +10:00
update.py update to latest fluent libs, and integrate maximum digit handling 2020-11-03 14:10:45 +10:00

This folder integrates Rust crates.io fetching into Bazel.

After updating dependencies in ../rslib/Cargo.toml, change to this folder and run python update.py to update the external Bazel repositories to point to the updated deps.

You will need to have cargo-raze 0.6.1 or later installed, which is not currently included in this Bazel project. You can install it by installing rustup, then running "cargo install cargo-raze".

A couple of crates need extra work to build with Bazel, and are listed in raze.toml. For example:

[raze.crates.ring.'0.16.15']
data_attr = "glob([\"src/**\"])"

After updating dependencies, if one of these crates has changed to a new version, the version in raze.toml will need to be updated, and update.py re-run.

The ../pylib/rsbridge folder has a dependency on pyo3, which is special-cases in update.py. If updating the pyo3 version, raze.toml and update.py need to be updated as well.