Skip to content

Commit

Permalink
rm trees
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Nov 20, 2024
1 parent 4367959 commit 43409a4
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 78 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleases](https://github.com/quartiq/miniconf/compare/v0.17.2...HEAD) - DATE

### Added
### Changed

* Optional support for the `trees` crate.
* `KeyLookup`, `Walk`, and `Metadata` layout and behavior

## [0.17.2](https://github.com/quartiq/miniconf/compare/v0.17.1...v0.17.2) - 2024-11-19

Expand Down
2 changes: 0 additions & 2 deletions miniconf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@ itoa = "1.0.4"
serde-json-core = { version = "0.6.0", optional = true }
postcard = { version = "1.0.8", optional = true }
thiserror = { version = "2", default-features = false }
trees = { version = "0.4.2", default-features = false, optional = true }

[features]
default = ["derive"]
json-core = ["dep:serde-json-core"]
postcard = ["dep:postcard"]
derive = ["dep:miniconf_derive", "serde/derive"]
trees = ["dep:trees"]
alloc = []
std = ["alloc"]

Expand Down
3 changes: 0 additions & 3 deletions miniconf/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ pub use leaf::*;
mod walk;
pub use walk::*;

#[cfg(feature = "trees")]
pub mod trees;

#[cfg(feature = "derive")]
pub use miniconf_derive::*;

Expand Down
56 changes: 0 additions & 56 deletions miniconf/src/trees.rs

This file was deleted.

15 changes: 0 additions & 15 deletions miniconf/tests/iter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,3 @@ fn root() {
["/b/0", "/b/1"]
);
}

#[cfg(feature = "trees")]
#[test]
fn tree() {
let mut state = [0; 4];
let t = miniconf::trees::nodes::<Settings, Path<String, '/'>>(&mut state, 0).unwrap();
println!("{t:?}");
}

#[cfg(feature = "trees")]
#[test]
fn tree_all() {
let t = miniconf::trees::all::<Settings>();
println!("{t:?}");
}

0 comments on commit 43409a4

Please sign in to comment.