Skip to content

Commit b8ba53e

Browse files
committed
update API spec; bump version to v0.2.0
1 parent 5de8eee commit b8ba53e

File tree

18 files changed

+45414
-24670
lines changed

18 files changed

+45414
-24670
lines changed

Cargo.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dropbox-sdk"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
authors = ["Bill Fraser <wfraser@dropbox.com>"]
55
edition = "2018"
66
description = "Rust bindings to the Dropbox APIv2, generated by Stone from the official spec."
@@ -32,17 +32,20 @@ required-features = ["dbx_files", "hyper_client"]
3232
[features]
3333
# dbx_* features each correspond to one Stone spec file.
3434
# The lists of dependencies must be kept in sync with the 'import' statements in them.
35+
dbx_account = ["dbx_common"]
3536
dbx_async = []
3637
dbx_auth = ["dbx_common"]
38+
dbx_check = []
3739
dbx_common = []
3840
dbx_contacts = ["dbx_common"]
3941
dbx_file_properties = []
4042
dbx_file_requests = ["dbx_common", "dbx_files"]
4143
dbx_files = ["dbx_async", "dbx_auth", "dbx_common", "dbx_file_properties", "dbx_users_common"]
4244
dbx_paper = ["dbx_common", "dbx_sharing"]
45+
dbx_secondary_emails = ["dbx_common"]
4346
dbx_seen_state = []
4447
dbx_sharing = ["dbx_async", "dbx_common", "dbx_files", "dbx_seen_state", "dbx_team_common", "dbx_users", "dbx_users_common"]
45-
dbx_team = ["dbx_async", "dbx_common", "dbx_file_properties", "dbx_files", "dbx_team_common", "dbx_team_policies", "dbx_users", "dbx_users_common"]
48+
dbx_team = ["dbx_account", "dbx_async", "dbx_common", "dbx_file_properties", "dbx_files", "dbx_secondary_emails", "dbx_team_common", "dbx_team_policies", "dbx_users", "dbx_users_common"]
4649
dbx_team_common = ["dbx_common"]
4750
dbx_team_log = ["dbx_async", "dbx_common", "dbx_file_requests", "dbx_files", "dbx_sharing", "dbx_team", "dbx_team_common", "dbx_team_policies", "dbx_users_common"]
4851
dbx_team_policies = []
@@ -53,14 +56,17 @@ hyper_client = ["hyper", "hyper-native-tls"]
5356

5457
# Include everything by default.
5558
default = [
59+
"dbx_account",
5660
"dbx_async",
5761
"dbx_auth",
62+
"dbx_check",
5863
"dbx_common",
5964
"dbx_contacts",
6065
"dbx_file_properties",
6166
"dbx_file_requests",
6267
"dbx_files",
6368
"dbx_paper",
69+
"dbx_secondary_emails",
6470
"dbx_seen_state",
6571
"dbx_sharing",
6672
"dbx_team",

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ However, that said,
2222
* The SDK is usable!
2323
* We are happy to get feedback and/or pull requests from the community!
2424

25+
## A Note on Semver
26+
27+
This SDK is kept in sync with the current official API spec. While this spec is
28+
generally changed in a backwards-compatible way, sometimes significant feature
29+
additions are made, and sometimes backwards-incompatible changes may be
30+
introduced. This crate will have its minor version bumped each time the spec is
31+
updated. Users are encouraged to inspect the changes before updating the crate
32+
version targeted, which is most easily done by looking at what revision the
33+
`dropbox-api-spec` submodule is pinned to.
34+
2535
## HTTP Client
2636

2737
To actually use the API calls, you need a HTTP client -- all functions take a

namespaces.dot

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
digraph deps {
2+
account -> { common };
23
async;
34
auth -> { common };
5+
check;
46
common;
57
contacts -> { common };
68
file_properties;
79
file_requests -> { common files };
810
files -> { async auth common file_properties users_common };
911
paper -> { common sharing };
12+
secondary_emails -> { common };
1013
seen_state;
1114
sharing -> { async common files seen_state team_common users users_common };
12-
team -> { async common file_properties files team_common team_policies users users_common };
15+
team -> { account async common file_properties files secondary_emails team_common team_policies users users_common };
1316
team_common -> { common };
1417
team_log -> { async common file_requests files sharing team team_common team_policies users_common };
1518
team_policies;

namespaces.dot.png

24.3 KB
Loading

0 commit comments

Comments
 (0)