Diesel 1.4.x makes it impossible to properly cross-compile when using PostgreSQL and thus having a dependency on libpq. On compile and I believe when using the diesel_migrations crate, there is a dependency on both the host and target libpq. Unfortunately, only one can be installed at a time, because of conflicts. See also: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995768 Until now the cross-compile solution is based on docker buildx, which uses qemu to emulate the different targets. This works, but is very, very slow. Diesel 2.0.0-rc.0 no longer depends on both the host and target libpq on compile and makes it possible to implement proper cross-compiling (using the rust --target flag in combination with the cross-compile toolchains).
ChirpStack open-source LoRaWAN Network Server
ChirpStack is an open-source LoRaWAN Network Server, part of the ChirpStack project.
Note: this repository contains the source of what is going to be ChirpStack v4. This release merges the ChirpStack Network Server and ChirpStack Application Server components into a single service, making it a lot easier to setup a multi-region ChirpStack instance. This is still work in progress.
Please refer to the forum announcement for background information: https://forum.chirpstack.io/t/changes-coming-to-chirpstack/13101
Testing / building from source
To build ChirpStack from source, run the following command:
make test-server
Note: this requires a Linux environment With Docker and Docker Compose setup. Pre-compiled (test) binaries will be provided soon.
License
ChirpStack Network Server is distributed under the MIT license. See also LICENSE.