aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
Commit message (Collapse)AuthorAge
* implement message_propertiesDirk Van Haerenborgh2019-10-25
|
* add scopable atomic operation and configlistDirk Van Haerenborgh2019-10-25
|
* add scopeable version of message.freeze/thawDirk Van Haerenborgh2019-10-23
|
* fix index_file and add freeze/thawDirk Van Haerenborgh2019-10-23
|
* implement: database_index_messageDirk Van Haerenborgh2019-10-18
|
* Revert "link lifetime of message to Query"Dirk Van Haerenborgh2018-12-17
| | | | This reverts commit 0d510d55c4238ff0a1175985b27ca38c71a3cfc2.
* link lifetime of message to QueryDirk Van Haerenborgh2018-12-17
|
* Revert "Edition 2018 hit stable 🙌"Dirk Van Haerenborgh2018-12-15
| | | | This reverts commit b5b0f7e97abe0dbd5b54a1fc69e764a124c271b2.
* Threads are only ever owned by a Query. Nothing elseDirk Van Haerenborgh2018-12-15
|
* remove StreamingIterator again as the iterators don't actually have ↵Dirk Van Haerenborgh2018-12-14
| | | | ownership over items
* Edition 2018 hit stable 🙌eaon2018-12-09
|
* implement StreamingIteratorExt for iterator typesDirk Van Haerenborgh2018-11-05
|
* start adding 'Ext' threads to enable more flexible supercow apiDirk Van Haerenborgh2018-11-04
|
* improve lifetime management with supercowDirk Van Haerenborgh2018-11-01
|
* export the sort enumDirk Van Haerenborgh2018-10-30
|
* export owner traitsDirk Van Haerenborgh2018-10-29
|
* cleanup & export db revision uuidDirk Van Haerenborgh2018-10-06
|
* make clippy happyDirk Van Haerenborgh2018-04-17
|
* also export errorDirk Van Haerenborgh2018-03-27
|
* do not export all modules, just the structsDirk Van Haerenborgh2018-03-23
|
* filenames iteratorDirk Van Haerenborgh2018-03-23
|
* message and thread iteratorsDirk Van Haerenborgh2018-03-23
|
* proper tags iteratorDirk Van Haerenborgh2018-03-23
|
* search messagesDirk Van Haerenborgh2018-03-22
|
* create queryDirk Van Haerenborgh2018-03-22
|
* get notmuch db revisionDirk Van Haerenborgh2018-03-22
|
* fix infinite recursionDirk Van Haerenborgh2018-03-20
|
* fix some compiler warning regarding opaque structsDirk Van Haerenborgh2018-03-20
|
* resurrectDirk Van Haerenborgh2018-03-20
|
* Add directory module and `Directory` type.C. Morgan Hamill2015-03-31
| | | | Wrapper type for `ffi::notmuch_directory_t` pointer.
* Make `ToCString` trait use std::convert traits.C. Morgan Hamill2015-03-26
| | | | Use `AsRef<Path>` instead of `AsOsStr`.
* Change usage of `AsPath` to `AsRef<Path>`.C. Morgan Hamill2015-03-25
| | | | | | RFC 529[1] has landed. [1] https://github.com/rust-lang/rfcs/pull/529
* Add database module.C. Morgan Hamill2015-03-20
| | | | | Add `database::Database`, `database::Version`, and `database::Mode` types.
* Add `ToCString` trait.C. Morgan Hamill2015-03-20
| | | | | | | | Allows easy conversion of any `T: AsOsStr` to a `CString`, whose `as_ptr()` method is quite convenient for FFI calls. Note that `std::path::Path` implements `AsOsStr`, which means we can easily take paths and get a pointer to `*const libc::c_char`.
* Add error module with crate's `Error` type.C. Morgan Hamill2015-03-20
| | | | | | | | | Implement `Display`, `Error`, and various `FromError<T>` traits on `Error`, allowing the use of `try!` on the various `Result` types in the crate. Note that currently the only error variants are those thrown from a lower-level operation.
* Add `ToStr` and `ToStaticStr` traits.C. Morgan Hamill2015-03-20
| | | | | | | | Allow easy mapping of borrowed C strings to borrowed strings with appropriate lifetimes. I have some doubts about this, as I'm not 100% on how lifetimes interact with the notmuch-provided strings yet.
* Add `NotmuchEnum` trait and `notmuch_enum!` macro.C. Morgan Hamill2015-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements enum types in pairs, specifying the type and variant names of each, like so: notmuch_enum! { pub enum enum_name => EnumName { variant_one => VariantOne, variant_two => VariantTwo } } Which expands to: pub enum enum_name { variant_one, variant_two } pub enum EnumName { VariantOne, VariantTwo } The `NotmuchEnum` trait also entails two functions to convert between the defined pairs, `from_notmuch_t()` and `to_notmuch_t()`. The macro takes care of their implementation, also. Yes, this is purely aesthetic whimsy: I wanted the types in the `ffi` module to match the types from the `notmuch.h` file, and I wanted the types I used within (and exported by) this crate to match the expected Rust convention.
* Add empty ffi module.C. Morgan Hamill2015-03-17
|
* Add root module at src/lib.rs.C. Morgan Hamill2015-03-13
Use libc crate.