alfred

Crates.ioalfred
lib.rsalfred
version4.0.2
sourcesrc
created_at2014-11-20 23:05:11.819566
updated_at2019-08-27 18:57:35.644914
descriptionA library for writing Alfred workflows. http://www.alfredapp.com
homepage
repositoryhttps://github.com/lilyball/alfred-rs
max_upload_size
id181
size79,552
Lily Ballard (lilyball)

documentation

https://docs.rs/alfred/

README

alfred-rs

Build Status crates.io/crates/alfred

Rust library to help with creating Alfred Workflows.

API Documentation

Installation

Add the following to your Cargo.toml file:

[dependencies]

alfred = "4.0"

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

Version History

4.0.1

  • Make Builder.into_json public.
  • Make Item.to_json public, along with to_json methods on its helper types.

4.0.0

  • Add support for per-modifier icons.
  • Add support for outputting workflow variables.
  • Add support for outputting per-item workflow variables.
  • Add support for outputting per-modifier workflow variables.
  • Derive a few more traits on the types provided by this crate.

3.0.3

Add 2 more functions for reading workflow environment variables.

3.0.2

Update documentation links for crates.io.

3.0.1

Update serde_json to 1.0.

3.0

Switch from rustc-serialize to serde_json for our JSON support.

2.0.1

Add new module alfred::env for accessing the Alfred workflow environment variables.

2.0.0

Moved XML output into its own module alfred::xml and introduced a new module alfred::json for the new Alfred 3 JSON format.

Updated Item and ItemBuilder with the extended modifier functionality and support for the QuickLook URL.

1.0.1

Dual-licensed under MIT and APACHE.

1.0.0

Rust 1.0 is out!

0.3.1

Remove #[unsafe_destructor], which no longer exists in the latest nightlies.

0.3.0

Switch from IntoCow<'a, str> to Into<Cow<'a, str>>. This is technically a breaking change, but it is unlikely to affect anyone.

0.2.2

Compatibility with the latest Rust nightly.

0.2.1

Compatibility with the latest Rust nightly.

0.2

Switch from std::old_io to std::io.

0.1.1

Compatibility with the Rust nightly for 2015-02-21.

0.1

Compatibility with the Rust 1.0 Alpha release.

Commit count: 97

cargo fmt