Comments (9)
yes, it only works with the main branch.
but if you use cargo add viz
in your own project. it faild. looking forward to v0.5.x release
from viz.
See specifying-dependencies-from-git-repositories
[dependencies]
viz = { git = "https://github.com/viz-rs/viz.git", branch = "main" }
or
[dependencies]
viz = { git = "https://github.com/viz-rs/viz.git", rev = "0a0a7f7" }
from viz.
if let Err(err) = Server::bind(&addr).serve(ServiceMaker::from(app)).await {
println!("{err}");
}
I also found this works, is it equal to the implementation above?
from viz.
I also found this works, is it equal to the implementation above?
No, viz::serve
is not landed in v0.4.x
branch.
v0.5
will be released this week, so we can use that.
from viz.
is v0.4.x
can not use State? i test some state,like
missing state type `alloc::sync::Arc<std::sync::mutex::Mutex<alloc::vec::Vec<leaf::router::Todo>>>`
missing state type `sea_orm::database::db_connection::DatabaseConnection`
from viz.
The sea_orm
example was added into main
, and the main
branch is v0.5.x
.
I checked it. The todos
example works ok.
git switch 0.4.x
cd examples
cargo run --bin todos -- --nocapture
BTW, it also works fine in main
branch.
from viz.
Maybe you need to add those, add an alias.
viz/examples/routing/todos/src/main.rs
Lines 17 to 18 in 3d1e46d
from viz.
@fundon How can I use 0.5.x in my project now without cloning the entire project? I can't wait for the release of .5.x.
from viz.
0.5.0 is released.
from viz.
Related Issues (20)
- [BUG]Error while serving HTTP connection: early eof HOT 7
- A new Trait for payload with limit size
- Graceful shutdown HOT 3
- Basic auth and Bearer auth Middleware
- JWT Middleware
- Secure headers Middleware
- socketioxide
- Remove Sync bounds on Handler trait
- An adapter for tower Service HOT 1
- Compilation error for `viz-core` on v0.7.0 HOT 2
- smol runtime
- Types guarantees HOT 1
- Webtransport HOT 2
- Dioxus HOT 2
- Cookie
- Graceful shutdown hangs when I use a Chromium based browser HOT 4
- Install according to viz.rs document, but it can't run hello world. HOT 2
- Upgrade to hyper-util v0.1.5
- I modified the htmlx example and added CSS HOT 2
- 功能相关疑问 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viz.