You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After some discussion, we've settled on a convention for structuring our bundled Rust code:
all Rust code is always located under an rs directory
if there are multiple related crates, there are subdirectories for each: i.e. cxx for cxx bindings, lib for the core implementation, wasm for wasm bindings
otherwise, the entire crate can go directly under rs without any subdirectories
brave_wallet and brave_news don't currently follow this convention; we should fix their paths. to improve consistency.
edit: Speedreader needs to be moved to use cxx, but in the meantime we can also rename its rust directory to rs instead.
The text was updated successfully, but these errors were encountered:
After some discussion, we've settled on a convention for structuring our bundled Rust code:
rs
directorycxx
for cxx bindings,lib
for the core implementation,wasm
for wasm bindingsrs
without any subdirectoriesbrave_wallet
andbrave_news
don't currently follow this convention; we should fix their paths. to improve consistency.edit: Speedreader needs to be moved to use
cxx
, but in the meantime we can also rename itsrust
directory tors
instead.The text was updated successfully, but these errors were encountered: