Skip to content

Commit 51c55e9

Browse files
committed
chore: initialize
Signed-off-by: tison <wander4096@gmail.com>
1 parent c4eaa37 commit 51c55e9

6 files changed

Lines changed: 21 additions & 19 deletions

File tree

.github/semantic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ types:
3939
- chore
4040
- revert
4141

42-
targetUrl: https://github.com/fast/template/blob/main/.github/semantic.yml
42+
targetUrl: https://github.com/fast/visitor/blob/main/.github/semantic.yml

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
# limitations under the License.
1414

1515
[workspace]
16-
members = ["template", "xtask"]
16+
members = ["visitor", "xtask"]
1717
resolver = "2"
1818

1919
[workspace.package]
2020
edition = "2024"
21-
homepage = "https://github.com/fast/template"
21+
homepage = "https://github.com/fast/visitor"
2222
license = "Apache-2.0"
2323
readme = "README.md"
24-
repository = "https://github.com/fast/template"
24+
repository = "https://github.com/fast/visitor"
2525
rust-version = "1.85.0"
2626

2727
[workspace.lints.rust]

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,30 @@
1-
# Fast template for developing a new Rust project
1+
# Visitor Pattern in Rust
22

33
[![Crates.io][crates-badge]][crates-url]
44
[![Documentation][docs-badge]][docs-url]
55
[![MSRV 1.85][msrv-badge]](https://www.whatrustisit.com)
66
[![Apache 2.0 licensed][license-badge]][license-url]
77
[![Build Status][actions-badge]][actions-url]
88

9-
[crates-badge]: https://img.shields.io/crates/v/template.svg
10-
[crates-url]: https://crates.io/crates/template
11-
[docs-badge]: https://docs.rs/template/badge.svg
9+
[crates-badge]: https://img.shields.io/crates/v/visitor.svg
10+
[crates-url]: https://crates.io/crates/visitor
11+
[docs-badge]: https://docs.rs/visitor/badge.svg
1212
[msrv-badge]: https://img.shields.io/badge/MSRV-1.85-green?logo=rust
13-
[docs-url]: https://docs.rs/template
14-
[license-badge]: https://img.shields.io/crates/l/template
13+
[docs-url]: https://docs.rs/visitor
14+
[license-badge]: https://img.shields.io/crates/l/visitor
1515
[license-url]: LICENSE
16-
[actions-badge]: https://github.com/fast/template/workflows/CI/badge.svg
17-
[actions-url]:https://github.com/fast/template/actions?query=workflow%3ACI
16+
[actions-badge]: https://github.com/fast/visitor/workflows/CI/badge.svg
17+
[actions-url]:https://github.com/fast/visitor/actions?query=workflow%3ACI
1818

19-
Use this repository as a GitHub template to quickly start a new Rust project.
19+
## Overview
20+
21+
This crate provides traits and proc macros to implement the visitor pattern for arbitrary data structures. This pattern is particularly useful when dealing with complex nested data structures, abstract trees and hierarchies of all kinds.
2022

2123
## Minimum Rust version policy
2224

2325
This crate is built against the latest stable release, and its minimum supported rustc version is 1.85.0.
2426

25-
The policy is that the minimum Rust version required to use this crate can be increased in minor version updates. For example, if Template 1.0 requires Rust 1.60.0, then Template 1.0.z for all values of z will also require Rust 1.60.0 or newer. However, Template 1.y for y > 0 may require a newer minimum version of Rust.
27+
The policy is that the minimum Rust version required to use this crate can be increased in minor version updates. For example, if Visitor 1.0 requires Rust 1.60.0, then Visitor 1.0.z for all values of z will also require Rust 1.60.0 or newer. However, Visitor 1.y for y > 0 may require a newer minimum version of Rust.
2628

2729
## License
2830

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
[package]
16-
name = "template"
16+
name = "visitor"
1717
version = "0.1.0"
1818

1919
edition.workspace = true
File renamed without changes.

0 commit comments

Comments
 (0)