-
Notifications
You must be signed in to change notification settings - Fork 0
/
spin.toml
27 lines (24 loc) · 828 Bytes
/
spin.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
spin_version = "1"
authors = ["Ralf Anton Beier <ralf_beier@me.com>"]
description = "Toyota MyT to A Better Routeplanner"
name = "myT2ABRP"
trigger = { type = "http", base = "/" }
version = "0.1.0"
[variables]
password = { required = true }
username = { required = true }
vin = { required = true }
[[component]]
id = "myt2abrp"
source = "target/wasm32-wasip1/release/myt2abrp.wasm"
allowed_http_hosts = [ "ssoms.toyota-europe.com", "myt-agg.toyota-europe.com" ]
[component.trigger]
route = "/..."
[component.build]
command = "cargo build --target wasm32-wasip1 --release"
# Example watch configuration for a Rust application
watch = ["myt2abrp/src/**/*.rs", "myt2abrp/Cargo.toml", "Cargo.toml", "myt/src/**/*.rs", "myt/Cargo.toml"]
[component.config]
password = "{{ password }}"
username = "{{ username }}"
vin = "{{ vin }}"