As requested in <https://todo.sr.ht/~soywod/pimalaya/131> I removed
flake-utils. This reduces the number of flake inputs and doesn't add
much code.
The way this works, is that instead of `eachDefaultSystem` we have a
function `forEachSupportedSystem`, this function generates an attrset
with a key for each system in the `supportedSystems` array, whose value
is the result of calling the provided function with the system as an
argument:
```nix repl
repl> forEachSupportedSystem f
{
"x86_64-linux" = f "x86_64-linux";
...
}
```
This is slightly clumsier than `flake-utils.lib.eachDefaultSystem`,
which rewrites the returned attrset, but it is much less code and
simpler to understand.
I tested the build with `nix build` on `x86_64-linux` and it still works
c:
This step was necessary to move logic from CLI to lib. Indeed, the
trait returned by get_mboxes needed to implement Table, which is
related to the CLI module only.
* modified gitignore
* fixing gitignore
* reomving the himalaya.iml file
* applied cargo fmt
* adding rust-toolchain
* restoring the .gitignore file
* make nix use rust-toolchain.toml
* add back rustfmt and rust-analyzer to buildInputs
I opened an issue to see if its the correct behaviour from the
overlay: https://github.com/oxalica/rust-overlay/issues/88.
* adding clippy to rust-toolchain.toml
Co-authored-by: Clément DOUIN <clement.douin@posteo.net>
* doc: fix blur in list msg screenshots (#181)
* fix a typo in mbox arg (#245)
`targetted` to `targeted` 👌🏻
* make inbox, sent and drafts folder customizable (#246)
* mbox: make inbox, sent and drafts folder customizable
* msg: update send handler parameters order
* vim: fix extracting message ids from list (#247)
The current method doesn't work because the list uses a fancy line
character (`│`) as the separator, not a regular pipe character (`|`).
Matching for the first number in the line instead solves the problem and
will continue to work regardless of what separator is used.
* add new line after printing strings (#251)
* init cargo workspace (#252)
* init cargo workspaces
* nix: fix assets path
* doc: update rtp vim plugin
* vim: add error message if loading vim plugin from vim/
* init sub crates (#253)
* init sub crates
* doc: update readme
* doc: improve main readme
* doc: add links, add missing crate task
* doc: update emojis
* update cargo lock
* implement contact completion with completefunc (#250)
This allows users to define a command for contact completion with
`g:himalaya_complete_contact_cmd` and trigger it with `<C-x><C-u>` when
writing an email.
* fix clippy lints (#255)
* revert cargo workspace feature
* fix nix run (#274)
* replace cargo2nix by naersk
* add rust-analyzer and rustfmt to nix build inputs
* remove wiki from git submodules, update changelog
* fix missing range when fetch fails, add more logs (#276)
* add missing fix in changelog
* remove blank lines and spaces from plain parts (#280)
* fix watch command (#271)
* remove also tabs from text parts (#280)
* pin native-tls minor version (#278)
* improve msg sanitization (#280)
* fix mbox vim plugin telescope preview (#249)
* bump version v0.5.2
* update changelog
Co-authored-by: Austin Traver <austintraver@gmail.com>
Co-authored-by: Jason Cox <dev@jasoncarloscox.com>
Co-authored-by: Gökmen Görgen <gkmngrgn@gmail.com>
Co-authored-by: Ethiraric <ethiraric@gmail.com>