Anki/rslib/src/prelude.rs
2022-04-27 18:36:11 +02:00

23 lines
700 B
Rust

// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
pub use slog::{debug, Logger};
pub(crate) use crate::types::IntoNewtypeVec;
pub use crate::{
card::{Card, CardId},
collection::Collection,
config::BoolKey,
deckconfig::{DeckConfig, DeckConfigId},
decks::{Deck, DeckId, DeckKind, NativeDeckName},
error::{AnkiError, Result},
i18n::I18n,
media::Sha1Hash,
notes::{Note, NoteId},
notetype::{Notetype, NotetypeId},
ops::{Op, OpChanges, OpOutput},
revlog::RevlogId,
search::{SearchBuilder, TryIntoSearch},
timestamp::{TimestampMillis, TimestampSecs},
types::Usn,
};