Comments (6)
Based on a cursory look at the code, the substitution would be easy. Are you in favor, maintainer?
from acme-client.
@sanmai-NL of course I am in favor, but I haven't much free time to work on this issue.
from acme-client.
Hi.
I've tried to do the migration. This is actually not so simple as it seems since serde is using more String
s instead of &str
. It's still doable at the price of some clones/unwraps that will probably change API a bit in some places.
Here's the patch with Directory migrated to serde_json::Value
instead of rustc_serialize::Json
:
https://github.com/Albibek/letsencrypt-rs/commit/61ba44c4a404fa3845e57a6b0474cf2127e6e890
Let me know if you are interested, I'll finish the migration. and submit a PR. Also let me know if you want to stick to some really fixed serde semver including minors - I'll change the versions as well.
Cheerz.
from acme-client.
The equivalent of rustc_serialize::json::Json::as_string
is serde_json::Value::as_str
. Was that the only String vs &str issue you saw?
from acme-client.
Oh my bad. I was wrong about this function, thinking it should do a full serialize. I will try again. Anyways, my question about you being interested is still actual :).
from acme-client.
@Albibek thanks for working on this issue. Yes, we still want to drop rustc-serialize and use serde on this crate π
I believe we can achieve this without changing public API and unwraps. None of the public API functions are using a rustc-serialize type.
from acme-client.
Related Issues (18)
- Cross-compiled, now runtime error βThe OpenSSL library reported an errorβ (target `x86_64-unknown-linux-musl`) HOT 4
- explicit options to install cert, intermediate and chain
- Broken docs link on crates.io HOT 1
- use SAN domains when signing CSRs
- Please rename project as it violates ISRG trademark
- acme_client api: allow accessing the key, certificates, chains directly
- Released binary seems to use non-standard hardcoded OpenSSL paths HOT 1
- Upgrade to latest hyper/tokio HOT 1
- Question about renewing HOT 2
- Wrong challenge tested
- make it possible to explicitly write the chain (and certificate) HOT 1
- typo?
- Does not work with modern openssl versions
- Put a note in README that this library uses deprecated protocol version and won't work HOT 1
- deprecated dependency breaks build HOT 3
- Explicit support for multiple domains HOT 1
- openssl upgrade HOT 5
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 acme-client.