Re:Rocket v0.4: Typed URIs, Database Support, Revamped Queries
by steveklabnik on Sunday December 09, 2018 @07:57AM
(#18640653)
Tide is pretty expressly being built as a collection of smaller packages; I would expect it to have far more than Rocket.
Re:Rocket v0.4: Typed URIs, Database Support, Revamped Queries
by jake_the_third on Sunday December 09, 2018 @07:24AM
(#18640543)
>166
Yikes!
Does anyone know where I can get an overview of the entirety of rocket's dependency graph. Crates.io only lists 11 direct dependencies.
Re:Rocket v0.4: Typed URIs, Database Support, Revamped Queries
by TimNN on Sunday December 09, 2018 @12:21PM
(#18641981)
You can use the `cargo graph` [0] command to get a graphviz view of the dependency graph. The `Cargo.lock` file which Cargo generates should also contain all the information you want in machine-readable form.
Re:Rocket v0.4: Typed URIs, Database Support, Revamped Queries
by IshKebab on Sunday December 09, 2018 @09:50AM
(#18641073)
No, but that would be a good project. Probably the easiest way at the moment is to see the compilation output. E.g. from the CI logs:
Re:Rocket v0.4: Typed URIs, Database Support, Revamped Queries
by ordu on Monday December 10, 2018 @07:24AM
(#18647355)
If you try to compile hello-world in C, you would need a gigantic libc.so, with a lot of stuff you do not need.
These 166 packages you need to compile Rocket, not your hello-world. Rocket itself is much more complex then your hello-world, like libc.so is much more complex than hello-world coded in C, I see nothing wrong with it. Rocket and libc.so were created for solving a wide class of problems and hello-world is just one problem from that class.
I hope the Tide will do.