Skip to content

Commit

Permalink
fix feature
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed May 14, 2024
1 parent f7412f8 commit ae6f20e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/katana/storage/provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ futures = { workspace = true, optional = true }
starknet = { workspace = true, optional = true }
tokio = { workspace = true, optional = true }

serde_json = { workspace = true, optional = true }

[features]
default = [ "fork", "in-memory" ]
fork = [ "dep:futures", "dep:starknet", "dep:tokio", "in-memory" ]
in-memory = [ ]
test-utils = [ ]
test-utils = [ "dep:serde_json" ]

[dev-dependencies]
katana-core.workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/katana/storage/provider/src/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use crate::{providers::in_memory::InMemoryProvider, traits::block::BlockWriter};
use katana_db::mdbx::{test_utils, DbEnvKind};
use katana_primitives::block::{BlockHash, FinalityStatus};
use katana_primitives::class::CompiledClass;
use katana_primitives::contract::ContractAddress;
use katana_primitives::genesis::allocation::{
DevGenesisAccount, GenesisAccountAlloc, GenesisAllocation,
};
Expand Down

0 comments on commit ae6f20e

Please sign in to comment.