Skip to content

Commit

Permalink
features
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Sep 5, 2024
1 parent 8035fab commit 3d67094
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions provider/adapters/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ writeable = { path = "../../utils/writeable" }

[features]
std = []
export = ["icu_provider/export", "std"]
6 changes: 3 additions & 3 deletions provider/adapters/src/fork/by_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use super::ForkByErrorPredicate;
use alloc::{collections::BTreeSet, vec::Vec};
#[cfg(feature = "std")]
#[cfg(feature = "export")]
use icu_provider::export::ExportableProvider;
use icu_provider::prelude::*;

Expand Down Expand Up @@ -161,7 +161,7 @@ where
}
}

#[cfg(feature = "std")]
#[cfg(feature = "export")]
impl<P0, P1, F> ExportableProvider for ForkByErrorProvider<P0, P1, F>
where
P0: ExportableProvider,
Expand Down Expand Up @@ -351,7 +351,7 @@ where
}
}

#[cfg(feature = "std")]
#[cfg(feature = "export")]
impl<P, F> ExportableProvider for MultiForkByErrorProvider<P, F>
where
P: ExportableProvider,
Expand Down
2 changes: 1 addition & 1 deletion tools/md-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ icu = { workspace = true, features = ["compiled_data", "serde"] }
icu_provider_export = { workspace = true, features = ["blob_exporter"] }
icu_provider_source = { workspace = true, features = ["networking"] }
icu_provider = { workspace = true, features = ["deserialize_json"] }
icu_provider_adapters = { workspace = true, features = ["serde", "std"] }
icu_provider_adapters = { workspace = true, features = ["serde", "export"] }
icu_provider_blob = { workspace = true }
icu_provider_fs = { workspace = true }

Expand Down

0 comments on commit 3d67094

Please sign in to comment.