Skip to main content

span_lang/
lib.rs

1//! # span_lang
2//!
3//! Source positions, spans, and byte-to-line/col mapping for language tooling.
4//!
5//! Scaffold release (v0.1.0). The public surface is being designed across the
6//! 0.x series and frozen at v1.0. See `docs/API.md` and `dev/ROADMAP.md` for the
7//! current phase scope.
8
9#![cfg_attr(not(feature = "std"), no_std)]
10#![cfg_attr(docsrs, feature(doc_cfg))]
11#![deny(missing_docs)]
12#![forbid(unsafe_code)]
13
14#[cfg(test)]
15mod tests {
16    #[test]
17    fn smoke() {
18        assert_eq!(1 + 1, 2);
19    }
20}