Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. AmarOk (amarok@mastodon.social)'s status on Tuesday, 19-Mar-2019 13:41:55 EDT AmarOk AmarOk

    @isagalaev @schlink just `pub mod foo;`

    In the `Cargo.toml`

    ```
    [lib]
    name = "core"
    ```

    Then in tests/whatever.rs
    ```
    extern crate core;

    #[cfg(test)]
    mod tests_server { /* Your test */ }
    ```

    Unless if you want to test your private stuff, you can add the tests directly in the files.

    In conversation Tuesday, 19-Mar-2019 13:41:55 EDT from mastodon.social permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.