-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
79 lines (68 loc) · 1.51 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[package]
name = "kot"
version = "0.0.1-dev.0"
edition = "2021"
authors = ["harmless-tech"]
description = "A scripting language"
readme = "README.md"
license = "MIT"
#homepage = ""
repository = "https://github.com/harmless-tech/kot"
categories = ["command-line-utilities"]
keywords = ["scripting", "scripting-language"]
#rust-version = "1.70"
include = [
"src/",
"build.rs",
"Cargo.lock",
"Cargo.toml",
"LICENSE",
"README.md"
]
[[bin]]
name = "kot"
path = "src/bin/main.rs"
[lib]
path = "src/lib.rs"
[dependencies]
anyhow = "1.0.81"
#const-hex = "1.11.3"
#mimalloc = "0.1.39"
[features]
default = []
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = false
strip = true
panic = "abort"
[profile.small]
inherits = "release"
opt-level = "s"
[profile.quick-build]
inherits = "release"
opt-level = 0
lto = false
codegen-units = 16
#[lints.clippy]
#cargo = "deny"
#correctness = "deny"
#complexity = "deny"
#nursery = "deny"
#pedantic = "deny"
#perf = "deny"
#style = "deny"
#suspicious = "deny"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ target }.tar.gz"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-url = "{ repo }/releases/download/v{ version }/{ target }.zip"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "zip"
[package.metadata.binstall.overrides.aarch64-pc-windows-msvc]
pkg-url = "{ repo }/releases/download/v{ version }/{ target }.zip"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "zip"