diff options
| author | Teddy Wing | 2018-11-13 03:14:03 +0100 |
|---|---|---|
| committer | Teddy Wing | 2018-11-13 03:14:03 +0100 |
| commit | f8e04f96df65616fff89e7faac707f999176d18b (patch) | |
| tree | f7a82fb51601553f9d4115b73b16791f534b9e9d /license-generator/Cargo.toml | |
| parent | f0a562869567f535441c8ce3cf6e86193abf7996 (diff) | |
| download | dome-key-web-f8e04f96df65616fff89e7faac707f999176d18b.tar.bz2 | |
license: Generate a license and send it in HTTP response
If the purchaser coming from POST params is found in the database,
generate a license for the purchaser, zip the license, and send a
response containing the zipped data.
zip:
Change the writer input to a mutable reference to enable us to use the
zip data when writing to the response. Otherwise we get a borrow error.
Diffstat (limited to 'license-generator/Cargo.toml')
| -rw-r--r-- | license-generator/Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/license-generator/Cargo.toml b/license-generator/Cargo.toml index 069230c..531fd57 100644 --- a/license-generator/Cargo.toml +++ b/license-generator/Cargo.toml @@ -5,6 +5,7 @@ version = "0.0.1" [dependencies] aquatic-prime = { path = "aquatic-prime" } error-chain = "0.12.0" +exitcode = "1.1.2" fastcgi = "1.0.0" log = "0.4.6" mysql = "14.1.1" |
