summaryrefslogtreecommitdiffstats
path: root/core
AgeCommit message (Collapse)Author
2020-12-16Release 1.0.0.v1.0.0Justus Winter
- Release buffered-reader 1.0.0, sequoia-openpgp 1.0.0, and sequoia-sqv 1.0.0. - Also release sequoia-sop 0.22.0.
2020-12-11Release 0.21.0.v0.21.0Justus Winter
2020-12-11Correct minimal versions.Nora Widdecke
- Versions required by feature or API usage: - anyhow 1.0.18. - policy::test::reject_seip_packet and policy::test::reject_cipher' fail - We use `impl From<anyhow::Error> for Box<dyn std::error::Error + Send + Sync + 'static>`, introduced in 1.0.5. - tokio 0.2.19 - We use `tokio::net::tcp::OwnedReadHalf`, introduced in 0.2.19. - chrono 0.4.10 - We use the `std` feature, introduced in 0.4.10. - thiserror 1.0.2 - futures and futures-util 0.3.5 - tempfile 3.1 - c_doctests require the same version of rand both as direct dependency and through tempfile. - Yanked versions: - structopt 0.3.11. 0.3.8 to 0.3.10 were yanked. - socket2 0.3.16. 0.3.0 to 0.3.15 were yanked. - Update our dependencies to the package versions required by other dependencies, e.g. structopt requires lazy_static 1.4.0. - clap 2.33 - lazy_static to 1.4.0 - libc to 0.2.66 - proc-macro2 to 1.0.7 - syn to 1.0.5. - winapi 0.3.8
2020-10-14Release 0.20.0.v0.20.0Justus Winter
2020-10-14Use 'Examples' for the examples section.Justus Winter
- See #480.
2020-10-14Replace most 'extern crate' directives with 'use'.Justus Winter
- See #480.
2020-08-21Release 0.19.0.v0.19.0Justus Winter
2020-07-31Release 0.18.0.v0.18.0Justus Winter
2020-06-12Release 0.17.0.v0.17.0Justus Winter
2020-04-03Release 0.16.0.v0.16.0Justus Winter
2020-03-09Switch from failure to anyhow.Justus Winter
- Use the anyhow crate instead of failure to implement the dynamic side of our error handling. anyhow::Error derefs to dyn std::error::Error, allowing better interoperability with other stdlib-based error handling libraries. - Fixes #444.
2020-03-09core: Define core::Error using thiserror.Justus Winter
2020-03-04Release 0.15.0.v0.15.0Justus Winter
2020-02-07Release 0.14.0.v0.14.0Justus Winter
2019-12-20Release 0.13.0.v0.13.0Justus Winter
2019-11-25Release 0.12.0.v0.12.0Justus Winter
2019-10-31Change license to GPLv2+.Neal H. Walfield
2019-10-30Update authors.Neal H. Walfield
2019-10-25Release 0.11.0.v0.11.0Justus Winter
2019-09-06Release 0.10.0.v0.10.0Justus Winter
2019-08-22core: Use 'tempfile' instead of 'tempdir'.Justus Winter
- The latter crate has been deprecated and merged into the former.
2019-07-15Switch to Rust 2018.Justus Winter
2019-07-08Release 0.9.0.v0.9.0Justus Winter
2019-07-08core: Bump dirs to 2.0.Justus Winter
2019-06-14Release 0.8.0.v0.8.0Justus Winter
2019-06-12core: Replace Context set_lib documentationjuga
that was not describing correctly what set_lib does, probably cause a copy and paste mistake.
2019-05-15core, store, tool: Use realm instead of domain.Justus Winter
- Remove the domain parameter from core::Context. - Replace it with a realm to be passed in when opening a store. - For sq, merge store name and realm into the --store parameter. - Fixes #105.
2019-05-13core, ipc: Defer the creation of the home directory.Justus Winter
- Fixes #271.
2019-05-10Release 0.7.0.v0.7.0Justus Winter
2019-04-12Release 0.6.0.v0.6.0Justus Winter
- Also bump rfc2822 to 0.6.0. After all, we create tags for the versions.
2019-03-28Point to the version-specific documentation.Justus Winter
2019-03-22openpgp, core: Return old value in setters.Justus Winter
- Fixes #147.
2019-03-14Release 0.5.0.v0.5.0Justus Winter
2019-02-19Release 0.4.0.v0.4.0Justus Winter
2018-12-18Release 0.3.0.v0.3.0Justus Winter
2018-12-07Normalize test module names.Justus Winter
2018-11-27Fix the gitlab badges.Justus Winter
2018-11-26Release 0.2.0.v0.2.0Justus Winter
2018-11-24Fix mail address.Justus Winter
2018-11-24Update packaging metadata in preparation for a release.Justus Winter
2018-11-01core: Avoid use of deprecated function.Justus Winter
2018-08-15Bump version of failure.Justus Winter
- Also, avoid deprecated method in sq.
2018-03-01core: Remove unknown error.Justus Winter
2018-01-25core: Refine default home directory.Justus Winter
- Move the call to env::home_dir from Context::configure to Config.build. This lets us handle failures, which should be rare. On systems where it fails (think embedded systems), users have to explicitly provide a path. - Allow ephemeral contexts with explicitly configure home directories. E.g. clients and servers share ephemeral contexts with the same home directory.
2018-01-25core: Make the Context Send + Clone.Justus Winter
- We no longer rely on TempDir to clean up the directory, but we do it in Drop. Since we no longer need the TempDir around, we are now Send. - Implement Clone so that cloned contexts do not delete the temporary home when dropped.
2018-01-23Use the failure crate to handle errors.Justus Winter
- The failure crate is a young error handling solution for Rust. It may change the API, but since we pin our dependencies, this should not be a problem for us, albeit a bit inconvenient. - Introduction of the crate is a bit noisy, but not as bad as anticipated, because failure magically handles all errors used in the standard library. - Matching on concrete error values requires downcasting before matching, which seems a bit unidiomatic. This is the cost of using and "chaining" arbitrary error types. This is something that may be improved later on in the library or language. - Having said that, using the error type in the tool was nice. I did not have to use a downcast, so maybe my worries about downcasts are unjustified because it is not such a common use case after all. On the other hand, the tool is quite simple and our only mode of failure is to print the message.
2018-01-19core: Improve documentation.Justus Winter
2018-01-19core: Add IPCPolicy.Justus Winter
- The IPC policy governs how we spawn background servers. - Add ffi glue.
2018-01-09core: Improve comment.Justus Winter
2018-01-09core,ffi: Convert 'core::NetworkPolicy' to and from u8.Justus Winter
- At some points, we need to convert the policy to a primitive type. It is better to just provide it. - Use it in the ffi glue.