mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
Grapevine is a Matrix homeserver, forked from Conduit 0.7.0
`panic!()` (and things that invoke it, such as `expect` and `unwrap`) produces terrible looking error messages and `std::process::exit()` doesn't run destructors. Instead, we'll make a `try_main` that can return a `Result` with a structured error type, but for now I'm going to be lazy and just use `Box<dyn Error>`. Then, `main` will call it and return the appropriate `ExitCode` value based on `try_main`'s `Result`. This gives us the opportunity to produce good error messages and doesn't violently terminate the program. |
||
|---|---|---|
| bin | ||
| nix | ||
| src | ||
| .envrc | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| clippy.toml | ||
| default.nix | ||
| engage.toml | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE.md | ||
| rust-toolchain.toml | ||
| rustfmt.toml | ||