rust-crates Questions

2

Solved

Is it acceptable to register generally useful (utilities / applications) on crates.io? The FAQ doesn't address this and from browsing, there are examples of end-user applications (mostly command l...
Nannana asked 27/10, 2016 at 5:24

1

Solved

I have a rust project where i include the mysql-crate dependency and i want to have it os independent. So i tried: Cargo.toml [package] name = "test" version = "0.1.0" authors = ["daMaex"] [depe...

1

Solved

I'm trying to install a Rust crate on my system (Arch Linux) using Cargo. I can search for crates and find what I need, for example: $ cargo search curl | head -n3 Updating registry `https://git...
Lohr asked 8/6, 2016 at 15:36

1

Solved

There may not be a good answer for this question, but I have code that I would like to share between two different Rust projects WITHOUT publishing the crate to crates.io. The code is proprietary ...
Colleen asked 2/6, 2016 at 3:11

3

When developing a library in node, if you wish to develop against a library that only exists locally, before you npm publish, you can use npm link /path/to/other/node_library. What is the equivale...
Shakitashako asked 4/8, 2014 at 13:37

2

Solved

I'm trying to write docs for a project I'm writing in Rust. One of the docs requires using regex::Regex. Here's the doc I'm trying to write: /// Return a list of the offsets of the tokens in `s`, ...
Tallinn asked 19/12, 2015 at 15:36

1

Solved

I'm trying to use BigUints from the num crate in Rust, and I'm using this code to import them: extern crate num; use num::bigint::BigUint; However, it returns the following error when I compile...
Namnama asked 22/3, 2015 at 0:24

1

When running cargo build: error: multiple matching crates for `url` It then lists the candidates: ./target/deps/liburl-11a95471847b9e04.rlib /usr/local/lib/rustlib/x86_64-unknown-linux-gnu/lib...
Venue asked 1/8, 2014 at 6:31

1

Solved

I'm struggling to make macros from my rust lib available to other rust projects. Here's an example of how I'm trying to get this work at the moment. lib.rs: #![crate_name = "dsp"] #![feature(mac...
Asafetida asked 15/7, 2014 at 3:23

1

Solved

All examples that I found create a lib.rs and then inside that file create mod foo;, mod bar; for each file foo.rs, bar.rs and so on. Basically what I want is to to split my crate into multiple fi...
Teevens asked 5/6, 2014 at 22:1

© 2022 - 2025 — McMap. All rights reserved.