Skip to content

Commit

Permalink
chore(crate): fix all feature flag compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mendez committed Sep 23, 2024
1 parent 35e3208 commit bb8493b
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 12 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_examples"
version = "2.6.14"
version = "2.6.15"
authors = [
"j-mendez <[email protected]>",
]
Expand Down
2 changes: 1 addition & 1 deletion spider/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider"
version = "2.6.14"
version = "2.6.15"
authors = [
"j-mendez <[email protected]>"
]
Expand Down
7 changes: 7 additions & 0 deletions spider/src/utils/interner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ type Backend = string_interner::backend::BufferBackend<SymbolUsize>;
))]
type Backend = string_interner::backend::BucketBackend<SymbolUsize>;

#[cfg(all(
feature = "string_interner_bucket_backend",
feature = "string_interner_string_backend",
feature = "string_interner_buffer_backend"
))]
type Backend = string_interner::backend::BucketBackend<SymbolUsize>;

/// The links visited bucket store.
#[derive(Debug, Clone)]
pub struct ListBucket<K = CaseInsensitiveString>
Expand Down
2 changes: 1 addition & 1 deletion spider_cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_cli"
version = "2.6.14"
version = "2.6.15"
authors = [
"j-mendez <[email protected]>"
]
Expand Down
2 changes: 1 addition & 1 deletion spider_transformations/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_transformations"
version = "2.6.14"
version = "2.6.15"
authors = [
"j-mendez <[email protected]>"
]
Expand Down
2 changes: 1 addition & 1 deletion spider_utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_utils"
version = "2.6.14"
version = "2.6.15"
authors = [
"j-mendez <[email protected]>"
]
Expand Down
2 changes: 1 addition & 1 deletion spider_worker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spider_worker"
version = "2.6.14"
version = "2.6.15"
authors = [
"j-mendez <[email protected]>"
]
Expand Down

0 comments on commit bb8493b

Please sign in to comment.