tame/tamer
Mike Gerwitz e53482f2a3 Introduce CARGO_BUILD_FLAGS
This is intended to permit passing `--release`, since dev builds are
terribly slow (e.g. 6s -> 0.2s).  See README.md for more information.
2019-12-02 10:00:49 -05:00
..
build-aux TAMER: Initial commit 2019-11-18 14:05:47 -05:00
src/bin tameld: Placeholder binary 2019-11-20 10:11:00 -05:00
.gitignore TAMER: Initial commit 2019-11-18 14:05:47 -05:00
Cargo.lock tamer/Cargo.toml: Add quick_xml 2019-11-27 09:16:00 -05:00
Cargo.toml Introduce CARGO_BUILD_FLAGS 2019-12-02 10:00:49 -05:00
Makefile.am Introduce CARGO_BUILD_FLAGS 2019-12-02 10:00:49 -05:00
README.md Introduce CARGO_BUILD_FLAGS 2019-12-02 10:00:49 -05:00
autogen.sh TAMER: Initial commit 2019-11-18 14:05:47 -05:00
bootstrap TAMER: Initial commit 2019-11-18 14:05:47 -05:00
configure.ac Introduce CARGO_BUILD_FLAGS 2019-12-02 10:00:49 -05:00
rustfmt.toml tamer/rustfmt (max_width): Set to 80 2019-11-27 09:15:15 -05:00

README.md

TAME in Rust (TAMER)

TAME was written to help tame the complexity of developing comparative insurance rating systems. This project aims to tame the complexity and performance issues of TAME itself. TAMER is therefore more tame than TAME.

TAME was originally written in XSLT. For more information about the project, see the parent README.md.

Building

To bootstrap from the source repository, run ./bootstrap.

To configure the build for your system, run ./configure. To build, run make. To run tests, run make check.

You may also invoke cargo directly, which make will do for you using options provided to configure.

Note that the default development build results in terrible runtime performance! See [#Build Flags][] below for instructions on how to generate a release binary.

Build Flags

The environment variable CARGO_BUILD_FLAGS can be used to provide additional arguments to cargo build when invoked via make. This can be provided optionally during configure and can be overridden when invoking make. For example:

# release build
$ ./configure && make CARGO_BUILD_FLAGS=--release
$ ./configure CARGO_BUILD_FLAGS=--release && make

# dev build
$ ./configure && make
$ ./configure CARGO_BUILD_FLAGS=--release && make CARGO_BUILD_FLAGS=