Skip to main content

tool_versions/
lib.rs

1// Copyright (c) 2025-2026 Michael S. Klishin and Contributors
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9//! tool-versions - Parser and manipulation library for .tool-versions files
10//!
11//! This crate provides functionality to parse, modify, and serialize
12//! `.tool-versions` files used by asdf and compatible version managers.
13
14pub mod errors;
15pub mod tool_versions;
16
17pub use errors::Error;
18pub use tool_versions::{ToolEntry, ToolVersions};
19
20pub type Result<T> = std::result::Result<T, Error>;