global: snapshot

This commit is contained in:
nym21
2025-10-24 12:04:10 +02:00
parent 4f1653b086
commit 1e4acfe124
30 changed files with 200 additions and 139 deletions

View File

@@ -20,14 +20,17 @@ full = [
"fetcher",
"grouper",
"indexer",
"interface",
"iterator",
"logger",
"mcp",
"parser",
"monitor",
"query",
"reader",
"rpc",
"server",
"store",
"types",
"traversable",
"types",
]
binder = ["brk_binder"]
bundler = ["brk_bundler"]
@@ -37,14 +40,17 @@ error = ["brk_error"]
fetcher = ["brk_fetcher"]
grouper = ["brk_grouper"]
indexer = ["brk_indexer"]
interface = ["brk_query"]
iterator = ["brk_iterator"]
logger = ["brk_logger"]
mcp = ["brk_mcp"]
parser = ["brk_reader"]
monitor = ["brk_monitor"]
query = ["brk_query"]
reader = ["brk_reader"]
rpc = ["brk_rpc"]
server = ["brk_server"]
store = ["brk_store"]
types = ["brk_types"]
traversable = ["brk_traversable"]
types = ["brk_types"]
[dependencies]
brk_binder = { workspace = true, optional = true }
@@ -55,14 +61,17 @@ brk_error = { workspace = true, optional = true }
brk_fetcher = { workspace = true, optional = true }
brk_grouper = { workspace = true, optional = true }
brk_indexer = { workspace = true, optional = true }
brk_query = { workspace = true, optional = true }
brk_iterator = { workspace = true, optional = true }
brk_logger = { workspace = true, optional = true }
brk_mcp = { workspace = true, optional = true }
brk_monitor = { workspace = true, optional = true }
brk_query = { workspace = true, optional = true }
brk_reader = { workspace = true, optional = true }
brk_rpc = { workspace = true, optional = true }
brk_server = { workspace = true, optional = true }
brk_store = { workspace = true, optional = true }
brk_types = { workspace = true, optional = true }
brk_traversable = { workspace = true, optional = true }
brk_types = { workspace = true, optional = true }
[package.metadata.docs.rs]
all-features = true

View File

@@ -32,9 +32,9 @@ pub use brk_grouper as grouper;
#[doc(inline)]
pub use brk_indexer as indexer;
#[cfg(feature = "interface")]
#[cfg(feature = "iterator")]
#[doc(inline)]
pub use brk_query as interface;
pub use brk_query as iterator;
#[cfg(feature = "logger")]
#[doc(inline)]
@@ -44,9 +44,21 @@ pub use brk_logger as logger;
#[doc(inline)]
pub use brk_mcp as mcp;
#[cfg(feature = "parser")]
#[cfg(feature = "monitor")]
#[doc(inline)]
pub use brk_reader as parser;
pub use brk_monitor as monitor;
#[cfg(feature = "query")]
#[doc(inline)]
pub use brk_query as query;
#[cfg(feature = "reader")]
#[doc(inline)]
pub use brk_reader as reader;
#[cfg(feature = "rpc")]
#[doc(inline)]
pub use brk_rpc as reader;
#[cfg(feature = "server")]
#[doc(inline)]
@@ -56,10 +68,10 @@ pub use brk_server as server;
#[doc(inline)]
pub use brk_store as store;
#[cfg(feature = "types")]
#[doc(inline)]
pub use brk_types as types;
#[cfg(feature = "traversable")]
#[doc(inline)]
pub use brk_traversable as traversable;
#[cfg(feature = "types")]
#[doc(inline)]
pub use brk_types as types;