-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
Cargo.toml
75 lines (68 loc) · 2.33 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
[workspace]
resolver = "2"
members = [
"diesel",
"diesel_cli",
"diesel_derives",
"diesel_tests",
"diesel_migrations",
"diesel_migrations/migrations_internals",
"diesel_migrations/migrations_macros",
"diesel_dynamic_schema",
"diesel_table_macro_syntax",
"dsl_auto_type",
"examples/mysql/all_about_inserts",
"examples/mysql/getting_started_step_1",
"examples/mysql/getting_started_step_2",
"examples/mysql/getting_started_step_3",
"examples/postgres/advanced-blog-cli",
"examples/postgres/all_about_inserts",
"examples/postgres/all_about_updates",
"examples/postgres/getting_started_step_1",
"examples/postgres/getting_started_step_2",
"examples/postgres/getting_started_step_3",
"examples/postgres/custom_arrays",
"examples/postgres/custom_types",
"examples/postgres/composite_types",
"examples/postgres/relations",
"examples/sqlite/all_about_inserts",
"examples/sqlite/getting_started_step_1",
"examples/sqlite/getting_started_step_2",
"examples/sqlite/getting_started_step_3",
"examples/sqlite/relations", "xtask",
]
[workspace.package]
rust-version = "1.78.0"
include = ["src/**/*.rs", "tests/**/*.rs", "LICENSE-*", "README.md"]
edition = "2021"
[workspace.dependencies]
libsqlite3-sys = "0.30.1"
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.21.1"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
# Which actions to run on pull requests
pr-run-mode = "plan"
# Whether cargo-dist should create a Github Release or use an existing draft
create-release = false
# Whether to install an updater program
install-updater = false
# Path that installers should place binaries in
install-path = "CARGO_HOME"
[workspace.metadata.dist.github-custom-runners]
aarch64-apple-darwin = "macos-14"
x86_64-unknown-linux-gnu = "ubuntu-22.04"
[profile.dev.package.insta]
opt-level = 3
[profile.dev.package.similar]
opt-level = 3
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"