Change crate type from lib

This commit is contained in:
2023-09-29 19:47:40 +02:00
parent 01a7576d7f
commit 4cf6b628ee
4 changed files with 4 additions and 7 deletions

View File

@ -1,6 +1,8 @@
[workspace]
members = ["backend", "common", "frontend"]
resolver = "2"
[profile.dev]
# Issue with const-generics
incremental = false

View File

@ -1,7 +1,7 @@
##################
### BASE STAGE ###
##################
FROM rust:1.62.1 as base
FROM rust:1.72.1 as base
# Install build dependencies
RUN cargo install --locked cargo-make trunk strip_cargo_version

View File

@ -4,9 +4,6 @@ version = "0.2.0"
authors = ["Joakim Hulthe <joakim@hulthe.net"]
edition = "2021"
[lib]
crate-type = ["cdylib"]
[dependencies]
seed = "0.9.1"
wasm-bindgen = "=0.2.80" # 0.2.81 has a breaking change

View File

@ -3,10 +3,8 @@ mod components;
mod css;
mod page;
use seed::prelude::wasm_bindgen;
use seed::App;
#[wasm_bindgen(start)]
pub fn start() {
pub fn main() {
App::start("app", app::init, app::update, app::view);
}