[package] name = "eloran" version = "0.2.0" edition = "2021" description = "Comics and Ebook web library written in rust, with reading, search, reading status, bookmarks..." documentation = "https://github.com/thasos/eloran" repository = "https://github.com/thasos/eloran.git" keywords = ["webui", "cbz", "epub", "ebook", "comics"] categories = ["multimedia"] license-file = "LICENSE.txt" readme = "README.md" publish = true [dependencies] axum = { version = "0.7", features = ["macros"] } # TODO upgrade axum-login when PR#91 will be merged (0.7 ?) # see https://github.com/maxcountryman/axum-login/pull/91 # axum-login = { git = "https://github.com/maxcountryman/axum-login", rev = "bb7e5d32100bb6846412cee1f26851cc47397991", features = ["sqlite"] } horrorshow = "0.8.4" http = "0.2.8" body = "0.1.1" env_logger = "0.10.0" log = "0.4.17" # need tower for redirect when not logged in tower = "0.4.13" ulid = "1.0.0" jwalk = "0.8.1" image = "0.24.5" epub = "2.0.0" # TODO remove b64 base64 = "0.21.0" compress-tools = "0.14.0" libc = "0.2.140" # clap = { version = "4.1.13", default-features = false, features = ["std"] } clap = "4.1.13" config = "0.13.3" poppler-rs = "0.21.0" cairo-rs = { version = "0.17.0", features = ["png", "pdf"] } rand = { version = "0.8", features = ["min_const_gen"] } urlencoding = "2.1.2" serde = "1.0.164" sqlx = { version = "0.7", default-features = false, features = ["runtime-tokio", "tls-rustls", "sqlite", "macros", "migrate"] } tokio = { version = "1.24", features = ["full"] } argon2 = "0.5.2" password-auth = "1.0.0" axum-login = "0.10.2" async-trait = "0.1.74" time = "0.3.30" # async-sqlx-session = { version = "0.4.0", features = ["sqlite"] } [dev-dependencies] axum-test-helper = { version = "0.*" } axum-test = "14.0.0" insta = { version = "1.34.0", features = ["yaml", "redactions"] } [profile.release] panic = 'abort' # No unwinding on panic strip = true # Automatically strip symbols from the binary. opt-level = "s" # Optimize for size. lto = true codegen-units = 1 [profile.dev.package] insta.opt-level = 3