# 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 = "libremarkable" version = "0.6.2" authors = ["Can Selcik "] exclude = [ "reference-material/*", "legacy-c-impl/*", "private/*", ] description = "The only publicly available Framework for developing applications for the Remarkable Paper Tablet w/ Low Latency Partial Refresh Support" readme = "README.md" license = "MIT" repository = "https://github.com/canselcik/libremarkable" [profile.release] debug = true [[example]] name = "spy" crate-type = ["dylib"] path = "examples/spy.rs" [[example]] name = "swtfb_sysv_spy" crate-type = ["dylib"] path = "examples/swtfb_sysv_spy.rs" [[example]] name = "demo" crate-type = ["bin"] path = "examples/demo.rs" [[example]] name = "live" crate-type = ["bin"] path = "examples/live.rs" [dependencies.aabb-quadtree] version = "0.1.0" optional = true [dependencies.atomic] version = "0.5.1" [dependencies.cgmath] version = "0.18.0" [dependencies.env_logger] version = "0.9.0" [dependencies.epoll] version = "4.3.1" optional = true [dependencies.evdev] version = "0.12.1" optional = true [dependencies.fxhash] version = "0.2.1" optional = true [dependencies.hlua] version = "0.4.1" optional = true [dependencies.image] version = "0.23.14" optional = true [dependencies.ioctl-gen] version = "0.1.1" optional = true [dependencies.libc] version = "0.2.69" [dependencies.line_drawing] version = "1.0.0" optional = true [dependencies.log] version = "0.4.14" [dependencies.memmap2] version = "0.5.2" optional = true [dependencies.once_cell] version = "1.9.0" [dependencies.rusttype] version = "0.9.2" optional = true [dependencies.stopwatch] version = "0.0.7" optional = true [dependencies.zstd] version = "0.9.0" optional = true [dev-dependencies.chrono] version = "0.4.19" [dev-dependencies.libc] version = "0.2.69" [dev-dependencies.redhook] version = "2.0.0" [dev-dependencies.rgb565] version = "0.1.3" [dev-dependencies.tiny_http] version = "0.9.0" [features] appctx = [ "framebuffer-text-drawing", "image", "input", "aabb-quadtree", ] battery = [] default = [ "scan", "framebuffer-types", "framebuffer", "framebuffer-storage", "framebuffer-drawing", "image", "framebuffer-text-drawing", "input-types", "input", "battery", "appctx", "hlua", ] enable-runtime-benchmarking = ["stopwatch"] framebuffer = [ "scan", "framebuffer-types", "memmap2", ] framebuffer-drawing = [ "framebuffer", "line_drawing", ] framebuffer-storage = [ "framebuffer", "zstd", ] framebuffer-text-drawing = [ "framebuffer-drawing", "rusttype", ] framebuffer-types = ["ioctl-gen"] input = [ "scan", "input-types", "evdev", "epoll", "fxhash", ] input-types = [] scan = ["evdev"]