Git Product home page Git Product logo

Comments (3)

mssun avatar mssun commented on June 5, 2024

OK, let's have our own configuration.

I'm happy with all default config for now (https://github.com/rust-lang-nursery/rustfmt/blob/master/Configurations.md), but please define the rustfmt.toml file to specify your preference.

Because all the utilities are included dynamically using macros, cargo fmt only formats the stuff like src/setup.rs and src/util.rs.

Do you mean that we should specify files we'd like to format? Like cargo fmt -- `find libmesabox -iname "*.rs"` ?

from mesabox.

Arcterus avatar Arcterus commented on June 5, 2024

Yeah, we need to do something like that probably. I'm not sure if running cargo fmt will work or if we need to use rustfmt directly.

from mesabox.

mssun avatar mssun commented on June 5, 2024

Fixed in: 679459a

We don't enforce fmt and clippy for now, but it will be tested in the CI. Once we have a clear style, fmt is necessary for collaboration.

from mesabox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.