mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00

Due to the orphan rule, this meant removing our usages of impl ProtoStruct, or converting them to a trait when they were used commonly. rslib now directly references anki_proto and anki_i18n, instead of 'pub use'-ing them, and we can put the generated files back in OUT_DIR.
18 lines
566 B
Rust
18 lines
566 B
Rust
// Copyright: Ankitects Pty Ltd and contributors
|
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
mod apkg;
|
|
mod colpkg;
|
|
mod media;
|
|
mod meta;
|
|
|
|
pub(self) use anki_proto::import_export::media_entries::MediaEntry;
|
|
pub(self) use anki_proto::import_export::MediaEntries;
|
|
pub(crate) use apkg::NoteMeta;
|
|
pub(crate) use colpkg::export::export_colpkg_from_data;
|
|
pub use colpkg::import::import_colpkg;
|
|
pub use media::MediaIter;
|
|
pub use media::MediaIterEntry;
|
|
pub use media::MediaIterError;
|
|
pub(self) use meta::Meta;
|
|
pub(self) use meta::Version;
|