Comments (2)
it compiles fine when I use the git url in Cargo.toml
[dependencies.static]
git = "https://github.com/iron/static.git"
but not when I use the package from crates.io
[dependencies]
static = "*"
from staticfile.
I've updated the crates.io package as well, so that should work too now.
from staticfile.
Related Issues (20)
- I get trait Handler not in scope for Static??? HOT 2
- Not working with iron 0.6 HOT 2
- Relicense under dual MIT/Apache-2.0 HOT 19
- Router example currently fails HOT 8
- Router and Mount and StaticFile
- Support side-by-side compressed files? HOT 11
- Caching will rarely work on systems that have nanosecond-precision filetimes HOT 7
- Can not handle unicode files
- Static with fallback HOT 5
- Publish 0.3.0
- The `doc_server` example doesn't appear to work and has a few issues. HOT 16
- Correct error codes for unsupported requests. HOT 4
- Split staticfile into two APIs HOT 16
- Documentation broken HOT 5
- A parent directory of the root can be accessed HOT 5
- Support HTTP Byte Serving via Ranges header HOT 10
- README.md example currently fails HOT 15
- Connection closed after 1GB transfer
- Support client caching HOT 3
- CI doesn't run unit tests for the 'cache' feature
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 staticfile.