[package]
edition = "2024"
name = "flow-toolkit"
version = "0.1.0-rc.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ordinary typed Rust functions and exact native data for Flow Tools, served from a Rust library's one launcher."
readme = false
license = "Apache-2.0"
repository = "https://github.com/buttercrab/flow"
resolver = "2"
[package.metadata.cargo-shear]
ignored-paths = ["tests/fixture/*.rs"]
[lib]
name = "flow_toolkit"
path = "src/lib.rs"
[[bin]]
name = "flow-toolkit-functions-sample"
path = "tests/functions/tool.rs"
test = false
bench = false
doc = false
[[test]]
name = "answers"
path = "tests/answers.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "data"
path = "tests/data.rs"
[[test]]
name = "functions"
path = "tests/functions.rs"
[[test]]
name = "hold"
path = "tests/hold.rs"
[[test]]
name = "inputs"
path = "tests/inputs.rs"
[[test]]
name = "launcher"
path = "tests/launcher.rs"
[[test]]
name = "library_types"
path = "tests/library_types.rs"
[[test]]
name = "new_library"
path = "tests/new_library.rs"
[[test]]
name = "newtypes"
path = "tests/newtypes.rs"
[[test]]
name = "preparation_failures"
path = "tests/preparation_failures.rs"
[[test]]
name = "remote_library"
path = "tests/remote_library.rs"
[[test]]
name = "std_declarations"
path = "tests/std_declarations.rs"
[[test]]
name = "std_paths"
path = "tests/std_paths.rs"
[[test]]
name = "std_urls"
path = "tests/std_urls.rs"
[[test]]
name = "visibility"
path = "tests/visibility.rs"
[dependencies.flow-abi]
version = "0.1.0-rc.5"
[dependencies.flow-span]
version = "0.1.0-rc.5"
[dependencies.flow-start]
version = "0.1.0-rc.5"
[dependencies.flow-tool-protocol]
version = "0.1.0-rc.5"
[dependencies.flow-toolkit-macros]
version = "0.1.0-rc.5"
[dependencies.flow-types]
version = "0.1.0-rc.5"
[dependencies.flow-value]
version = "0.1.0-rc.5"
package = "flow-lang-value"
[dependencies.tokio]
version = "1"
features = [
"rt",
"sync",
"time",
]
[dependencies.toml]
version = "1"
features = [
"std",
"parse",
"serde",
"display",
]
default-features = false
[dev-dependencies.sha2]
version = "0.11"
[dev-dependencies.tempfile]
version = "3"
[target.'cfg(not(target_family = "wasm"))'.dependencies.tokio]
version = "1"
features = ["rt-multi-thread"]
[target."cfg(unix)".dependencies.rustix]
version = "1.1.6"
features = [
"fs",
"stdio",
"process",
"net",
]
[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
as_conversions = "warn"
cast_possible_truncation = "warn"
cast_sign_loss = "warn"
clone_on_ref_ptr = "warn"
dbg_macro = "deny"
enum_glob_use = "allow"
exhaustive_enums = "allow"
expect_used = "allow"
fn_params_excessive_bools = "warn"
missing_assert_message = "warn"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_inception = "allow"
module_name_repetitions = "allow"
multiple_unsafe_ops_per_block = "warn"
must_use_candidate = "allow"
panic_in_result_fn = "warn"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
redundant_clone = "warn"
string_add = "warn"
struct_excessive_bools = "warn"
todo = "deny"
undocumented_unsafe_blocks = "warn"
unwrap_used = "warn"
wildcard_imports = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "warn"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage)"]