Skip to content

Commit

Permalink
Fill Cargo.toml, README.md, LICENSE
Browse files Browse the repository at this point in the history
  • Loading branch information
lwshang committed Oct 12, 2023
1 parent 1095f3a commit 953f637
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
9 changes: 8 additions & 1 deletion rust/ic_principal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
[package]
name = "ic_principal"
version = "0.1.0"
authors = ["DFINITY Stiftung <[email protected]>"]
edition = "2021"
documentation = "https://docs.rs/ic_principal"
repository="https://github.com/dfinity/candid"
license = "Apache-2.0"
readme = "README.md"
categories = ["data-structures", "no-std"]
keywords = ["internet-computer", "types", "dfinity"]
include = ["src", "Cargo.toml", "LICENSE", "README.md"]

[dependencies]
crc32fast = "1.3.0"
Expand All @@ -11,7 +19,6 @@ sha2 = "0.10.1"
thiserror = "1.0.30"

[dev-dependencies]
serde = { version = "1.0.133", features = ["derive"] }
serde_cbor = "0.11.2"
serde_json = "1.0.74"
serde_test = "1.0.137"
Expand Down
1 change: 1 addition & 0 deletions rust/ic_principal/LICENSE
5 changes: 5 additions & 0 deletions rust/ic_principal/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Internet Computer Principal

`Principal` is the data structure for generic identifiers on the Internet Computer.

Check the [ID encoding specification](https://internetcomputer.org/docs/current/references/id-encoding-spec) for more information.

0 comments on commit 953f637

Please sign in to comment.