[package]
edition = "2021"
name = "rinkle"
version = "0.1.0"
authors = ["Hanjie Zhang <vainjoker@tuta.io>"]
build = false
exclude = [
".github",
"CHANGELOG.md",
]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A symlink farm manager which takes distinct sets of software and/or data located in separate directories on the filesystem, and makes them appear to be installed in a single directory tree. "
readme = "README.md"
license = "GPL-3.0"
[profile.dist]
lto = "thin"
inherits = "release"
[profile.release]
strip = true
[lib]
name = "rinkle"
path = "src/lib.rs"
[[bin]]
name = "rinkle"
path = "src/main.rs"
[[example]]
name = "healthy"
path = "examples/healthy/main.rs"
[[test]]
name = "healthy_test"
path = "tests/healthy_test.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.thiserror]
version = "1.0"
[dev-dependencies]
[lints.clippy]
as_underscore = "warn"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
deref_by_slicing = "warn"
else_if_without_else = "warn"
empty_line_after_doc_comments = "warn"
equatable_if_let = "warn"
fn_to_numeric_cast_any = "warn"
format_push_string = "warn"
map_err_ignore = "warn"
missing_const_for_fn = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
mixed_read_write_in_expression = "warn"
module_inception = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_raw_strings = "warn"
redundant_type_annotations = "warn"
rest_pat_in_fully_bound_structs = "warn"
string_lit_chars_any = "warn"
string_to_string = "warn"
use_self = "warn"
wildcard_imports = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"