[package] name = "janki" version = "0.2.1" #v0.1 was CLI-only, v0.2 has the GUI edition = "2021" description = "Janky Anki" license = "MIT" readme = "README.md" keywords = ["cli", "learning", "anki", "serde"] categories = ["command-line-utilities", "gui"] repository = "https://github.com/Epacnoss/janki" documentation = "https://docs.rs/janki/" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] rand = "0.8.5" thiserror = "1.0.31" serde = {version = "1.0.139", features = ["derive"], optional = true} serde_json = {version = "1.0.82", optional = true } eframe = {version = "0.18.0", features = ["persistence"], optional = true} [features] default = ["serde"] serde = ["dep:serde"] serde_json = ["serde", "dep:serde_json"] file_storage = ["serde_json"] eframe_storage = ["serde_json", "dep:eframe"] [[example]] path = "src/cli/main.rs" name = "janki_cli" required-features = ["file_storage"] [[example]] path = "src/egui/main.rs" name = "janki_gui" required-features = ["eframe_storage"]