-
Announcing Nickel 1.0, a configuration language written in Rust코딩Coding/★★Rust★★최신동향★및관련글 2023. 6. 9. 21:53728x90
Announcing Nickel 1.0, a configuration language written in (and usable from) Rust
https://www.reddit.com/r/rust/comments/144b9hf/announcing_nickel_10_a_configuration_language/?utm_source=share&utm_medium=ios_app&utm_name=ioscss&utm_content=2&utm_term=1
Announcing Nickel 1.0, a configuration language written in (and usable from) Rust
Dear Rust community, I'm happy to [announce the release of Nickel 1.0](https://www.tweag.io/blog/2023-05-17-nickel-1.0-release/), a configuration language developed in Rust. It's somehow a generic but domain specific language, if that makes sense, in that Nickel is specialized in generating configuration (e.g. evaluating to YAML or JSON, typically), but is more expressive than pure serialization formats to make the configuration reusable, maintainable and more correct (opt-in static typing and runtime contracts in particular). It cat target any kind of configuration, but the typical use-case would be fairly large and complex one, like infrastructure-as-code deployments or build systems.
Beside being a Rust codebase, I thought it could be interesting to the community because it's particularly easy to use as *a native configuration language* for a Rust app, thanks to `serde`. See for example the tests of the `deserializer` module, which deserialize Rust structs and enums directly from a Nickel source : [https://github.com/tweag/nickel/blob/dc6804acd123257460eef60d615da2eb0a8aca78/src/deserialize.rs#L584](https://github.com/tweag/nickel/blob/dc6804acd123257460eef60d615da2eb0a8aca78/src/deserialize.rs#L584)
Happy to receive any constructive feedbacks and opinions.반응형'코딩Coding > ★★Rust★★최신동향★및관련글' 카테고리의 다른 글
Keeping Rust projects secure with cargo-audit 0.18: performance, compatibility and security improvements (0) 2023.09.07 Rust 프로그래밍 언어의 인기가 높아지고 있습니다. (0) 2023.09.01 러스트 네덜란드 개발자 그룹 (0) 2023.08.09 Introducing `cxx-async` | Patrick Walton (0) 2023.06.23 러스트, 거버넌스 문제로 또 불협화음 (0) 2023.06.06 Rust is being destroyed from the inside (0) 2023.06.06 MS는 C++ 대신 36,000줄의 Rust 코드로 Windows 커널을 다시 작성합니다 (0) 2023.06.04 RustNL 2023 Conference(실시간 스트리밍 시작일: 2023. 5. 10 (0) 2023.05.23