[package]
name = "fluidattacks-core"
version = "0.1.5"
edition = "2021"
description = "Fluid Attacks Core Library"
license = "MPL-2.0"
repository = "https://gitlab.com/fluidattacks/universe"
authors = ["Development <development@fluidattacks.com>"]
readme = "README.md"
keywords = ["security", "git", "aws"]
[features]
git = [
"dep:anyhow",
"dep:base64",
"dep:flate2",
"dep:ignore",
"dep:regex",
"dep:reqwest",
"dep:serde",
"dep:serde_json",
"dep:similar",
"dep:tar",
"dep:tempfile",
"dep:tokio",
"dep:tracing",
"dep:url",
"dep:walkdir",
"dep:aws-sdk-sts",
"dep:aws-config",
"dep:uuid",
]
semver = ["dep:serde_json", "dep:tracing"]
[dependencies]
anyhow = { version = "1", optional = true }
base64 = { version = "0.22", optional = true }
flate2 = { version = "1", optional = true }
ignore = { version = "0.4", optional = true }
regex = { version = "1", optional = true }
reqwest = { version = "0.12", default-features = false, features = [
"gzip",
"rustls-tls",
], optional = true }
serde = { version = "1", features = ["derive"], optional = true }
serde_json = { version = "1", optional = true }
similar = { version = "2", optional = true }
tar = { version = "0.4", optional = true }
tempfile = { version = "3", optional = true }
tokio = { version = "1", features = ["full"], optional = true }
tracing = { version = "0.1", optional = true }
url = { version = "2", optional = true }
walkdir = { version = "2", optional = true }
aws-sdk-sts = { version = "1", optional = true }
aws-config = { version = "1", optional = true }
uuid = { version = "1", features = ["v4"], optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["full"] }
tempfile = "3"
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
all = { level = "deny", priority = -2 }
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
dbg_macro = "deny"
expect_used = "deny"
panic = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"