Skip to main content

syn_locator/
lib.rs

1#![doc = include_str!("../README.md")]
2
3#[cfg(feature = "find")]
4mod find;
5mod loc;
6
7// === Re-exports ===
8
9pub use any_intern::Interned;
10#[cfg(feature = "find")]
11pub use find::*;
12pub use loc::*;
13
14// === Result/Error used within this crate ===
15
16type Result<T> = std::result::Result<T, Error>;
17type Error = Box<dyn std::error::Error + Send + Sync>;
18
19// === Hash Map/Set used within this crate ===
20
21type Map<K, V> = std::collections::HashMap<K, V, fxhash::FxBuildHasher>;