Rust: Starting a Workspace

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ต.ค. 2024
  • Make a workspace to create multiple Rust crates that share code between them or focus on creating a mono-repo of Rust packages. The crate can depend on one another or be entirely separate from each other.

ความคิดเห็น • 16

  • @miles6875
    @miles6875 ปีที่แล้ว +8

    Your rust playlist is incredibly helpful. No question that those views and subscribers will keep climbing, thank you

  • @ebanat77781
    @ebanat77781 7 หลายเดือนก่อน +2

    Please, continue your lessons, it's very helpful

  • @dumong7761
    @dumong7761 ปีที่แล้ว +1

    Appreciate a lot for your videos Ricky. Very kindly explained all the main concepts with examples :) Cheers

  • @danraine9009
    @danraine9009 ปีที่แล้ว +2

    Perfect didn't have a label for this idea but I need this for my projects very soon! appreciate this a lot.

  • @chillydill4703
    @chillydill4703 3 หลายเดือนก่อน

    So basically, this is somewhat similar to a solution in Visual Studio in C# for example?

  • @wesleyoliveira6570
    @wesleyoliveira6570 ปีที่แล้ว

    Thank you! I was wondering how to do this.

  • @bibliusz777
    @bibliusz777 ปีที่แล้ว

    The performance dropped when I separated my library for number traits and linear algebra from the executable (300ms vs 110ms), but I managed to get it to 140ms by inlining scaling trait implementation for builtin types.

  • @RockLloque
    @RockLloque ปีที่แล้ว +2

    Any reason why you do not create the project with cargo new?

    • @TheDevMethod
      @TheDevMethod  ปีที่แล้ว +2

      The workspace I created was meant to be bare. I wanted to focus on simplicity of workspaces.

    • @bsd0daemon
      @bsd0daemon ปีที่แล้ว +3

      @@TheDevMethod as simple as it is to create a workspace, I do wish they added it to cargo as a subcommand. I always forget the structure of the workspace/members section (eg: I accidentally add [workspaces] instead of [workspace]). Guess I could just make an editor template, but still...

  • @736939
    @736939 ปีที่แล้ว +1

    Hey, where are you? We miss you.

    • @TheDevMethod
      @TheDevMethod  11 หลายเดือนก่อน

      Thanks! I miss you all, too.

  • @MateiAndrei94
    @MateiAndrei94 ปีที่แล้ว

    Is this the last video in the series or will there be more ?

    • @TheDevMethod
      @TheDevMethod  11 หลายเดือนก่อน +1

      It's the last one I've done. Are you looking forward a specific topic next?

  • @nithingowda1060
    @nithingowda1060 ปีที่แล้ว +1

    Rust has solved many problems of other languages

  • @yuvrajchhatwani
    @yuvrajchhatwani 8 หลายเดือนก่อน

    I am getting error failed to parse manifest at /home/hp/rust2/Cargo.toml
    Caused by
    Virtual manifest must be configured