Initialize Rust project with essential configuration and dependencies.

This commit is contained in:
Overlord committed 2026-10-18 09:49:15 +02:00
1 parent 5ad5bfba71
commit 2833f1e1a8
5 files changed
+50

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = [
"-C", "link-arg=-fuse-ld=mold",
]
+4
View File
@@ -1,10 +1,14 @@
.* .*
!.git* !.git*
!.cargo*
*.md *.md
!README.md !README.md
debug/ debug/
target/ target/
**/*.rs.bk **/*.rs.bk
*.pdb *.pdb
*.lock
+38
View File
@@ -0,0 +1,38 @@
[package]
name = "framehue"
version = "0.1.0"
edition = "2024"
description = "Small, dependency-free Rust crate for color conversions (RGB, HSV, HSL, linear sRGB), raw frame sampling and smoothing."
license = "AGPL-3.0-or-later"
publish = false
[features]
serde = ["dep:serde"]
[dependencies]
serde = { version = "1", features = ["derive"], optional = true }
[profile.dev]
lto = false
opt-level = 0
codegen-units = 256
incremental = true
debug = true
debug-assertions = true
overflow-checks = true
panic = "unwind"
strip = "none"
[profile.dev.package."*"]
opt-level = 2
[profile.release]
lto = "fat"
opt-level = 3
codegen-units = 1
incremental = false
debug = false
debug-assertions = false
overflow-checks = false
panic = "abort"
strip = "symbols"
+3
View File
@@ -0,0 +1,3 @@
[toolchain]
channel = "stable"
components = ["clippy", "rustfmt"]
View File
Whitespace-only changes.