daydream

A small matrix web client written in rust
git clone git://archive.git.mtrnord.blog/daydream-mx/daydream.git
Log | Files | Refs | README | LICENSE

Cargo.toml (2442B)


      1 [package]
      2 name = "daydream"
      3 version = "0.1.0"
      4 authors = ["MTRNord <info@nordgedanken.de>"]
      5 edition = "2018"
      6 license = "AGPL-v3.0"
      7 repository = "https://github.com/MTRNord/Daydream"
      8 description = "A Matrix Web client written in Rust"
      9 
     10 [[bin]]
     11 name = "daydream_app"
     12 path = "src/bin/app.rs"
     13 
     14 [[bin]]
     15 name = "daydream_worker"
     16 path = "src/bin/native_worker.rs"
     17 
     18 [dependencies]
     19 console_error_panic_hook = { version = "0.1" }
     20 log = "0.4"
     21 tracing = {version = "0.1", features = ["log-always"] }
     22 serde = { version = "1.0", features = ["rc", "derive"] }
     23 serde_json = "1.0"
     24 wasm-bindgen = "0.2"
     25 wasm-bindgen-futures = "0.4"
     26 wasm-logger = "0.2"
     27 #wee_alloc = "0.4"
     28 lazy_static = "1.4.0"
     29 gh-emoji = "1.0.3"
     30 
     31 # Yew
     32 yew = { git = "https://github.com/daydream-mx/yew.git", branch = "MTRNord/daydream-no-bincode" }
     33 yew-router = { git = "https://github.com/daydream-mx/yew.git", branch = "MTRNord/daydream-no-bincode" }
     34 yewtil = { git = "https://github.com/daydream-mx/yew.git", branch = "MTRNord/daydream-no-bincode" }
     35 
     36 # Matrix
     37 #, branch = "daydream"
     38 matrix-sdk = { version = "0.1.0", git = "https://github.com/DevinR528/matrix-rust-sdk", default-features = false, features = ["messages"], branch = "power-ev-overflow"}# rev = "89c9e311408d2c57245f4ec5af7bbd4daa0046d3" # features = ["encryption"]}
     39 url = "2.1.1"
     40 thiserror = "1.0"
     41 futures-locks = { git = "https://github.com/asomers/futures-locks", default-features = false }
     42 
     43 # Markdown
     44 pulldown-cmark = "0.7.2"
     45 
     46 # Translations
     47 tr = { version = "0.1.3", default-features = false, features = ["gettext"]}
     48 i18n-embed = { version = "0.6", features = ["web-sys-requester"] }
     49 rust-embed = { version = "5", features = ["debug-embed", "compression"]}
     50 
     51 # Make links links again!
     52 linkify = "0.4.0"
     53 
     54 # Used for lightboxes
     55 rand = "0.7"
     56 
     57 [dependencies.web-sys]
     58 version = "0.3"
     59 features = [
     60   'KeyboardEvent',
     61   'HtmlElement',
     62   'DomStringMap',
     63   'Notification',
     64   'NotificationPermission',
     65   'NotificationOptions',
     66   'Window'
     67 ]
     68 
     69 [patch.'https://github.com/seanmonstar/reqwest']
     70 reqwest = { git = "https://github.com/seanmonstar//reqwest", rev = "d42385e7f2cc364efa5e16a7154e7e0cebdd1b57"}
     71 
     72 [profile.release]
     73 # less code to include into binary
     74 panic = 'abort'
     75 # optimization over all codebase ( better optimization, slower build )
     76 codegen-units = 1
     77 # optimization for size ( more aggresive )
     78 opt-level = 'z'
     79 # optimization for size
     80 # opt-level = 's'
     81 # link time optimization using using whole-program analysis
     82 lto = true