Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.1 - Custom styling, event subscriptions, additional widgets, new examples, and more! #253

Merged
merged 1 commit into from
Apr 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

## [Unreleased]


## [0.1.0] - 2020-04-02
### Added
- __[Event subscriptions]__ (#122)
A declarative way to listen to external events asynchronously by leveraging [streams].
Expand Down Expand Up @@ -69,5 +72,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- First release! :tada:

[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-alpha]: https://github.com/hecrj/iced/releases/tag/0.1.0-alpha
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iced"
version = "0.1.0-beta"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <[email protected]>"]
edition = "2018"
description = "A cross-platform GUI library inspired by Elm"
Expand Down Expand Up @@ -57,11 +57,11 @@ members = [
]

[dependencies]
iced_futures = { version = "0.1.0-alpha", path = "futures" }
iced_futures = { version = "0.1", path = "futures" }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
iced_winit = { version = "0.1.0-alpha", path = "winit" }
iced_wgpu = { version = "0.1.0", path = "wgpu" }
iced_winit = { version = "0.1", path = "winit" }
iced_wgpu = { version = "0.2", path = "wgpu" }

[target.'cfg(target_arch = "wasm32")'.dependencies]
iced_web = { version = "0.1.0", path = "web" }
iced_web = { version = "0.2", path = "web" }
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Iced
[![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]
[![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)
[![project chat](https://img.shields.io/badge/chat-on_zulip-brightgreen.svg)](https://iced.zulipchat.com)

Expand Down Expand Up @@ -55,7 +55,7 @@ __Iced is currently experimental software.__ [Take a look at the roadmap],
Add `iced` as a dependency in your `Cargo.toml`:

```toml
iced = "0.1.0-beta"
iced = "0.1"
```

__Iced moves fast and the `master` branch can contain breaking changes!__ If
Expand Down Expand Up @@ -217,7 +217,7 @@ the [Rust Community Discord]. I go by `lone_scientist#9554` there.
## Sponsors
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
[Coffee]: https://github.com/hecrj/coffee
[Elm]: https://elm-lang.org/
Expand Down
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iced_core"
version = "0.1.0"
version = "0.2.0"
authors = ["Héctor Ramón Jiménez <[email protected]>"]
edition = "2018"
description = "The essential concepts of Iced"
Expand Down
2 changes: 1 addition & 1 deletion core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:

```toml
iced_core = "0.1.0"
iced_core = "0.2"
```

__Iced moves fast and the `master` branch can contain breaking changes!__ If
Expand Down
2 changes: 1 addition & 1 deletion futures/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iced_futures"
version = "0.1.0-alpha"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <[email protected]>"]
edition = "2018"
description = "Commands, subscriptions, and runtimes for Iced"
Expand Down
6 changes: 3 additions & 3 deletions native/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iced_native"
version = "0.1.0"
version = "0.2.0"
authors = ["Héctor Ramón Jiménez <[email protected]>"]
edition = "2018"
description = "A renderer-agnostic library for native GUIs"
Expand All @@ -13,10 +13,10 @@ raw-window-handle = "0.3"
unicode-segmentation = "1.6"

[dependencies.iced_core]
version = "0.1.0"
version = "0.2"
path = "../core"

[dependencies.iced_futures]
version = "0.1.0-alpha"
version = "0.1"
path = "../futures"
features = ["thread-pool"]
2 changes: 1 addition & 1 deletion native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ To achieve this, it introduces a bunch of reusable interfaces:
Add `iced_native` as a dependency in your `Cargo.toml`:

```toml
iced_native = "0.1.0"
iced_native = "0.2"
```

__Iced moves fast and the `master` branch can contain breaking changes!__ If
Expand Down
4 changes: 2 additions & 2 deletions style/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iced_style"
version = "0.1.0-alpha"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <[email protected]>"]
edition = "2018"
description = "The default set of styles of Iced"
Expand All @@ -11,4 +11,4 @@ keywords = ["gui", "ui", "graphics", "interface", "widgets"]
categories = ["gui"]

[dependencies]
iced_core = { version = "0.1.0", path = "../core" }
iced_core = { version = "0.2", path = "../core" }
11 changes: 7 additions & 4 deletions web/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iced_web"
version = "0.1.0"
version = "0.2.0"
authors = ["Héctor Ramón Jiménez <[email protected]>"]
edition = "2018"
description = "A web backend for Iced"
Expand All @@ -15,20 +15,23 @@ categories = ["web-programming"]
maintenance = { status = "actively-developed" }

[dependencies]
iced_style = { version = "0.1.0-alpha", path = "../style" }
dodrio = "0.1.0"
wasm-bindgen = "0.2.51"
wasm-bindgen-futures = "0.4"
url = "2.0"

[dependencies.iced_core]
version = "0.1.0"
version = "0.2"
path = "../core"

[dependencies.iced_futures]
version = "0.1.0-alpha"
version = "0.1"
path = "../futures"

[dependencies.iced_style]
version = "0.1"
path = "../style"

[dependencies.web-sys]
version = "0.3.27"
features = [
Expand Down
2 changes: 1 addition & 1 deletion web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:

```toml
iced_web = "0.1.0"
iced_web = "0.2"
```

__Iced moves fast and the `master` branch can contain breaking changes!__ If
Expand Down
12 changes: 9 additions & 3 deletions wgpu/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iced_wgpu"
version = "0.1.0"
version = "0.2.0"
authors = ["Héctor Ramón Jiménez <[email protected]>"]
edition = "2018"
description = "A wgpu renderer for Iced"
Expand All @@ -12,8 +12,6 @@ svg = ["resvg"]
canvas = ["lyon"]

[dependencies]
iced_native = { version = "0.1.0", path = "../native" }
iced_style = { version = "0.1.0-alpha", path = "../style" }
wgpu = "0.4"
wgpu_glyph = "0.7"
glyph_brush = "0.6"
Expand All @@ -23,6 +21,14 @@ font-kit = "0.4"
log = "0.4"
guillotiere = "0.4"

[dependencies.iced_native]
version = "0.2"
path = "../native"

[dependencies.iced_style]
version = "0.1"
path = "../style"

[dependencies.image]
version = "0.22"
optional = true
Expand Down
2 changes: 1 addition & 1 deletion wgpu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Currently, `iced_wgpu` supports the following primitives:
Add `iced_wgpu` as a dependency in your `Cargo.toml`:

```toml
iced_wgpu = "0.1.0"
iced_wgpu = "0.2"
```

__Iced moves fast and the `master` branch can contain breaking changes!__ If
Expand Down
4 changes: 2 additions & 2 deletions winit/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iced_winit"
version = "0.1.0-alpha"
version = "0.1.0"
authors = ["Héctor Ramón Jiménez <[email protected]>"]
edition = "2018"
description = "A winit runtime for Iced"
Expand All @@ -19,7 +19,7 @@ window_clipboard = "0.1"
log = "0.4"

[dependencies.iced_native]
version = "0.1.0"
version = "0.2"
path = "../native"

[target.'cfg(target_os = "windows")'.dependencies.winapi]
Expand Down
4 changes: 2 additions & 2 deletions winit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ It exposes a renderer-agnostic `Application` trait that can be implemented and t

![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
[`winit`]: https://github.com/rust-windowing/winit

## Installation
Add `iced_winit` as a dependency in your `Cargo.toml`:

```toml
iced_winit = "0.1.0-alpha"
iced_winit = "0.1"
```

__Iced moves fast and the `master` branch can contain breaking changes!__ If
Expand Down