-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
54 lines (43 loc) · 1.36 KB
/
Cargo.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[package]
name = "stellar"
version = "0.3.0"
edition = "2021"
resolver = "2"
description = "CLI tool for the Stellar project"
readme = "README.md"
repository = "https://github.com/paolobettelini/stellar"
[workspace]
members = ["crates/*"]
default-members = ["crates/stellar-cli"]
# need to be applied only to wasm build
[profile.release]
codegen-units = 1
lto = true
opt-level = 'z'
[[bin]]
name = "stellar-cli"
path = "src/main.rs"
[[workspace.metadata.leptos]]
name = "stellar"
output-name = "stellar"
bin-package = "stellar-cli"
lib-package = "stellar-server"
style-file = "crates/stellar-server/style/main.scss"
assets-dir = "crates/stellar-server/assets"
reload-port = 8081
# Set by cargo-leptos watch when building with that tool. Controls whether autoreload JS will be included in the head
watch = false
browserquery = "defaults"
bin-features = [] # the "ssr" feature is always passed by "stellar-cli"
bin-default-features = false
lib-features = ["hydrate"]
lib-default-features = false
# Disabled: stellar sets this value to DEV or PROD according
# to the compilation mode (debug or release).
# env = "DEV"
# use --address and --port instead for the release version
site-addr = "0.0.0.0:8080"
# The following two options are hardcoded in the stellar-server lib,
# so make sure to update it there aswell if you were to change these.
site-root = "dist"
site-pkg-dir = "pkg"