fractal/fractal-gtk/Cargo.toml
Daniel García Moreno a5d354ad31 Improve avatar async loading
The avatar was not redrawing after image download, I've moved the avatar
loading retry from the drawing method to a separated one to call just
after the backend respond so we don't retry if it's not needed and we
can redraw when the image is ready.

I've also changed the letter-avatar git dependency to use the crates.io
one.

We should improve this async user data loading, this will change in the
near future when we change to the new data model and we can have a good
cache system. Meantime this solution works.
2018-07-10 09:19:01 +02:00

52 lines
1.1 KiB
TOML

[package]
authors = ["Daniel Garcia <danigm@wadobo.com>"]
build = "build.rs"
name = "fractal-gtk"
version = "3.29.1"
workspace = "../"
[dependencies]
failure = "0.1.1"
gdk = "0.8.0"
gdk-pixbuf = "0.4.0"
gdk-pixbuf-sys = "0.6.0"
gio = "0.4.1"
glib = "0.5.0"
gstreamer = "0.11.3"
gstreamer-player = "0.11.3"
notify-rust = "3.4.2"
pango = "0.4.0"
pangocairo = "0.5.0"
secret-service = "0.4.0"
serde = "1.0.43"
serde_derive = "1.0.43"
serde_json = "1.0.16"
url = "1.7.0"
rand = "0.4.2"
html2pango = { git = "https://gitlab.gnome.org/World/html2pango" }
comrak = "0.2.9"
gettext-rs = { git = "https://github.com/danigm/gettext-rs", branch = "no-gettext", features = ["gettext-system"] }
unicode-segmentation = "1.2.0"
regex = "1.0.0"
tree_magic = "0.2.0"
log = "0.4.2"
fragile = "0.2.1"
letter-avatar = "0.1.1"
[dependencies.cairo-rs]
features = ["png"]
version = "0.4.1"
[dependencies.chrono]
features = ["serde"]
version = "0.4.2"
[dependencies.fractal-matrix-api]
path = "../fractal-matrix-api"
[dependencies.gspell]
git = "https://gitlab.gnome.org/jsparber/gspell-rs"
[dependencies.gtk]
features = ["v3_22"]
version = "0.4.0"