# 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 = "protobook" version = "0.1.0" authors = ["Руслан Глазков "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Book format optimized for small screens, an alternaive for the XML-based FB2" homepage = "https://github.com/r-glazkov/protobook" readme = "README.md" keywords = [ "book", "book-format", "protobuf", "protocol-buffers", "fb2", ] categories = ["parser-implementations"] license = "MIT" repository = "https://github.com/r-glazkov/protobook" [lib] name = "protobook" path = "src/lib.rs" [[example]] name = "deserialize_fb2" path = "examples/deserialize_fb2.rs" [[test]] name = "deserialize_fb2" path = "tests/deserialize_fb2.rs" [dependencies.fb2] version = "0.4" optional = true [dependencies.language-tags] version = "0.3" optional = true [dependencies.prost] version = "0.13" [dependencies.uuid] version = "1" features = ["v4"] optional = true [dev-dependencies.quick-xml] version = "0.36" features = ["serialize"] [dev-dependencies.uuid] version = "1" features = ["v4"] [build-dependencies.prost-build] version = "0.13" [features] fb2 = [ "dep:fb2", "dep:language-tags", "dep:uuid", ]