[package] name = "nanokit" version = "0.2.0" edition = "2021" description = "A collection of tiny, reusable utility methods that reduce code size and improve performance." repository = "https://github.com/Sewer56/nanokit-rs" license-file = "LICENSE" readme = "README.MD" include = ["src/**/*"] [features] default = ["std"] std = [] # Use this for measuring code size c-exports = [] # Prevents inlining of concat functions. no-inline-concat = [] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dev-dependencies] criterion = "0.5.1" rstest = "0.23.0" [target.'cfg(unix)'.dev-dependencies] pprof = { version = "0.12", features = ["flamegraph", "criterion"] } # Profile Build [profile.profile] inherits = "release" debug = true codegen-units = 1 lto = true strip = false # No stripping!! # Optimized Release Build [profile.release] codegen-units = 1 lto = true strip = true # Automatically strip symbols from the binary. panic = "abort" # Benchmark Stuff [[bench]] name = "my_benchmark" path = "benches/my_benchmark/main.rs" harness = false