[package] license-files = ["LICENSE-APACHE", "LICENSE-MIT"] extra-sources = [ { number = 1, file = "https://raw.githubusercontent.com/aclysma/profiling/master/LICENSE-MIT#/profiling-LICENSE-MIT", comments = ["License files are not bundled in the crate; tracked upstream:", "https://github.com/aclysma/profiling/issues/93"] }, { number = 2, file = "https://raw.githubusercontent.com/aclysma/profiling/master/LICENSE-APACHE#/profiling-LICENSE-APACHE", comments = [] }, ] [scripts] prep.pre = ["cp %{SOURCE1} LICENSE-MIT", "cp %{SOURCE2} LICENSE-APACHE"] install.post = ["install -m 0644 LICENSE-MIT %{buildroot}/%{crate_instdir}/", "install -m 0644 LICENSE-APACHE %{buildroot}/%{crate_instdir}/"] [features] hide = [ "optick", "profile-with-optick", "profile-with-puffin", "profile-with-superluminal", "profile-with-tracy", "puffin", "superluminal-perf", "tracy-client", ] [tests] run = false comments = [ "dev-deps bincode 1.x (Fedora has 2.x) and tracing-tracy (requires", "tracy-client C++ binding, not in Fedora) are unavailable", ]