rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Question] import third-party crates in kernel modules
@ 2021-04-26 17:01 Hanqing Zhao
  2021-04-26 18:32 ` Miguel Ojeda
  0 siblings, 1 reply; 9+ messages in thread
From: Hanqing Zhao @ 2021-04-26 17:01 UTC (permalink / raw)
  To: rust-for-linux

Hi, Rust-for-Linux community,

Is it possible to import third-party crates in the kernel modules?
(e.g., crates on crates.io)

Previously, in the linux-kernel-module-rust project,
we can add dependencies in the cargo.toml.
(https://github.com/fishinabarrel/linux-kernel-module-rust/blob/master/hello-world/Cargo.toml)

However, I noticed that all of the cargo's infrastructures have been
removed in the new rust-linux project.

Any suggestions to import crates while writing kernel modules?  TIA.

Best,
Hanqing Zhao
Georgia Tech

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-04-27  1:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-26 17:01 [Question] import third-party crates in kernel modules Hanqing Zhao
2021-04-26 18:32 ` Miguel Ojeda
2021-04-26 19:10   ` Hanqing Zhao
2021-04-26 20:20     ` Miguel Ojeda
2021-04-26 20:41       ` Hanqing Zhao
2021-04-26 23:16         ` Miguel Ojeda
2021-04-27  1:28         ` Wedson Almeida Filho
2021-04-26 23:54       ` Kajetan Puchalski
2021-04-27  0:36         ` Miguel Ojeda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).