cream-js 0.1.0

A lightweight compiler for modern web applications.
1
2
3
4
5
6
7
8
9
10
11
12
use std::collections::HashMap;
use serde::{Deserialize, Serialize};
use toml::Table; 

#[derive(Debug, Deserialize, Clone, Serialize)]
pub struct Config {
    pub build: Vec<String>,
    pub packages: Table,
    pub env: HashMap<String, toml::Value>,
    pub port: u16
}