Initialize Rust project with essential configuration and dependencies.
This commit is contained in:
1 parent
5ad5bfba71
commit
2833f1e1a8
5 files changed
+50
No files matched your search
@@ -0,0 +1,5 @@
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
linker = "clang"
|
||||
rustflags = [
|
||||
"-C", "link-arg=-fuse-ld=mold",
|
||||
]
|
||||
@@ -1,10 +1,14 @@
|
||||
.*
|
||||
!.git*
|
||||
!.cargo*
|
||||
|
||||
*.md
|
||||
!README.md
|
||||
|
||||
|
||||
debug/
|
||||
target/
|
||||
|
||||
**/*.rs.bk
|
||||
*.pdb
|
||||
*.lock
|
||||
+38
@@ -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"
|
||||
@@ -0,0 +1,3 @@
|
||||
[toolchain]
|
||||
channel = "stable"
|
||||
components = ["clippy", "rustfmt"]
|
||||
Whitespace-only changes.
Reference in new issue
Block a user