Fix cfg for external crate

This commit is contained in:
Martin Berg Alstad 2024-07-21 19:43:58 +02:00
parent 8cbb2757a5
commit 15de73dad4
3 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@ -303,7 +303,7 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
[[package]] [[package]]
name = "lib" name = "lib"
version = "1.4.1-hotfix" version = "1.4.1-hotfix-hotfix"
dependencies = [ dependencies = [
"axum", "axum",
"into-response-derive", "into-response-derive",

View File

@ -9,7 +9,7 @@ homepage = "emberal.github.io"
[package] [package]
name = "lib" name = "lib"
version = "1.4.1-hotfix" version = "1.4.1-hotfix-hotfix"
description = "A library with utilities and helper fuctions." description = "A library with utilities and helper fuctions."
edition = { workspace = true } edition = { workspace = true }
rust-version = { workspace = true } rust-version = { workspace = true }

View File

@ -2,8 +2,8 @@
#[cfg(all(feature = "derive", feature = "serde"))] #[cfg(all(feature = "derive", feature = "serde"))]
pub extern crate into_response_derive; pub extern crate into_response_derive;
#[cfg(feature = "load-files")] #[cfg(feature = "read-files")]
pub extern crate load_files; pub extern crate read_files;
#[cfg(feature = "axum")] #[cfg(feature = "axum")]
pub mod axum; pub mod axum;