# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "janki" version = "0.2.1" description = "Janky Anki" documentation = "https://docs.rs/janki/" readme = "README.md" keywords = [ "cli", "learning", "anki", "serde", ] categories = [ "command-line-utilities", "gui", ] license = "MIT" repository = "https://github.com/Epacnoss/janki" resolver = "2" [[example]] name = "janki_cli" path = "src/cli/main.rs" required-features = ["file_storage"] [[example]] name = "janki_gui" path = "src/egui/main.rs" required-features = ["eframe_storage"] [dependencies.eframe] version = "0.18.0" features = ["persistence"] optional = true [dependencies.rand] version = "0.8.5" [dependencies.serde] version = "1.0.139" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0.82" optional = true [dependencies.thiserror] version = "1.0.31" [features] default = ["serde"] eframe_storage = [ "serde_json", "dep:eframe", ] file_storage = ["serde_json"] serde = ["dep:serde"] serde_json = [ "serde", "dep:serde_json", ]