Merge pull request #253 from hecrj/0.1
Release `0.1` - Custom styling, event subscriptions, additional widgets, new examples, and more!
This commit is contained in:
commit
fd064ff990
|
@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
|
||||||
|
## [0.1.0] - 2020-04-02
|
||||||
### Added
|
### Added
|
||||||
- __[Event subscriptions]__ (#122)
|
- __[Event subscriptions]__ (#122)
|
||||||
A declarative way to listen to external events asynchronously by leveraging [streams].
|
A declarative way to listen to external events asynchronously by leveraging [streams].
|
||||||
|
@ -69,5 +72,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- First release! :tada:
|
- First release! :tada:
|
||||||
|
|
||||||
[Unreleased]: https://github.com/hecrj/iced/compare/0.1.0...HEAD
|
[Unreleased]: https://github.com/hecrj/iced/compare/0.1.0...HEAD
|
||||||
|
[0.1.0]: https://github.com/hecrj/iced/compare/0.1.0-beta...0.1.0
|
||||||
[0.1.0-beta]: https://github.com/hecrj/iced/compare/0.1.0-alpha...0.1.0-beta
|
[0.1.0-beta]: https://github.com/hecrj/iced/compare/0.1.0-alpha...0.1.0-beta
|
||||||
[0.1.0-alpha]: https://github.com/hecrj/iced/releases/tag/0.1.0-alpha
|
[0.1.0-alpha]: https://github.com/hecrj/iced/releases/tag/0.1.0-alpha
|
||||||
|
|
10
Cargo.toml
10
Cargo.toml
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "iced"
|
name = "iced"
|
||||||
version = "0.1.0-beta"
|
version = "0.1.0"
|
||||||
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "A cross-platform GUI library inspired by Elm"
|
description = "A cross-platform GUI library inspired by Elm"
|
||||||
|
@ -57,11 +57,11 @@ members = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
iced_futures = { version = "0.1.0-alpha", path = "futures" }
|
iced_futures = { version = "0.1", path = "futures" }
|
||||||
|
|
||||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||||
iced_winit = { version = "0.1.0-alpha", path = "winit" }
|
iced_winit = { version = "0.1", path = "winit" }
|
||||||
iced_wgpu = { version = "0.1.0", path = "wgpu" }
|
iced_wgpu = { version = "0.2", path = "wgpu" }
|
||||||
|
|
||||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||||
iced_web = { version = "0.1.0", path = "web" }
|
iced_web = { version = "0.2", path = "web" }
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Iced
|
# Iced
|
||||||
[![Test Status](https://github.com/hecrj/iced/workflows/Test/badge.svg?event=push)](https://github.com/hecrj/iced/actions)
|
[![Test Status](https://github.com/hecrj/iced/workflows/Test/badge.svg?event=push)](https://github.com/hecrj/iced/actions)
|
||||||
[![Documentation](https://docs.rs/iced/badge.svg)][documentation]
|
[![Documentation](https://docs.rs/iced/badge.svg)][documentation]
|
||||||
[![Crates.io](https://img.shields.io/crates/v/iced.svg)](https://crates.io/crates/iced/0.1.0-beta)
|
[![Crates.io](https://img.shields.io/crates/v/iced.svg)](https://crates.io/crates/iced)
|
||||||
[![License](https://img.shields.io/crates/l/iced.svg)](https://github.com/hecrj/iced/blob/master/LICENSE)
|
[![License](https://img.shields.io/crates/l/iced.svg)](https://github.com/hecrj/iced/blob/master/LICENSE)
|
||||||
[![project chat](https://img.shields.io/badge/chat-on_zulip-brightgreen.svg)](https://iced.zulipchat.com)
|
[![project chat](https://img.shields.io/badge/chat-on_zulip-brightgreen.svg)](https://iced.zulipchat.com)
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ __Iced is currently experimental software.__ [Take a look at the roadmap],
|
||||||
Add `iced` as a dependency in your `Cargo.toml`:
|
Add `iced` as a dependency in your `Cargo.toml`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
iced = "0.1.0-beta"
|
iced = "0.1"
|
||||||
```
|
```
|
||||||
|
|
||||||
__Iced moves fast and the `master` branch can contain breaking changes!__ If
|
__Iced moves fast and the `master` branch can contain breaking changes!__ If
|
||||||
|
@ -217,7 +217,7 @@ the [Rust Community Discord]. I go by `lone_scientist#9554` there.
|
||||||
## Sponsors
|
## Sponsors
|
||||||
The development of Iced is sponsored by the [Cryptowatch] team at [Kraken.com]
|
The development of Iced is sponsored by the [Cryptowatch] team at [Kraken.com]
|
||||||
|
|
||||||
[documentation]: https://docs.rs/iced/0.1.0-beta/iced/
|
[documentation]: https://docs.rs/iced/
|
||||||
[examples]: https://github.com/hecrj/iced/tree/master/examples
|
[examples]: https://github.com/hecrj/iced/tree/master/examples
|
||||||
[Coffee]: https://github.com/hecrj/coffee
|
[Coffee]: https://github.com/hecrj/coffee
|
||||||
[Elm]: https://elm-lang.org/
|
[Elm]: https://elm-lang.org/
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "iced_core"
|
name = "iced_core"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "The essential concepts of Iced"
|
description = "The essential concepts of Iced"
|
||||||
|
|
|
@ -16,7 +16,7 @@ This crate is meant to be a starting point for an Iced runtime.
|
||||||
Add `iced_core` as a dependency in your `Cargo.toml`:
|
Add `iced_core` as a dependency in your `Cargo.toml`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
iced_core = "0.1.0"
|
iced_core = "0.2"
|
||||||
```
|
```
|
||||||
|
|
||||||
__Iced moves fast and the `master` branch can contain breaking changes!__ If
|
__Iced moves fast and the `master` branch can contain breaking changes!__ If
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "iced_futures"
|
name = "iced_futures"
|
||||||
version = "0.1.0-alpha"
|
version = "0.1.0"
|
||||||
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "Commands, subscriptions, and runtimes for Iced"
|
description = "Commands, subscriptions, and runtimes for Iced"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "iced_native"
|
name = "iced_native"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "A renderer-agnostic library for native GUIs"
|
description = "A renderer-agnostic library for native GUIs"
|
||||||
|
@ -13,10 +13,10 @@ raw-window-handle = "0.3"
|
||||||
unicode-segmentation = "1.6"
|
unicode-segmentation = "1.6"
|
||||||
|
|
||||||
[dependencies.iced_core]
|
[dependencies.iced_core]
|
||||||
version = "0.1.0"
|
version = "0.2"
|
||||||
path = "../core"
|
path = "../core"
|
||||||
|
|
||||||
[dependencies.iced_futures]
|
[dependencies.iced_futures]
|
||||||
version = "0.1.0-alpha"
|
version = "0.1"
|
||||||
path = "../futures"
|
path = "../futures"
|
||||||
features = ["thread-pool"]
|
features = ["thread-pool"]
|
||||||
|
|
|
@ -26,7 +26,7 @@ To achieve this, it introduces a bunch of reusable interfaces:
|
||||||
Add `iced_native` as a dependency in your `Cargo.toml`:
|
Add `iced_native` as a dependency in your `Cargo.toml`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
iced_native = "0.1.0"
|
iced_native = "0.2"
|
||||||
```
|
```
|
||||||
|
|
||||||
__Iced moves fast and the `master` branch can contain breaking changes!__ If
|
__Iced moves fast and the `master` branch can contain breaking changes!__ If
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "iced_style"
|
name = "iced_style"
|
||||||
version = "0.1.0-alpha"
|
version = "0.1.0"
|
||||||
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "The default set of styles of Iced"
|
description = "The default set of styles of Iced"
|
||||||
|
@ -11,4 +11,4 @@ keywords = ["gui", "ui", "graphics", "interface", "widgets"]
|
||||||
categories = ["gui"]
|
categories = ["gui"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
iced_core = { version = "0.1.0", path = "../core" }
|
iced_core = { version = "0.2", path = "../core" }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "iced_web"
|
name = "iced_web"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "A web backend for Iced"
|
description = "A web backend for Iced"
|
||||||
|
@ -15,20 +15,23 @@ categories = ["web-programming"]
|
||||||
maintenance = { status = "actively-developed" }
|
maintenance = { status = "actively-developed" }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
iced_style = { version = "0.1.0-alpha", path = "../style" }
|
|
||||||
dodrio = "0.1.0"
|
dodrio = "0.1.0"
|
||||||
wasm-bindgen = "0.2.51"
|
wasm-bindgen = "0.2.51"
|
||||||
wasm-bindgen-futures = "0.4"
|
wasm-bindgen-futures = "0.4"
|
||||||
url = "2.0"
|
url = "2.0"
|
||||||
|
|
||||||
[dependencies.iced_core]
|
[dependencies.iced_core]
|
||||||
version = "0.1.0"
|
version = "0.2"
|
||||||
path = "../core"
|
path = "../core"
|
||||||
|
|
||||||
[dependencies.iced_futures]
|
[dependencies.iced_futures]
|
||||||
version = "0.1.0-alpha"
|
version = "0.1"
|
||||||
path = "../futures"
|
path = "../futures"
|
||||||
|
|
||||||
|
[dependencies.iced_style]
|
||||||
|
version = "0.1"
|
||||||
|
path = "../style"
|
||||||
|
|
||||||
[dependencies.web-sys]
|
[dependencies.web-sys]
|
||||||
version = "0.3.27"
|
version = "0.3.27"
|
||||||
features = [
|
features = [
|
||||||
|
|
|
@ -18,7 +18,7 @@ The crate is currently a __very experimental__, simple abstraction layer over [`
|
||||||
Add `iced_web` as a dependency in your `Cargo.toml`:
|
Add `iced_web` as a dependency in your `Cargo.toml`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
iced_web = "0.1.0"
|
iced_web = "0.2"
|
||||||
```
|
```
|
||||||
|
|
||||||
__Iced moves fast and the `master` branch can contain breaking changes!__ If
|
__Iced moves fast and the `master` branch can contain breaking changes!__ If
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "iced_wgpu"
|
name = "iced_wgpu"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "A wgpu renderer for Iced"
|
description = "A wgpu renderer for Iced"
|
||||||
|
@ -12,8 +12,6 @@ svg = ["resvg"]
|
||||||
canvas = ["lyon"]
|
canvas = ["lyon"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
iced_native = { version = "0.1.0", path = "../native" }
|
|
||||||
iced_style = { version = "0.1.0-alpha", path = "../style" }
|
|
||||||
wgpu = "0.4"
|
wgpu = "0.4"
|
||||||
wgpu_glyph = "0.7"
|
wgpu_glyph = "0.7"
|
||||||
glyph_brush = "0.6"
|
glyph_brush = "0.6"
|
||||||
|
@ -23,6 +21,14 @@ font-kit = "0.4"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
guillotiere = "0.4"
|
guillotiere = "0.4"
|
||||||
|
|
||||||
|
[dependencies.iced_native]
|
||||||
|
version = "0.2"
|
||||||
|
path = "../native"
|
||||||
|
|
||||||
|
[dependencies.iced_style]
|
||||||
|
version = "0.1"
|
||||||
|
path = "../style"
|
||||||
|
|
||||||
[dependencies.image]
|
[dependencies.image]
|
||||||
version = "0.22"
|
version = "0.22"
|
||||||
optional = true
|
optional = true
|
||||||
|
|
|
@ -27,7 +27,7 @@ Currently, `iced_wgpu` supports the following primitives:
|
||||||
Add `iced_wgpu` as a dependency in your `Cargo.toml`:
|
Add `iced_wgpu` as a dependency in your `Cargo.toml`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
iced_wgpu = "0.1.0"
|
iced_wgpu = "0.2"
|
||||||
```
|
```
|
||||||
|
|
||||||
__Iced moves fast and the `master` branch can contain breaking changes!__ If
|
__Iced moves fast and the `master` branch can contain breaking changes!__ If
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "iced_winit"
|
name = "iced_winit"
|
||||||
version = "0.1.0-alpha"
|
version = "0.1.0"
|
||||||
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "A winit runtime for Iced"
|
description = "A winit runtime for Iced"
|
||||||
|
@ -19,7 +19,7 @@ window_clipboard = "0.1"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
|
||||||
[dependencies.iced_native]
|
[dependencies.iced_native]
|
||||||
version = "0.1.0"
|
version = "0.2"
|
||||||
path = "../native"
|
path = "../native"
|
||||||
|
|
||||||
[target.'cfg(target_os = "windows")'.dependencies.winapi]
|
[target.'cfg(target_os = "windows")'.dependencies.winapi]
|
||||||
|
|
|
@ -10,7 +10,7 @@ It exposes a renderer-agnostic `Application` trait that can be implemented and t
|
||||||
|
|
||||||
![iced_winit](../docs/graphs/winit.png)
|
![iced_winit](../docs/graphs/winit.png)
|
||||||
|
|
||||||
[documentation]: https://docs.rs/iced_winit/0.1.0-alpha.1/iced_winit/
|
[documentation]: https://docs.rs/iced_winit
|
||||||
[`iced_native`]: ../native
|
[`iced_native`]: ../native
|
||||||
[`winit`]: https://github.com/rust-windowing/winit
|
[`winit`]: https://github.com/rust-windowing/winit
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ It exposes a renderer-agnostic `Application` trait that can be implemented and t
|
||||||
Add `iced_winit` as a dependency in your `Cargo.toml`:
|
Add `iced_winit` as a dependency in your `Cargo.toml`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
iced_winit = "0.1.0-alpha"
|
iced_winit = "0.1"
|
||||||
```
|
```
|
||||||
|
|
||||||
__Iced moves fast and the `master` branch can contain breaking changes!__ If
|
__Iced moves fast and the `master` branch can contain breaking changes!__ If
|
||||||
|
|
Loading…
Reference in New Issue