Files
heartwood/Cargo.toml
T
Lars Wirzenius 105b65c2ac workspace: set rust-version (MSRV)
This declares the minimum supported Rust version, independently of the
`rust-toolchain.toml` file, which specifies the Rust version and
toolchain components the crate/workspace should be built with. The
MSRV affects other crates that depend on anything in this workspace,
but the toolchain file does not seem to affect them. This means the
MSRV is useful for those who build or develop dependents.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2025-05-16 13:49:38 +02:00

53 lines
1.1 KiB
TOML

[workspace]
members = [
"radicle",
"radicle-cob",
"radicle-cli",
"radicle-cli-test",
"radicle-crdt",
"radicle-crypto",
"radicle-dag",
"radicle-fetch",
"radicle-node",
"radicle-remote-helper",
"radicle-ssh",
"radicle-tools",
"radicle-signals",
"radicle-systemd",
]
default-members = [
"radicle",
"radicle-cli",
"radicle-cob",
"radicle-crdt",
"radicle-crypto",
"radicle-node",
"radicle-ssh",
"radicle-remote-helper",
"radicle-term",
"radicle-signals",
"radicle-systemd",
]
resolver = "2"
[workspace.package]
version = "0.9.0"
# Even though some crates in this workspace may build fine
# on a lower version, we set it here and inherit in all
# crates. This is to simplify maintenance. As of 2025-05-13
# we do not have the capacity to think about `rust-version`
# *per crate*. If anyone ever wants to set it to a different
# value per crate, this is of course possible. We're waiting
# for the day it makes a difference…
rust-version = "1.81.0"
[workspace.lints]
clippy.type_complexity = "allow"
clippy.enum_variant_names = "allow"
[profile.container]
inherits = "release"
debug = true
incremental = false