Skip to content

benjaminhottell/rust-anki-queries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-anki-searching

Library to create Anki search queries.

Note that this crate does not actually execute the searches. It only creates search queries as strings. These strings could be entered directly into the application by the user, or paired with an AnkiConnect request. (See also my wrapper crate)

Usage

The following code:

and!(
    prop!(due == 0),
    is_learn(),
    not!(introduced(1)),
).to_string();

Generates the following query string:

prop:due=0 is:learn -introduced:1

Help wanted

This crate is not exhaustive and there are some search features missing. Pull requests are welcome to fill in the rest of the gaps.

  • Some searching features are missing
  • Quality of life improvements

About

Building Anki note/card queries (for use with Anki-Connect or similar)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages